JsonScaffoldBuilder constructor
const
JsonScaffoldBuilder({
- JsonWidgetData? appBar,
- Color? backgroundColor,
- JsonWidgetData? body,
- JsonWidgetData? bottomSheet,
- JsonWidgetData? drawer,
- required DragStartBehavior drawerDragStartBehavior,
- double? drawerEdgeDragWidth,
- required bool drawerEnableOpenDragGesture,
- Color? drawerScrimColor,
- JsonWidgetData? endDrawer,
- required bool endDrawerEnableOpenDragGesture,
- required bool extendBody,
- required bool extendBodyBehindAppBar,
- JsonWidgetData? floatingActionButton,
- FloatingActionButtonAnimator? floatingActionButtonAnimator,
- FloatingActionButtonLocation? floatingActionButtonLocation,
- ValueChanged<
bool> ? onDrawerChanged, - ValueChanged<
bool> ? onEndDrawerChanged, - required bool primary,
- bool? resizeToAvoidBottomInset,
- String? restorationId,
Implementation
const JsonScaffoldBuilder({
this.appBar,
this.backgroundColor,
this.body,
this.bottomNavigationBar,
this.bottomSheet,
this.drawer,
required this.drawerDragStartBehavior,
this.drawerEdgeDragWidth,
required this.drawerEnableOpenDragGesture,
this.drawerScrimColor,
this.endDrawer,
required this.endDrawerEnableOpenDragGesture,
required this.extendBody,
required this.extendBodyBehindAppBar,
this.floatingActionButton,
this.floatingActionButtonAnimator,
this.floatingActionButtonLocation,
this.onDrawerChanged,
this.onEndDrawerChanged,
required this.persistentFooterAlignment,
this.persistentFooterButtons,
required this.primary,
this.resizeToAvoidBottomInset,
this.restorationId,
}) : super(numSupportedChildren: kNumSupportedChildren);