PageLoadContext<P, S> class
final
Typed input passed to a Flutter page loader.
- Inheritance
-
- Object
- RouteState<
P, S> - PageLoadContext
Constructors
- PageLoadContext({required AppContext app, required RouteNavigator router, required P params, required S search, required Uri location, required RouteMatches matches})
-
Creates page loader input.
const
Properties
- app → AppContext
-
The application context containing explicitly installed modules.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- location → Uri
-
The complete active location.
finalinherited
- params → P
-
Path parameters owned by this route.
finalinherited
- router → RouteNavigator
-
The active Odroe navigation controller.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- search → S
-
Search state owned by this route.
finalinherited
Methods
-
bindings<
T extends ModuleBinding> () → Iterable< T> -
Returns module bindings assignable to
T, in registration order.inherited -
match<
ParentP, ParentS, ParentD> (TypedRoute< ParentP, ParentS, ParentD> route) → RouteMatch<ParentP, ParentS, ParentD> ? -
Returns a typed active ancestor or current route match.
inherited
-
maybe<
T extends Object> (ContextKey< T> key) → T? -
Reads an optional application service.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read<
T extends Object> (ContextKey< T> key) → T -
Reads an application service.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited