pushAndRemoveUntil<T extends Object?> method
- @optionalTypeArgs
- Route<
T> newRoute, - RoutePredicate predicate
Push the given route onto the navigator, and then remove all the previous
routes until the predicate
returns true.
Implementation
@optionalTypeArgs
Future<T?> pushAndRemoveUntil<T extends Object?>(
Route<T> newRoute, RoutePredicate predicate) =>
v.App.appState!.navigator!.pushAndRemoveUntil<T>(newRoute, predicate);