Properties
| Property | Type | Description |
|---|---|---|
| appBar | StacWidget | The app bar widget of the scaffold. |
| body | StacWidget | The body widget of the scaffold. |
| floatingActionButton | StacWidget | The floating action button widget of the scaffold. |
| floatingActionButtonLocation | StacFloatingActionButtonLocation | The location of the floating action button. |
| persistentFooterButtons | List<StacWidget> | The persistent footer buttons of the scaffold. |
| persistentFooterAlignment | StacAlignmentDirectional | The alignment of the persistent footer buttons. |
| drawer | StacWidget | The drawer widget of the scaffold. |
| onDrawerChanged | StacAction | Action called when the drawer is opened or closed. |
| endDrawer | StacWidget | The end drawer widget of the scaffold. |
| onEndDrawerChanged | StacAction | Action called when the end drawer is opened or closed. |
| bottomNavigationBar | StacWidget | The bottom navigation bar widget of the scaffold. |
| bottomSheet | StacWidget | The bottom sheet widget of the scaffold. |
| backgroundColor | StacColor | The background color of the scaffold. |
| resizeToAvoidBottomInset | bool | Whether the scaffold should resize to avoid the bottom inset. |
| primary | bool | Whether the scaffold is the primary scaffold. Defaults to true. |
| drawerDragStartBehavior | StacDragStartBehavior | The drag start behavior for the drawer. Defaults to DragStartBehavior.start. |
| extendBody | bool | Whether the body should extend into the scaffold’s bottom padding. Defaults to false. |
| extendBodyBehindAppBar | bool | Whether the body should extend behind the app bar. Defaults to false. |
| drawerScrimColor | StacColor | The color of the scrim for the drawer. |
| drawerEdgeDragWidth | double | The width of the edge drag area for the drawer. |
| drawerEnableOpenDragGesture | bool | Whether the drawer can be opened with a drag gesture. Defaults to true. |
| endDrawerEnableOpenDragGesture | bool | Whether the end drawer can be opened with a drag gesture. Defaults to true. |
| restorationId | String | The restoration ID to save and restore the state of the scaffold. |