NavigationExtension extension
- on
Methods
-
pop(
) → void -
Available on BuildContext, provided by the NavigationExtension extension
-
pushNamed(
String routeName, {Object? arguments}) → Future -
Available on BuildContext, provided by the NavigationExtension extension
Push the route with the givenrouteName
onto the navigator that most tightly encloses the given context. Thearguments
parameter is passed to the pushed route. -
pushNamedAndRemoveUntil(
String routeName, {required RoutePredicate predicate, Object? arguments}) → Future -
Available on BuildContext, provided by the NavigationExtension extension
Push the route with the givenrouteName
onto the navigator that most tightly encloses the given context. -
pushReplaceNamed(
String routeName, {Object? arguments}) → Future -
Available on BuildContext, provided by the NavigationExtension extension
Replace the current route of the navigator that most tightly encloses the given context with the route namedrouteName
.