Showing
2 changed files
with
2 additions
and
2 deletions
@@ -199,7 +199,7 @@ class GetCupertinoApp extends StatelessWidget { | @@ -199,7 +199,7 @@ class GetCupertinoApp extends StatelessWidget { | ||
199 | Get.routeInformationParser = null; | 199 | Get.routeInformationParser = null; |
200 | }, | 200 | }, |
201 | initState: (i) { | 201 | initState: (i) { |
202 | - Get.engine!.addPostFrameCallback((timeStamp) { | 202 | + Get.engine.addPostFrameCallback((timeStamp) { |
203 | onReady?.call(); | 203 | onReady?.call(); |
204 | }); | 204 | }); |
205 | if (locale != null) Get.locale = locale; | 205 | if (locale != null) Get.locale = locale; |
@@ -215,7 +215,7 @@ class GetMaterialApp extends StatelessWidget { | @@ -215,7 +215,7 @@ class GetMaterialApp extends StatelessWidget { | ||
215 | initState: (i) { | 215 | initState: (i) { |
216 | // Get.routerDelegate = routerDelegate; | 216 | // Get.routerDelegate = routerDelegate; |
217 | // Get.routeInformationParser = routeInformationParser; | 217 | // Get.routeInformationParser = routeInformationParser; |
218 | - Get.engine!.addPostFrameCallback((timeStamp) { | 218 | + Get.engine.addPostFrameCallback((timeStamp) { |
219 | onReady?.call(); | 219 | onReady?.call(); |
220 | }); | 220 | }); |
221 | if (locale != null) Get.locale = locale; | 221 | if (locale != null) Get.locale = locale; |
-
Please register or login to post a comment