HeaderBar

@Composable
fun HeaderBar(modifier: Modifier = Modifier, centeringPolicy: CenteringPolicy = CenteringPolicy.LOOSE, showEndTitleButtons: Boolean = true, showStartTitleButtons: Boolean = true, title: @Composable () -> Unit? = null, startWidgets: @Composable () -> Unit = {}, endWidgets: @Composable () -> Unit = {})

Creates a org.gnome.adw.HeaderBar used as a title bar widget.

Parameters

modifier

Compose Modifier for layout and styling.

centeringPolicy

The policy for aligning the center widget.

showEndTitleButtons

Whether to show title buttons at the end of the header bar.

showStartTitleButtons

Whether to show title buttons at the start of the header bar.

title

Composable widget to display as the title.

startWidgets

Composable widget displayed at the start of the header.

endWidgets

Composable widget displayed at the end of the header.