Showing
1 changed file
with
1 additions
and
1 deletions
@@ -69,7 +69,7 @@ class MyApp extends StatelessWidget { | @@ -69,7 +69,7 @@ class MyApp extends StatelessWidget { | ||
69 | return MediaQuery( | 69 | return MediaQuery( |
70 | //Setting font does not change with system font size | 70 | //Setting font does not change with system font size |
71 | data: MediaQuery.of(context).copyWith(textScaleFactor: 1.0), | 71 | data: MediaQuery.of(context).copyWith(textScaleFactor: 1.0), |
72 | - child: widget, | 72 | + child: widget!, |
73 | ); | 73 | ); |
74 | }, | 74 | }, |
75 | theme: ThemeData( | 75 | theme: ThemeData( |
-
Please register or login to post a comment