AppNavigationExtension extension

on

Methods

canPop() bool

Available on AppObject, provided by the AppNavigationExtension extension

Whether the navigator can be popped.
finalizeRoute(Route route) → void

Available on AppObject, provided by the AppNavigationExtension extension

Complete the lifecycle for a route that has been popped off the navigator.
maybePop<T extends Object?>([T? result]) Future<bool>

Available on AppObject, provided by the AppNavigationExtension extension

potentially popping the route as a result; returns whether the pop request should be considered handled.
pop<T extends Object?>([T? result]) → void

Available on AppObject, provided by the AppNavigationExtension extension

Pop the top-most route off the navigator.
popAndPushNamed<T extends Object?, TO extends Object?>(String routeName, {TO? result, Object? arguments}) Future<T?>

Available on AppObject, provided by the AppNavigationExtension extension

Pop the current route off the navigator and push a named route in its place.
popUntil(RoutePredicate predicate) → void

Available on AppObject, provided by the AppNavigationExtension extension

Calls pop repeatedly until the predicate returns true.
push<T extends Object?>(Route<T> route) Future<T?>

Available on AppObject, provided by the AppNavigationExtension extension

Push the given route onto the navigator.
pushAndRemoveUntil<T extends Object?>(Route<T> newRoute, RoutePredicate predicate) Future<T?>

Available on AppObject, provided by the AppNavigationExtension extension

Push the given route onto the navigator, and then remove all the previous routes until the predicate returns true.
pushNamed<T extends Object?>(String routeName, {Object? arguments}) Future<T?>

Available on AppObject, provided by the AppNavigationExtension extension

Push a named route onto the navigator.
pushNamedAndRemoveUntil<T extends Object?>(String newRouteName, RoutePredicate predicate, {Object? arguments}) Future<T?>

Available on AppObject, provided by the AppNavigationExtension extension

Push the route with the given name onto the navigator, and then remove all the previous routes until the predicate returns true.
pushReplacement<T extends Object?, TO extends Object?>(Route<T> newRoute, {TO? result}) Future<T?>

Available on AppObject, provided by the AppNavigationExtension extension

Replace the current route of the navigator by pushing the given route and then disposing the previous route once the new route has finished animating in.
pushReplacementNamed<T extends Object?, TO extends Object?>(String routeName, {TO? result, Object? arguments}) Future<T?>

Available on AppObject, provided by the AppNavigationExtension extension

Replace the current route of the navigator by pushing the route named routeName and then disposing the previous route once the new route has finished animating in.
removeRoute(Route route) → void

Available on AppObject, provided by the AppNavigationExtension extension

Immediately remove route from the navigator, and Route.dispose it.
removeRouteBelow(Route anchorRoute) → void

Available on AppObject, provided by the AppNavigationExtension extension

Immediately remove a route from the navigator, and Route.dispose it. The route to be removed is the one below the given anchorRoute.
replace<T extends Object?>({required Route oldRoute, required Route<T> newRoute}) → void

Available on AppObject, provided by the AppNavigationExtension extension

Replaces a route on the navigator that most tightly encloses the given context with a new route.
replaceRouteBelow<T extends Object?>({required Route anchorRoute, required Route<T> newRoute}) → void

Available on AppObject, provided by the AppNavigationExtension extension

Replaces a route on the navigator with a new route. The route to be replaced is the one below the given anchorRoute.
restorablePopAndPushNamed<T extends Object?, TO extends Object?>(String routeName, {TO? result, Object? arguments}) String

Available on AppObject, provided by the AppNavigationExtension extension

Pop the current route off the navigator and push a named route in its place.
restorablePush<T extends Object?>(RestorableRouteBuilder<T> routeBuilder, {Object? arguments}) String

Available on AppObject, provided by the AppNavigationExtension extension

Push a new route onto the navigator.
restorablePushAndRemoveUntil<T extends Object?>(RestorableRouteBuilder<T> newRouteBuilder, RoutePredicate predicate, {Object? arguments}) String

Available on AppObject, provided by the AppNavigationExtension extension

Push a new route onto the navigator, and then remove all the previous routes until the predicate returns true.
restorablePushNamed<T extends Object?>(String routeName, {Object? arguments}) String

Available on AppObject, provided by the AppNavigationExtension extension

Push a named route onto the navigator.
restorablePushNamedAndRemoveUntil<T extends Object?>(String newRouteName, RoutePredicate predicate, {Object? arguments}) String

Available on AppObject, provided by the AppNavigationExtension extension

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.
restorablePushReplacement<T extends Object?, TO extends Object?>(RestorableRouteBuilder<T> routeBuilder, {TO? result, Object? arguments}) String

Available on AppObject, provided by the AppNavigationExtension extension

Replace the current route of the navigator by pushing a new route and then disposing the previous route once the new route has finished animating in.
restorablePushReplacementNamed<T extends Object?, TO extends Object?>(String routeName, {TO? result, Object? arguments}) String

Available on AppObject, provided by the AppNavigationExtension extension

Replace the current route of the navigator that most tightly encloses the given context by pushing the route named routeName and then disposing the previous route once the new route has finished animating in.
restorableReplace<T extends Object?>({required Route oldRoute, required RestorableRouteBuilder<T> newRouteBuilder, Object? arguments}) String

Available on AppObject, provided by the AppNavigationExtension extension

Replaces a route on the navigator that most tightly encloses the given context with a new route.
restorableReplaceRouteBelow<T extends Object?>({required Route anchorRoute, required RestorableRouteBuilder<T> newRouteBuilder, Object? arguments}) String

Available on AppObject, provided by the AppNavigationExtension extension

Replaces a route on the navigator with a new route. The route to be replaced is the one below the given anchorRoute.