CupertinoPageRoute<T> constructor

CupertinoPageRoute<T>({
  1. required WidgetBuilder builder,
  2. String? title,
  3. RouteSettings? settings,
  4. bool? requestFocus,
  5. bool maintainState = true,
  6. bool fullscreenDialog = false,
  7. bool allowSnapshotting = true,
  8. 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);
}