CustomPage<T> class

Inheritance

Constructors

CustomPage({required RouteData routeData, required Widget child, bool fullscreenDialog = false, bool maintainState = true, bool opaque = true, int durationInMilliseconds = 300, int reverseDurationInMilliseconds = 300, int? barrierColor, bool barrierDismissible = false, String? barrierLabel, RouteTransitionsBuilder? transitionsBuilder, CustomRouteBuilder? customRouteBuilder, LocalKey? key})

Properties

arguments Object?
The arguments passed to this route.
finalinherited
barrierColor int?
final
barrierDismissible bool
final
barrierLabel String?
final
child Widget
no setterinherited
customRouteBuilder CustomRouteBuilder?
final
durationInMilliseconds int
final
fullscreenDialog bool
finalinherited
hashCode int
The hash code for this object.
no setterinherited
key LocalKey?
The key associated with this page.
finalinherited
maintainState bool
finalinherited
name String?
The name of the route (e.g., "/settings").
finalinherited
opaque bool
finalinherited
popped Future<T?>
no setterinherited
restorationId String?
Restoration ID to save and restore the state of the Route configured by this page.
finalinherited
reverseDurationInMilliseconds int
final
routeData RouteData
finalinherited
routeKey LocalKey
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
transitionsBuilder RouteTransitionsBuilder?
final

Methods

buildPage(BuildContext context) Widget
inherited
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
onCreateRoute(BuildContext context) Route<T>
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited