CupertinoPageRoute<T> constructor

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