CupertinoPageRoute<T> constructor
- required WidgetBuilder builder,
- String? title,
- RouteSettings? settings,
- bool? requestFocus,
- bool maintainState = true,
- bool fullscreenDialog = false,
- bool allowSnapshotting = true,
- bool barrierDismissible = false,
Creates a page route for use in an iOS designed app.
The builder
, maintainState
, and fullscreenDialog
arguments must not
be null.
Implementation
CupertinoPageRoute({
required this.builder,
this.title,
super.settings,
super.requestFocus,
this.maintainState = true,
super.fullscreenDialog,
super.allowSnapshotting = true,
super.barrierDismissible = false,
}) {
assert(opaque);
}