Showing
1 changed file
with
1 additions
and
1 deletions
@@ -48,7 +48,7 @@ Certifique-se de definir as dimensões na paginal inicial do MaterialApp (ou sej | @@ -48,7 +48,7 @@ Certifique-se de definir as dimensões na paginal inicial do MaterialApp (ou sej | ||
48 | void main() { | 48 | void main() { |
49 | WidgetsFlutterBinding.ensureInitialized(); | 49 | WidgetsFlutterBinding.ensureInitialized(); |
50 | //Set the fit size (fill in the screen size of the device in the design) If the design is based on the size of the iPhone6 (iPhone6 750*1334) | 50 | //Set the fit size (fill in the screen size of the device in the design) If the design is based on the size of the iPhone6 (iPhone6 750*1334) |
51 | - ScreenUtil.init(designSize: Size(750, 1334), allowFontScaling: false); | 51 | + ScreenUtil.init(context, designSize: Size(750, 1334), allowFontScaling: false); |
52 | runApp(MyApp()); | 52 | runApp(MyApp()); |
53 | } | 53 | } |
54 | 54 |
-
Please register or login to post a comment