restorableReplaceRouteBelow<T extends Object?> method
- @optionalTypeArgs
- required Route anchorRoute,
- required RestorableRouteBuilder<
T> newRouteBuilder, - Object? arguments,
Replaces a route on the navigator with a new route. The route to be
replaced is the one below the given anchorRoute
.
Implementation
@optionalTypeArgs
String restorableReplaceRouteBelow<T extends Object?>(
{required Route<dynamic> anchorRoute,
required RestorableRouteBuilder<T> newRouteBuilder,
Object? arguments}) =>
v.App.appState!.navigator!.restorableReplaceRouteBelow<T>(
anchorRoute: anchorRoute,
newRouteBuilder: newRouteBuilder,
arguments: arguments);