Committed by
GitHub
Merge pull request #330 from gfb-47/master
Null Operator on Readme
Showing
3 changed files
with
3 additions
and
3 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( |
| @@ -73,7 +73,7 @@ class MyApp extends StatelessWidget { | @@ -73,7 +73,7 @@ class MyApp extends StatelessWidget { | ||
| 73 | return MediaQuery( | 73 | return MediaQuery( |
| 74 | //Setting font does not change with system font size | 74 | //Setting font does not change with system font size |
| 75 | data: MediaQuery.of(context).copyWith(textScaleFactor: 1.0), | 75 | data: MediaQuery.of(context).copyWith(textScaleFactor: 1.0), |
| 76 | - child: widget, | 76 | + child: widget!, |
| 77 | ); | 77 | ); |
| 78 | }, | 78 | }, |
| 79 | theme: ThemeData( | 79 | theme: ThemeData( |
| @@ -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