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
-
backAndTo(Widget page)
→ Future<void>
-
If you want to pop sothing before
pushing to another widget you could use it,
just pass your
widget to go
-
to<T extends Object?>(Widget page, {CapturedThemes? themes, Color barrierColor = Colors.black54, bool barrierDismissible = true, String? barrierLabel, bool useSafeArea = true, RouteSettings? settings, Offset? anchorPoint, TraversalEdgeBehavior? traversalEdgeBehavior})
→ Future<T?>
-
This is simple navigation all you have to do
just pass your
widget to go
-
toRemoveUntil<T extends Object?>(Widget page, {CapturedThemes? themes, Color barrierColor = Colors.black54, bool barrierDismissible = true, String? barrierLabel, bool useSafeArea = true, RouteSettings? settings, Offset? anchorPoint, TraversalEdgeBehavior? traversalEdgeBehavior, bool predicate(Route route)?})
→ Future<T?>
-
This is simple navigation all you have to do
just pass your
widget to go and it will
remove all routes from the tree
-
toReplace<T extends Object?, TO extends Object?>(Widget page, {CapturedThemes? themes, Color barrierColor = Colors.black54, bool barrierDismissible = true, String? barrierLabel, bool useSafeArea = true, RouteSettings? settings, Offset? anchorPoint, TraversalEdgeBehavior? traversalEdgeBehavior})
→ Future<T?>
-
This is simple navigation all you have to do
just pass your
widget to go and it will
remove previous route from the tree