StoryBoard.cupertino constructor
const
StoryBoard.cupertino({
- Key? key,
- required CupertinoApp child,
- List<
Widget> ? customScreens, - bool enabled = true,
- Size? screenSize = const Size(400, 700),
- Offset initialOffset = Offset.zero,
- double initialScale = _STARTSCALE,
- List<
CustomLane> ? customLanes, - PreferredSizeWidget? customAppBar,
- List<
RouteSettings> ? customRoutes, - int? crossAxisCount,
- String title = _kTitle,
- LaneBuilder? laneBuilder,
- List<
CustomScreen> ? sizedChildren, - String? childrenLabel = 'Children',
- String? sizedChildrenLabel = 'Sized Children',
- Orientation? orientation,
- DeviceInfo? androidDevice,
- DeviceInfo? cupertinoDevice,
- 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);