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