AppPage class

Inheritance

Constructors

AppPage({LocalKey? key, required String name, required Widget child, required AppRoute route, String? restorationId, Object? arguments, TransitionProvider? defaultTransition, Duration? defaultDuration, Duration? defaultReverseDuration, bool isCupertinoByDefault = false})
const

Properties

arguments Object?
The arguments passed to this route.
finalinherited
child Widget
final
defaultDuration Duration?
final
defaultReverseDuration Duration?
final
defaultTransition TransitionProvider?
final
hashCode int
The hash code for this object.
no setterinherited
isCupertinoByDefault bool
final
key LocalKey?
The key associated with this page.
finalinherited
name String?
The name of the route (e.g., "/settings").
finalinherited
restorationId String?
Restoration ID to save and restore the state of the Route configured by this page.
finalinherited
route AppRoute
final
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<AppPage>
Creates the Route that corresponds to this page.
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