ButtonContent

@Composable
fun ButtonContent(label: String, icon: ImageSource.Icon, modifier: Modifier = Modifier, useUnderline: Boolean = false, canShrink: Boolean = false)

Creates a org.gnome.adw.ButtonContent, a container used to display a label and an icon inside buttons.

Parameters

label

Text displayed inside the button.

iconName

The icon displayed inside the button.

modifier

Compose Modifier for layout and styling.

useUnderline

Whether an underline in the text indicates a mnemonic.

canShrink

Whether the button can be smaller than the natural size of its contents.