StylishConnectedIconButtonItem

data class StylishConnectedIconButtonItem(val imageVector: ImageVector, val contentDescription: String? = null, val onClick: () -> Unit, val enabled: Boolean = true, val active: Boolean = false)

Immutable data for one icon button in a StylishConnectedIconButtonRow.

The row owns the connected geometry. Each item remains an independent action, so accessibility services and pointer input see one button per icon rather than one large click target.

Constructors

Link copied to clipboard
constructor(imageVector: ImageVector, contentDescription: String? = null, onClick: () -> Unit, enabled: Boolean = true, active: Boolean = false)

Properties

Link copied to clipboard

Whether this item uses the selected/primary color pair.

Link copied to clipboard

Accessibility label for the icon action.

Link copied to clipboard

Whether this item accepts input and renders as enabled.

Link copied to clipboard

Icon rendered for this action.

Link copied to clipboard
val onClick: () -> Unit

Action invoked when this item is tapped.