CupertinoPage<T> constructor

const CupertinoPage<T>({
  1. required Widget child,
  2. bool maintainState = true,
  3. String? title,
  4. bool fullscreenDialog = false,
  5. bool allowSnapshotting = true,
  6. bool canPop = true,
  7. PopInvokedWithResultCallback<T> onPopInvoked = _defaultPopInvokedHandler,
  8. LocalKey? key,
  9. String? name,
  10. Object? arguments,
  11. String? restorationId,
})

Creates a cupertino page.

Implementation

const CupertinoPage({
  required this.child,
  this.maintainState = true,
  this.title,
  this.fullscreenDialog = false,
  this.allowSnapshotting = true,
  super.canPop,
  super.onPopInvoked,
  super.key,
  super.name,
  super.arguments,
  super.restorationId,
});