auto_size
auto_size copied to clipboard
Flutter Auto Size,全局屏幕适配。问题太多,暂不建议大家使用,谢谢!
  如果屏幕适配方案750/1334 但官方组件与三方组件不一定按照此比例设定
 void main() => runAutoSizeApp(MyApp(), width: 375, height: 667); class Demo extends StatelessWidget { @override Widget build(BuildContext context) { return WebviewScaffold( url: "https://www.baidu.com", initialChild: Center( child: CircularProgressIndicator( strokeWidth:...
RT:像素密度修改后,页面显示会模糊吧
无法添加
错误: flutter packages get Waiting for another flutter command to release the startup lock... Running "flutter packages get" in demo18_auto_size... Could not find a file named "pubspec.yaml" in git://github.com/flutterchina/auto_size.git b593f5167bce84fb3cad5c258477bf3abc1b14eb....
有些控件其实是固定尺寸的
适配不成功
这是ios的适配,适配成功 这是华为p30,适配失败  不都应该是360*640吗,为什么华为的这个最后变成了360.0, 780.0
documentation doesn't have any help tips to know whats this library
使用double.infinity报错
```dart Step 1: dependencies: auto_size: git: url: git://github.com/flutterchina/auto_size.git Step 2: flutter packages get Step 3: import 'package:auto_size/auto_size.dart'; /// 默认设计稿尺寸360*640,单位dp。 void main() => runAutoSizeApp(MyApp()); void main() => runAutoSizeApp(MyApp(), width: designWidth, height:...