RoutePage<T> class
- Inheritance
-
- Object
- RouteSettings
- Page<
T> - RoutePage
Constructors
- RoutePage(PageConfiguration pageConfiguration)
Properties
- arguments → Object?
-
The arguments passed to this route.
finalinherited
- canPop → bool
-
When false, blocks the associated route from being popped.
finalinherited
- hashCode → int
-
The hash code for this object.
no setteroverride
- isCompleted → bool
-
no setter
- key → LocalKey?
-
The key associated with this page.
finalinherited
- name → String?
-
The name of the route (e.g., "/settings").
finalinherited
-
onPopInvoked
→ PopInvokedWithResultCallback<
T> -
Called after a pop on the associated route was handled.
finalinherited
- pageConfiguration → PageConfiguration
-
final
-
popped
→ Future<
T?> -
A future that completes when this route is popped off the navigator.
no setter
- restorationId → String?
-
Restoration ID to save and restore the state of the Route configured by
this page.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
canUpdate(
Page other) → bool -
Whether this page can be updated with the
other
page.inherited -
createRoute(
BuildContext context) → Route< T> -
Creates the Route that corresponds to this page.
override
-
didPop(
[T? result]) → bool - pop this route
-
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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override