StoryBoard.widgets constructor
const
StoryBoard.widgets({
- Key? key,
- required WidgetsApp 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.widgets({
Key? key,
required WidgetsApp 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 = child,
_cupertinoApp = null,
children = customScreens,
_widgets = false,
hideAppBar = false,
super(key: key);