Jonny Borges
Committed by GitHub

Update routes.dart

@@ -109,12 +109,8 @@ class Get { @@ -109,12 +109,8 @@ class Get {
109 // WidgetBuilder builder, 109 // WidgetBuilder builder,
110 bool useRootNavigator = true, 110 bool useRootNavigator = true,
111 }) { 111 }) {
112 - assert(child == null  
113 - // || builder == null  
114 - ); 112 + assert(child != null);
115 assert(useRootNavigator != null); 113 assert(useRootNavigator != null);
116 - // assert(debugCheckHasMaterialLocalizations(context));  
117 -  
118 final ThemeData theme = 114 final ThemeData theme =
119 Theme.of(Get.key.currentContext, shadowThemeOnly: true); 115 Theme.of(Get.key.currentContext, shadowThemeOnly: true);
120 return getShowGeneralDialog( 116 return getShowGeneralDialog(