FastNavigationExtension extension
Extension on BuildContext for navigation
- on
Methods
-
canPop(
) → bool -
Available on BuildContext, provided by the FastNavigationExtension extension
Whether the navigator can be popped -
pop<
T extends Object?> ([T? result]) → void -
Available on BuildContext, provided by the FastNavigationExtension extension
Pop the current page -
push<
T extends Object?> (Widget page, {RouteType? routeType, RouteSettings? settings, bool? maintainState, bool? fullscreenDialog, bool? allowSnapshotting}) → Future< T?> -
Available on BuildContext, provided by the FastNavigationExtension extension
Navigate to an anonymous page route -
pushAndRemoveAll<
T extends Object?> (Widget page, {RouteType? routeType, RouteSettings? settings, bool? maintainState, bool? fullscreenDialog, bool? allowSnapshotting}) → Future< T?> -
Available on BuildContext, provided by the FastNavigationExtension extension
Remove all pages and push a new anonymous page route -
pushAndRemoveUntil<
T extends Object?> (Widget page, bool predicate(Route route), {RouteType? routeType, RouteSettings? settings, bool? maintainState, bool? fullscreenDialog, bool? allowSnapshotting}) → Future< T?> -
Available on BuildContext, provided by the FastNavigationExtension extension
Remove pages untilpredicate
returns true and push a new anonymous page route -
pushNamed<
T extends Object?> (String routeName, {Object? arguments}) → Future< T?> -
Available on BuildContext, provided by the FastNavigationExtension extension
Navigate to a named page route -
pushNamedAndRemoveAll<
T extends Object?> (String newRouteName, {Object? arguments}) → Future< T?> -
Available on BuildContext, provided by the FastNavigationExtension extension
Remove all pages and push a named page route -
pushNamedAndRemoveUntil<
T extends Object?> (String newRouteName, bool predicate(Route route), {Object? arguments}) → Future< T?> -
Available on BuildContext, provided by the FastNavigationExtension extension
Remove pages untilpredicate
returns true and push a named page route -
pushReplacement<
T extends Object?, TO extends Object?> (Widget page, {RouteType? routeType, RouteSettings? settings, bool? maintainState, bool? fullscreenDialog, bool? allowSnapshotting, TO? result}) → Future< T?> -
Available on BuildContext, provided by the FastNavigationExtension extension
Replace the current page with a new anonymous page route -
pushReplacementNamed<
T extends Object?, TO extends Object?> (String routeName, {TO? result, Object? arguments}) → Future< T?> -
Available on BuildContext, provided by the FastNavigationExtension extension
Replace the current page with a named page route