StacScaffold constructor

const StacScaffold({
  1. StacWidget? appBar,
  2. String? backgroundColor,
  3. StacWidget? body,
  4. StacWidget? bottomNavigationBar,
  5. StacWidget? bottomSheet,
  6. StacWidget? drawer,
  7. StacDragStartBehavior? drawerDragStartBehavior,
  8. double? drawerEdgeDragWidth,
  9. bool? drawerEnableOpenDragGesture,
  10. String? drawerScrimColor,
  11. StacWidget? endDrawer,
  12. bool? endDrawerEnableOpenDragGesture,
  13. bool? extendBody,
  14. bool? extendBodyBehindAppBar,
  15. StacWidget? floatingActionButton,
  16. StacFloatingActionButtonLocation? floatingActionButtonLocation,
  17. StacAction? onDrawerChanged,
  18. StacAction? onEndDrawerChanged,
  19. StacAlignmentDirectional? persistentFooterAlignment,
  20. List<StacWidget>? persistentFooterButtons,
  21. bool? primary,
  22. bool? resizeToAvoidBottomInset,
  23. String? restorationId,
})

Creates a scaffold with optional app bar, body, and other components.

Implementation

const StacScaffold({
  this.appBar,
  this.backgroundColor,
  this.body,
  this.bottomNavigationBar,
  this.bottomSheet,
  this.drawer,
  this.drawerDragStartBehavior,
  this.drawerEdgeDragWidth,
  this.drawerEnableOpenDragGesture,
  this.drawerScrimColor,
  this.endDrawer,
  this.endDrawerEnableOpenDragGesture,
  this.extendBody,
  this.extendBodyBehindAppBar,
  this.floatingActionButton,
  this.floatingActionButtonLocation,
  this.onDrawerChanged,
  this.onEndDrawerChanged,
  this.persistentFooterAlignment,
  this.persistentFooterButtons,
  this.primary,
  this.resizeToAvoidBottomInset,
  this.restorationId,
});