RouteHandler<T> class
abstract
RouteHandler abstract class
Constructors
- RouteHandler(RouteSettings settings, {T? arguments})
Properties
- arguments ↔ T?
-
arguments is an optional extra if a complex object needs to be passed to the route.
Defaults to the RouteSettings argument.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
queryParameters
→ Map<
String, String> -
Parse the query parameters passed in the route name
Example: routeName?id=1&name=foo will result in
{'id': '1', 'name':'foo'}
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- settings → RouteSettings
-
settings are the
RouteSettings
passed by theonGenerateRoute
fromMaterialApp
final
Methods
-
getRoute(
BuildContext context) → Route - Returns the generated route
-
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