restorablePushNamedAndRemoveUntil<T extends Object?> method
- @optionalTypeArgs
- String newRouteName,
- RoutePredicate predicate, {
- Object? arguments,
Push the route with the given name onto the navigator that most tightly
encloses the given context, and then remove all the previous routes until
the predicate
returns true.
Implementation
@optionalTypeArgs
String restorablePushNamedAndRemoveUntil<T extends Object?>(
String newRouteName, RoutePredicate predicate, {Object? arguments}) =>
appState!.restorablePushNamedAndRemoveUntil<T>(newRouteName, predicate,
arguments: arguments);