MaterialScaffoldData constructor

const MaterialScaffoldData({
  1. Key? widgetKey,
  2. Color? backgroundColor,
  3. bool resizeToAvoidBottomInset = kDefaultResizeToAvoidBottomInset,
  4. Widget? body,
  5. PreferredSizeWidget? appBar,
  6. Widget? floatingActionButton,
  7. FloatingActionButtonLocation? floatingActionButtonLocation,
  8. FloatingActionButtonAnimator? floatingActionButtonAnimator,
  9. List<Widget>? persistentFooterButtons,
  10. AlignmentDirectional persistentFooterAlignment = kDefaultPersistentFooterAlignment,
  11. BoxDecoration? persistentFooterDecoration,
  12. Widget? drawer,
  13. void onDrawerChanged(
    1. bool
    )?,
  14. Widget? endDrawer,
  15. void onEndDrawerChanged(
    1. bool
    )?,
  16. Widget? bottomSheet,
  17. bool primary = kPrimary,
  18. DragStartBehavior drawerDragStartBehavior = kDrawerDragStartBehavior,
  19. bool extendBody = kExtendBody,
  20. bool drawerBarrierDismissible = kDrawerBarrierDismissible,
  21. bool extendBodyBehindAppBar = kExtendBodyBehindAppBar,
  22. Color? drawerScrimColor,
  23. double? drawerEdgeDragWidth,
  24. bool drawerEnableOpenDragGesture = kDrawerEnableOpenDragGesture,
  25. bool endDrawerEnableOpenDragGesture = kEndDrawerEnableOpenDragGesture,
  26. String? restorationId,
})

Implementation

const MaterialScaffoldData({
  super.widgetKey,
  super.backgroundColor,
  super.resizeToAvoidBottomInset,
  super.body,
  this.appBar,
  this.floatingActionButton,
  this.floatingActionButtonLocation,
  this.floatingActionButtonAnimator,
  this.persistentFooterButtons,
  this.persistentFooterAlignment = kDefaultPersistentFooterAlignment,
  this.persistentFooterDecoration,
  this.drawer,
  this.onDrawerChanged,
  this.endDrawer,
  this.onEndDrawerChanged,
  this.bottomSheet,
  this.primary = kPrimary,
  this.drawerDragStartBehavior = kDrawerDragStartBehavior,
  this.extendBody = kExtendBody,
  this.drawerBarrierDismissible = kDrawerBarrierDismissible,
  this.extendBodyBehindAppBar = kExtendBodyBehindAppBar,
  this.drawerScrimColor,
  this.drawerEdgeDragWidth,
  this.drawerEnableOpenDragGesture = kDrawerEnableOpenDragGesture,
  this.endDrawerEnableOpenDragGesture = kEndDrawerEnableOpenDragGesture,
  this.restorationId,
}) : bottomSheetScrimBuilder = null;