PathRouteSettings class
A more advanced route settings that lets us provide more context when routing
- Inheritance
-
- Object
- RouteSettings
- PathRouteSettings
- Implemented types
Constructors
- PathRouteSettings({required dynamic route, required String? label, String? resolvedPath, RouteParams? routeParams})
- Creates data used to construct routes.
-
PathRouteSettings.ofAppRoute(AppRoute<
dynamic, RouteParams> appRoute, {RouteParams? routeParams}) -
factory
Properties
- arguments → Object?
-
The arguments passed to this route.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- label → String?
-
final
- location → String?
-
The location of the application.
no setteroverride
- name → String?
-
The name of the route (e.g., "/settings").
finalinherited
- resolvedPath → String?
-
final
- route → String?
-
final
- routeParams → RouteParams?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → PathRouteSettings
-
The state of the application in the uri.
no setteroverride
- uri → Uri
-
The uri location of the application.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited