RouteUtils class
A GetX route, navigation utils.
In order to semantic.
Constructors
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
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
argument<
T> () → T - Give current route arguments.
-
parameters(
String name) → String? - Get routing url parameter like web, or use Map struct to pack some properties, next page can use parameters method to get it.
-
pop<
R> ({R? result}) → void -
popAndPushNamed<
R> (String route, {dynamic arguments, Map< String, String> ? parameters}) → Future<R?> ? -
Pop the current named page and pushes a new
page -
push<
R> (String route, {dynamic arguments, Map< String, String> ? parameters}) → Future<R?> ? -
pushNamedAndRemoveUntil<
R> (String route, {dynamic arguments, Map< String, String> ? parameters}) → Future<R?> ? -
Push a named
pageand pop several pages in the stack