19
如何使Flutter应用根据不同的屏幕尺寸做出响应?
我面临使其难以根据各种屏幕尺寸做出响应的困难。如何使其具有响应性? @override Widget build(BuildContext context) { return new Container( decoration: new BoxDecoration(color: Colors.white), child: new Stack( children: [ new Padding( padding: const EdgeInsets.only(bottom: 350.0), child: new GradientAppBar(" "), ), new Positioned( bottom: 150.0, height: 260.0, left: 10.0, right: 10.0, child: new Padding( padding: new EdgeInsets.all(10.0), child: new Card( child: new …