clickableItem

abstract fun clickableItem(onClick: () -> Unit, icon: @Composable () -> Unit, label: String, enabled: Boolean = true)

Adds a clickable item to the AppBarRow or AppBarColumn.

Parameters

onClick

The action to perform when the item is clicked.

icon

The composable representing the item's icon.

enabled

Whether the item is enabled.

label

The text label for the item, used in the overflow menu.