NavigationX extension
Named navigation helpers that return the resulting Future.
- on
Properties
- canPop → bool
-
Available on BuildContext, provided by the NavigationX extension
Whether it is possible to pop.no setter
Methods
-
pop<
T> ([T? result]) → void -
Available on BuildContext, provided by the NavigationX extension
Pops the current route. -
popCount(
int count) → void -
Available on BuildContext, provided by the NavigationX extension
Pops up tocountroutes. -
popUntilFirst(
) → void -
Available on BuildContext, provided by the NavigationX extension
Pops until the first route. -
push<
T> (Widget page) → Future< T?> -
Available on BuildContext, provided by the NavigationX extension
Pushes a new route and awaits the result. -
pushAndClear<
T> (Widget page) → Future< T?> -
Available on BuildContext, provided by the NavigationX extension
Pushespageand clears the entire navigation stack. -
pushAndRemoveUntil<
T> (Widget page, bool predicate(Route)) → Future< T?> -
Available on BuildContext, provided by the NavigationX extension
Pushespageand removes every route untilpredicate. -
pushReplacement<
T, TO> (Widget page) → Future< T?> -
Available on BuildContext, provided by the NavigationX extension
Replaces the current route withpage.