ToolbarFrame

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).

Pre-Phase 0 scaffolding.

Constructors

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

Types

Link copied to clipboard
object Companion

Factory holder for common ToolbarFrame values.

Properties

Link copied to clipboard
val height: Dp

Height of the toolbar bar.

Link copied to clipboard

Whether the toolbar is shown at all.

Link copied to clipboard

Where the toolbar is anchored on screen.

Link copied to clipboard

Optional title rendered in the toolbar, or null for no title.