AppBar
A material design app bar.
Example:
ft.AppBar(
leading=ft.Icon(ft.Icons.MENU),
title=ft.Text("Dashboard"),
bgcolor=ft.Colors.SURFACE_CONTAINER,
actions=[
ft.IconButton(ft.Icons.SEARCH),
ft.IconButton(ft.Icons.MORE_VERT),
],
)

Inherits: AdaptiveControl
Properties
actions- A list ofControls to display in a row after the title control.actions_padding- The padding between theactionsand the end of this app bar.automatically_imply_leading- Whether we should try to imply theleadingcontrol if it isNone.bgcolor- The fill color to use for this app bar.center_title- Whether thetitleshould be centered.clip_behavior- The content will be clipped (or not) according to this option.color- The default color forTextandIconcontrols within this app bar.elevation- The app bar's elevation.elevation_on_scroll- The elevation to be used if this app bar has something scrolled underneath it.exclude_header_semantics- Whether thetitleshould be wrapped with headerSemantics.force_material_transparency- Forces this app bar to be transparent (instead of Material's default type).leading- A control to display before the toolbar'stitle.leading_width- Defines the width of theleadingcontrol.secondary- Whether this app bar is not being displayed at the top of the screen.shadow_color- The color of the shadow below this app bar.shape- The shape of this app bar's Material as well as its shadow.title- The primary Control displayed in this app bar.title_spacing- The spacing aroundtitleon the horizontal axis.title_text_style- The style to be used for theTextcontrols in thetitle.toolbar_height- Defines the height of the toolbar component of this app bar.toolbar_opacity- The opacity of the toolbar.toolbar_text_style- The style to be used for theTextcontrols in the app bar'sleadingandactions.