Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
currentRoute(BuildContext context)
→ String?
-
Return current routeName
-
keyPush(Widget page)
→ dynamic
-
-
keyPushRemove(Widget page)
→ dynamic
-
-
keyPushReplacement(Widget page)
→ dynamic
-
-
pop<T>(BuildContext context, [T? result])
→ void
-
Just a simple pop
-
popAll(BuildContext context)
→ void
-
Pop everything until first route
-
popTime(BuildContext context, int count)
→ void
-
Pop X amount of time
-
push<T>(BuildContext context, Widget page, {bool fullscreenDialog = false, RouteSettings? settings, String? routeName, bool replaceIfExist = false})
→ Future<T?>
-
short handed push navigator
routeName
parameter can be use instead of settings
if you only need to provider routeName
-
pushAndRemove(BuildContext context, Widget page, {bool fullscreenDialog = false, RouteSettings? settings, String? routeName, bool condition(Route)?})
→ Future
-
short handed push and remove navigator
-
pushReplacement(BuildContext context, Widget page, {bool fullscreenDialog = false, RouteSettings? settings, String? routeName, bool replaceIfExist = false})
→ Future
-
short handed push replacement navigator