NavigatorRoute class
Register this Navigator Route
path you want registe path, such as: /user/:id or /user/*
pathRegEx Map of regular expression matchers for specific path segment
such as path = /:id/name pathRegEx = {'id':r'^0-9
*$'}
handler you want to return Widget
defaultPageTransaction page transaction.
Constructors
Properties
- defaultPageTransaction ↔ PageTransitionsBuilder?
-
getter/setter pair
- handler ↔ RouteHandler
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- path → String
-
Path of the route
final
-
pathRegEx
→ Map<
String, String> ? -
Map of regular expression matchers for specific path segment
final
-
pathSegments
→ Iterable<
String> -
final
- responseProcessor → ResponseProcessor?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addInterceptor(
RouteInterceptor interceptor) → void -
Add
interceptor
and optionally handler in the route chain. -
call(
Context ctx) → Future -
getInterceptor(
) → List< RouteInterceptor> -
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.
inherited