PageRouteOptions.cupertino constructor

const PageRouteOptions.cupertino({
  1. bool maintainState = true,
  2. bool fullscreenDialog = false,
  3. String? title,
  4. RouteSettings? settings,
  5. bool allowSnapshotting = true,
  6. bool barrierDismissible = false,
  7. WidgetBuilder? builder,
})

Implementation

const PageRouteOptions.cupertino({
  this.maintainState = true,
  this.fullscreenDialog = false,
  this.title,
  this.settings,
  this.allowSnapshotting = true,
  this.barrierDismissible = false,
  this.builder,
}) : style = RoutePushStyle.material;