Package-level declarations

Types

Link copied to clipboard
sealed interface ToolbarAction

One-way event emitted by a toolbar composable.

Link copied to clipboard
data class ToolbarFrame(val isVisible: Boolean = true, val height: Dp = 56.dp, val position: ToolbarPosition = ToolbarPosition.Top, val title: String? = null)

Frame-level toolbar state — visual chrome that's independent of which items are shown. Splitting this from ToolbarItems means changing frame colors doesn't recompose item rows, and vice-versa (loophole P1-13).

Link copied to clipboard
sealed interface ToolbarIcon

Sealed type describing how a toolbar item renders its icon.

Link copied to clipboard
sealed interface ToolbarItem

One toolbar entry. Fully immutable; safe for Compose stability.

Link copied to clipboard
data class ToolbarItems(val visible: PersistentList<ToolbarItem> = persistentListOf(), val overflow: PersistentList<ToolbarItem> = persistentListOf())

The ordered, pre-grouped collection of items for one toolbar.

Link copied to clipboard
data class ToolbarItemState(val isEnabled: Boolean = true, val isSelected: Boolean = false, val isVisible: Boolean = true)

Per-item dynamic state. Split from ToolbarItem so enabled/selected changes recompose only the affected button (loophole P1-13).

Link copied to clipboard

Logical position of a toolbar relative to its host container.