PAbstractMaterialPage<P extends PagePath, R> class
abstract
- Inheritance
-
- Object
- RouteSettings
- Page
- MaterialPage
- PAbstractMaterialPage
- Implemented types
-
- PAbstractPage<
P, R>
- PAbstractPage<
- Implementers
Constructors
-
PAbstractMaterialPage({required Widget child, ValueKey<
String> ? key, String? factoryKey})
Properties
- allowSnapshotting → bool
-
Whether the route transition will prefer to animate a snapshot of the
entering/exiting routes.
finalinherited
- arguments → Object?
-
The arguments passed to this route.
finalinherited
- child → Widget
-
The content to be shown in the Route created by this page.
finalinherited
-
completer
→ Completer<
R?> -
final
- fullscreenDialog → bool
-
Whether this page route is a full-screen dialog.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isDisposed → bool
-
no setteroverride
-
key
→ ValueKey<
String> ? -
The key associated with this page.
no setteroverride
- maintainState → bool
-
Whether the route should remain in memory when it is inactive.
finalinherited
- name → String?
-
The name of the route (e.g., "/settings").
finalinherited
- path → P?
-
no setteroverride
- 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
-
state
→ PPageStateMixin<
P, R> ? -
no setteroverride
Methods
-
canUpdate(
Page other) → bool -
Whether this page can be updated with the
other
page.inherited -
createPopEvent(
{required R? data, required PopCause cause}) → PagePopEvent< R> -
Creates PagePopEvent.
override
-
createRoute(
BuildContext context) → Route -
Creates the Route that corresponds to this page.
inherited
-
dispose(
) → void -
override
-
getFactoryKey(
) → String? -
The key to re-create this page with factory when recovering state.
override
-
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