button
abstract fun button(label: UiText, width: Int, enabled: Boolean, modifier: Modifier, key: ElementKey<*>?): Element(source)
Creates one profile-backed pointer button element.
Return
an immutable retained-element description owned by the caller.
Parameters
label
unresolved label retained for drawing and semantics.
width
fixed logical button width.
enabled
whether enabled pixels and semantics are used.
modifier
active behavior, including caller-owned actions.
key
optional stable sibling identity.