Base Scaffold
Encapsulate Scaffold with common functionality.Attributes:
Name | Type | Description | Default Value | Required | Nullable |
---|---|---|---|---|---|
builder |
| Displayed below the [appBar], above the bottom of the ambient [MediaQuery]'s [MediaQueryData.viewInsets], and behind the [floatingActionButton] and [drawer]. If [resizeToAvoidBottomInset] is false then the body is not resized when the onscreen keyboard appears, i.e. it is not inset by viewInsets.bottom. | - | ||
appBar |
| An app bar to display at the top of the scaffold. | - | ||
backgroundColor |
| The color of the [Material] widget that underlies the entire Scaffold. | - | ||
bottomNavigationBar |
| A bottom navigation bar to display at the bottom of the scaffold. | - | ||
resizeToAvoidBottomInset |
| Scaffold's floating widgets should size themselves to avoid the onscreen keyboard whose height is defined by the ambient [MediaQuery]'s | - | ||
floatingActionButton |
| Scaffold AppBar Floating Action Button | - | ||
floatingActionButtonLocation |
| Responsible for determining where the [floatingActionButton] should go. | - | ||
extendBodyBehindAppBar |
| If true, and an [appBar] is specified, then the height of the [body] is extended to include the height of the app bar and the top of the body is aligned with the top of the app bar. | - |