StacScaffold constructor
const
StacScaffold({
- StacWidget? appBar,
- String? backgroundColor,
- StacWidget? body,
- StacWidget? bottomSheet,
- StacWidget? drawer,
- StacDragStartBehavior? drawerDragStartBehavior,
- double? drawerEdgeDragWidth,
- bool? drawerEnableOpenDragGesture,
- String? drawerScrimColor,
- StacWidget? endDrawer,
- bool? endDrawerEnableOpenDragGesture,
- bool? extendBody,
- bool? extendBodyBehindAppBar,
- StacWidget? floatingActionButton,
- StacFloatingActionButtonLocation? floatingActionButtonLocation,
- StacAction? onDrawerChanged,
- StacAction? onEndDrawerChanged,
- bool? primary,
- bool? resizeToAvoidBottomInset,
- 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,
});