NavigatorExt extension
- on
Properties
- arguments → Object?
-
Available on BuildContext, provided by the NavigatorExt extension
no setter - routeArguments → Object?
-
Available on BuildContext, provided by the NavigatorExt extension
no setter - routeName → Object?
-
Available on BuildContext, provided by the NavigatorExt extension
no setter - routeSettings → Object?
-
Available on BuildContext, provided by the NavigatorExt extension
no setter
Methods
-
canPop(
) → bool -
Available on BuildContext, provided by the NavigatorExt extension
just call this canPop() method and it would return true if this route can be popped and false if it’s not possible. -
pop<
T extends Object?> ([T? result]) → void -
Available on BuildContext, provided by the NavigatorExt extension
performs a simple Navigator.pop action and returns givenresult
-
popUntil(
String screenName, { }) → void -
Available on BuildContext, provided by the NavigatorExt extension
perform replash with routeName -
push<
T extends Object?> (Widget screen, {RouteSettings? settings, bool maintainState = true, bool fullscreenDialog = false, }) → Future< T?> -
Available on BuildContext, provided by the NavigatorExt extension
performs a simple Navigator.push action with givenroute
-
pushAndRemoveUntil<
T extends Object?> (Widget screen, {RouteSettings? settings, bool maintainState = true, bool fullscreenDialog = false, bool routes = false, }) → Future< T?> -
Available on BuildContext, provided by the NavigatorExt extension
perform push and remove route -
pushNamed<
T extends Object?> (String routeName, {Object? arguments, }) → Future< T?> -
Available on BuildContext, provided by the NavigatorExt extension
perform push with routeName -
pushReplacement<
T extends Object?> (Widget screen, {RouteSettings? settings, bool maintainState = true, bool fullscreenDialog = false, dynamic result}) → Future< T> -
Available on BuildContext, provided by the NavigatorExt extension
performs a simple Navigator.pushReplacement action with givenroute
-
pushReplacementNamed<
T extends Object?, TO extends Object?> (String routeName, {TO? result, Object? arguments, }) → Future< T?> -
Available on BuildContext, provided by the NavigatorExt extension
perform replash with routeName