JsonScaffoldBuilderModel constructor

const JsonScaffoldBuilderModel(
  1. Map<String, dynamic> args, {
  2. JsonWidgetData? appBar,
  3. Color? backgroundColor,
  4. JsonWidgetData? body,
  5. JsonWidgetData? bottomNavigationBar,
  6. JsonWidgetData? bottomSheet,
  7. Widget? bottomSheetScrimBuilder(
    1. BuildContext,
    2. Animation<double>
    ) = _defaultBottomSheetScrimBuilder,
  8. JsonWidgetData? drawer,
  9. bool drawerBarrierDismissible = true,
  10. DragStartBehavior drawerDragStartBehavior = DragStartBehavior.start,
  11. double? drawerEdgeDragWidth,
  12. bool drawerEnableOpenDragGesture = true,
  13. Color? drawerScrimColor,
  14. JsonWidgetData? endDrawer,
  15. bool endDrawerEnableOpenDragGesture = true,
  16. bool extendBody = false,
  17. bool extendBodyBehindAppBar = false,
  18. JsonWidgetData? floatingActionButton,
  19. FloatingActionButtonAnimator? floatingActionButtonAnimator,
  20. FloatingActionButtonLocation? floatingActionButtonLocation,
  21. void onDrawerChanged(
    1. bool
    )?,
  22. void onEndDrawerChanged(
    1. bool
    )?,
  23. AlignmentDirectional persistentFooterAlignment = AlignmentDirectional.centerEnd,
  24. List<JsonWidgetData>? persistentFooterButtons,
  25. BoxDecoration? persistentFooterDecoration,
  26. bool primary = true,
  27. bool? resizeToAvoidBottomInset,
  28. String? restorationId,
})

Implementation

const JsonScaffoldBuilderModel(
  super.args, {
  this.appBar,
  this.backgroundColor,
  this.body,
  this.bottomNavigationBar,
  this.bottomSheet,
  this.bottomSheetScrimBuilder = _defaultBottomSheetScrimBuilder,
  this.drawer,
  this.drawerBarrierDismissible = true,
  this.drawerDragStartBehavior = DragStartBehavior.start,
  this.drawerEdgeDragWidth,
  this.drawerEnableOpenDragGesture = true,
  this.drawerScrimColor,
  this.endDrawer,
  this.endDrawerEnableOpenDragGesture = true,
  this.extendBody = false,
  this.extendBodyBehindAppBar = false,
  this.floatingActionButton,
  this.floatingActionButtonAnimator,
  this.floatingActionButtonLocation,
  this.onDrawerChanged,
  this.onEndDrawerChanged,
  this.persistentFooterAlignment = AlignmentDirectional.centerEnd,
  this.persistentFooterButtons,
  this.persistentFooterDecoration,
  this.primary = true,
  this.resizeToAvoidBottomInset,
  this.restorationId,
});