Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
lizhuoyuan committed Jan 23, 2020
1 parent 965763f commit c9da3a8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions example/lib/main_zh.dart
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ class _MyHomePageState extends State<MyHomePage> {
@override
Widget build(BuildContext context) {
//设置适配尺寸 (填入设计稿中设备的屏幕尺寸) 此处假如设计稿是按iPhone6的尺寸设计的(iPhone6 750*1334)
ScreenUtil.init(context, width: 750, height: 1334, allowFontScaling: false);
ScreenUtil.init(context);

ScreenUtil.init(context, width: 750, height: 1334, allowFontScaling: false);

return ExampleWidget(title: 'FlutterScreenUtil示例');
Expand Down

0 comments on commit c9da3a8

Please sign in to comment.