PageRouteOptions class

page route

Constructors

PageRouteOptions({required RoutePushStyle style, bool maintainState = true, bool fullscreenDialog = false, String? title, RouteSettings? settings, bool allowSnapshotting = true, bool barrierDismissible = false, WidgetBuilder? builder})
const
PageRouteOptions.cupertino({bool maintainState = true, bool fullscreenDialog = false, String? title, RouteSettings? settings, bool allowSnapshotting = true, bool barrierDismissible = false, WidgetBuilder? builder})
const
PageRouteOptions.material({bool maintainState = true, bool fullscreenDialog = false, RouteSettings? settings, bool allowSnapshotting = true, bool barrierDismissible = false, WidgetBuilder? builder})
const

Properties

allowSnapshotting bool
allowSnapshotting
final
barrierDismissible bool
barrierDismissible
final
builder WidgetBuilder?
builder
final
fullscreenDialog bool
fullscreenDialog
final
hashCode int
The hash code for this object.
no setterinherited
maintainState bool
maintainState
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
settings RouteSettings?
settings
final
style RoutePushStyle
style
final
title String?
title
final

Methods

buildPageRoute<T>(Widget widget) PageRoute<T>
Builds the primary contents of the route.
copyWith({bool? maintainState, bool? fullscreenDialog, String? title, RouteSettings? settings, bool? allowSnapshotting, bool? barrierDismissible, WidgetBuilder? builder, RoutePushStyle? style}) PageRouteOptions
merge([PageRouteOptions? options]) PageRouteOptions
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