Showing
1 changed file
with
0 additions
and
1 deletions
@@ -9,7 +9,6 @@ class MyApp extends StatelessWidget { | @@ -9,7 +9,6 @@ class MyApp extends StatelessWidget { | ||
9 | Widget build(BuildContext context) { | 9 | Widget build(BuildContext context) { |
10 | // In first method you only need to wrap [MaterialApp] with [ScreenUtilInit] and that's it | 10 | // In first method you only need to wrap [MaterialApp] with [ScreenUtilInit] and that's it |
11 | return ScreenUtilInit( | 11 | return ScreenUtilInit( |
12 | - useInheritedMediaQuery: true, | ||
13 | builder: (_, child) { | 12 | builder: (_, child) { |
14 | return MaterialApp( | 13 | return MaterialApp( |
15 | debugShowCheckedModeBanner: false, | 14 | debugShowCheckedModeBanner: false, |
-
Please register or login to post a comment