RouteQuery class
Define a query for routing.
You can pass it as arguments
with pageNamed()
and so on.
Constructors
- RouteQuery({PageTransition transition = PageTransition.initial, dynamic parameters = const {}})
-
Define a query for routing.
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{PageTransition? transition, dynamic parameters}) → RouteQuery - Copy RouteQuery and create a new instance.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Properties
- fade → RouteQuery
-
Display the page with fade animation.
no setter
- fullscreen → RouteQuery
-
View the page as a full screen.
no setter
- fullscreenOrModal → RouteQuery
-
If the platform is mobile, it will be displayed as fullscreen,
otherwise it will be displayed as modal.
no setter
- immediately → RouteQuery
-
Display the page with no animation.
no setter
- modal → RouteQuery
-
Display the page with modal animation.
no setter