|
@@ -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 {
|