The parameters of the route currently being entered — what a detail controller builds its typed argument from.
Router-neutral on purpose: AgRoutePage records them from whatever the
app's router handed it (with go_router, state.pathParameters and
state.extra), and a detail controller reads them in its constructor
(AgRouteData.pathParameters['id']). Nothing here depends on which router the app uses.
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 Properties
- extra ↔ Object?
-
The non-URL payload of the route being entered. Not deep-link safe —
a cold start, a reload, or a shared link has no extra — so prefer
putting what a page needs into its path.
getter/setter pair
-
pathParameters
↔ Map<
String, String> -
Path parameters of the route being entered (
{'id': '7'}for/product/7).getter/setter pair
Static Methods
-
reset(
) → void