goToAndRemoveUntil<T extends Object?> method
Future<T?>
goToAndRemoveUntil<T extends Object?>(
- WidgetBuilder builder,
- RoutePredicate predicate, {
- RouteSettings? settings,
- bool fullscreenDialog = false,
Implementation
Future<T?> goToAndRemoveUntil<T extends Object?>(
WidgetBuilder builder,
RoutePredicate predicate, {
RouteSettings? settings,
bool fullscreenDialog = false,
}) {
return Navigator.pushAndRemoveUntil<T>(
this,
MaterialPageRoute(
builder: builder,
fullscreenDialog: fullscreenDialog,
settings: settings,
),
predicate,
);
}