Banner

@Composable
fun Banner(modifier: Modifier = Modifier, title: String? = null, buttonLabel: String? = null, onButtonClick: () -> Unit? = null, revealed: Boolean = true, useMarkup: Boolean = true)

Creates a org.gnome.adw.Banner, a bar with contextual information.

Parameters

modifier

Compose Modifier for layout and styling.

title

Text displayed on the Banner.

buttonLabel

Text displayed inside the button.

onButtonClick

Callback triggered when the button is clicked.

revealed

Whether the banner is shown or not.

useMarkup

Whether Pango markup for the title is enabled.