ToolbarItems

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

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

Items are split into visible and overflow at grouping time — the SubComposeLayout-based com.pspdfkit.compose.toolbar.composables layer does this once per measurement.

Constructors

Link copied to clipboard
constructor(visible: PersistentList<ToolbarItem> = persistentListOf(), overflow: PersistentList<ToolbarItem> = persistentListOf())

Types

Link copied to clipboard
object Companion

Factory holder for common ToolbarItems values.

Properties

Link copied to clipboard
val overflow: PersistentList<ToolbarItem>

Items moved into the overflow menu, in order.

Link copied to clipboard
val visible: PersistentList<ToolbarItem>

Items rendered directly in the toolbar row, in order.