Explorar el Código

remove nullOk #200

Oliver Nitzschke hace 5 años
padre
commit
7c6d887fd2
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. 1 2
      lib/src/fluro_router.dart

+ 1 - 2
lib/src/fluro_router.dart

@@ -65,7 +65,6 @@ class FluroRouter {
       bool clearStack = false,
       bool clearStack = false,
       bool maintainState = true,
       bool maintainState = true,
       bool rootNavigator = false,
       bool rootNavigator = false,
-      bool nullOk = false,
       TransitionType transition,
       TransitionType transition,
       Duration transitionDuration,
       Duration transitionDuration,
       RouteTransitionsBuilder transitionBuilder,
       RouteTransitionsBuilder transitionBuilder,
@@ -87,7 +86,7 @@ class FluroRouter {
       }
       }
       if (route != null) {
       if (route != null) {
         final navigator =
         final navigator =
-            Navigator.of(context, rootNavigator: rootNavigator, nullOk: nullOk);
+            Navigator.of(context, rootNavigator: rootNavigator);
         if (clearStack) {
         if (clearStack) {
           future = navigator.pushAndRemoveUntil(route, (check) => false);
           future = navigator.pushAndRemoveUntil(route, (check) => false);
         } else {
         } else {