Showing
1 changed file
with
1 additions
and
1 deletions
@@ -102,7 +102,7 @@ class MyApp extends StatelessWidget { | @@ -102,7 +102,7 @@ class MyApp extends StatelessWidget { | ||
102 | return MediaQuery( | 102 | return MediaQuery( |
103 | //Setting font does not change with system font size | 103 | //Setting font does not change with system font size |
104 | data: MediaQuery.of(context).copyWith(textScaleFactor: 1.0), | 104 | data: MediaQuery.of(context).copyWith(textScaleFactor: 1.0), |
105 | - child: widget, | 105 | + child: widget!, |
106 | ); | 106 | ); |
107 | }, | 107 | }, |
108 | theme: ThemeData( | 108 | theme: ThemeData( |
-
Please register or login to post a comment