StoryBoard.cupertino constructor

const StoryBoard.cupertino({
  1. Key? key,
  2. required CupertinoApp child,
  3. List<Widget>? customScreens,
  4. bool enabled = true,
  5. Size? screenSize = const Size(400, 700),
  6. Offset initialOffset = Offset.zero,
  7. double initialScale = _STARTSCALE,
  8. List<CustomLane>? customLanes,
  9. PreferredSizeWidget? customAppBar,
  10. List<RouteSettings>? customRoutes,
  11. int? crossAxisCount,
  12. String title = _kTitle,
  13. LaneBuilder? laneBuilder,
  14. List<CustomScreen>? sizedChildren,
  15. String? childrenLabel = 'Children',
  16. String? sizedChildrenLabel = 'Sized Children',
  17. Orientation? orientation,
  18. DeviceInfo? androidDevice,
  19. DeviceInfo? cupertinoDevice,
  20. DeviceFrameStyle? deviceFrameStyle,
})

Implementation

const StoryBoard.cupertino({
  Key? key,
  required CupertinoApp child,
  List<Widget>? customScreens,
  this.enabled = true,
  this.screenSize = const Size(400, 700),
  this.initialOffset = Offset.zero,
  this.initialScale = _STARTSCALE,
  this.customLanes,
  this.customAppBar,
  this.customRoutes,
  this.crossAxisCount,
  this.title = _kTitle,
  this.laneBuilder,
  this.sizedChildren,
  this.childrenLabel = 'Children',
  this.sizedChildrenLabel = 'Sized Children',
  this.orientation,
  this.androidDevice,
  this.cupertinoDevice,
  this.deviceFrameStyle,
})  : _materialApp = null,
      _widgetsApp = null,
      _cupertinoApp = child,
      children = customScreens,
      _widgets = false,
      hideAppBar = false,
      super(key: key);