Properties
| Property | Type | Description |
|---|---|---|
| leading | StacWidget | The leading widget before the title. |
| title | StacWidget | The title widget. |
| titleTextStyle | StacTextStyle | The text style for the title. |
| toolbarTextStyle | StacTextStyle | The text style for the toolbar. |
| shadowColor | StacColor | The color of the shadow below the app bar. |
| backgroundColor | StacColor | The background color of the app bar. |
| foregroundColor | StacColor | The color of the app bar’s foreground elements. |
| surfaceTintColor | StacColor | The surface tint color of the app bar. |
| actions | List<StacWidget> | The list of widgets to display in a row after the title. Defaults to an empty list. |
| bottom | StacWidget | The bottom widget of the app bar. |
| titleSpacing | double | The spacing around the title. |
| toolbarOpacity | double | The opacity of the toolbar. Defaults to 1.0. |
| bottomOpacity | double | The opacity of the bottom widget. Defaults to 1.0. |
| toolbarHeight | double | The height of the toolbar. |
| leadingWidth | double | The width of the leading widget. |
| primary | bool | Whether this app bar is the primary app bar for the scaffold. Defaults to true. |
| centerTitle | bool | Whether the title should be centered. |
| elevation | double | The elevation of the app bar. |
| scrolledUnderElevation | double | The elevation of the app bar when it is scrolled under. |