AppPageRoute<T> class abstract

Default PageRoute.

You can start the next page by returning a widget for the new page with builder.

You can define page transitions by specifying transition.

You can specify RouteSettings to move to the next page in settings.

デフォルトのPageRoute

builderで新しいページのウィジェットを返すことで次のページを起動することができます。

transitionを指定することでページのトランジションを定義できます。

settingsに次のページに移るためのRouteSettingsを指定できます。

Inheritance
Available Extensions

Constructors

AppPageRoute({LocalKey? key, required WidgetBuilder builder, required String? path, TransitionQuery? transitionQuery})
Default PageRoute.
factory

Properties

arguments Object?
The arguments passed to this route.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
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
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.
inherited
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