ToolbarView

@Composable
fun ToolbarView(modifier: Modifier = Modifier, topBarStyle: ToolbarStyle = ToolbarStyle.FLAT, revealTopBars: Boolean = true, extendContentToTopEdge: Boolean = false, topBar: @Composable () -> Unit = {}, bottomBarStyle: ToolbarStyle = ToolbarStyle.FLAT, revealBottomBars: Boolean = true, extendContentToBottomEdge: Boolean = false, bottomBar: @Composable () -> Unit = {}, content: @Composable () -> Unit)

Creates a org.gnome.adw.ToolbarView that contains a page, as well as top and/or bottom bars.

Parameters

modifier

Compose Modifier for layout and styling.

topBarStyle

Appearance of the top bars.

revealTopBars

Whether top bars are revealed.

extendContentToTopEdge

Whether the content widget can extend behind top bars.

topBar

Composable widget displayed as the top bar.

bottomBarStyle

Appearance of the bottom bars.

revealBottomBars

Whether bottom bars are visible.

extendContentToBottomEdge

Whether the content widget can extend behind bottom bars.

bottomBar

Composable widget displayed as the bottom bar.

content

The composable content to display inside the view.