MenuRowElement

data class MenuRowElement(val text: String, val onClick: () -> Unit? = null, val rightElement: UiElement? = null) : UiElement.Interactive

A clickable element in a list of related actions.

Constructors

Link copied to clipboard
constructor(text: String, onClick: () -> Unit? = null, rightElement: UiElement? = null)

Properties

Link copied to clipboard
val onClick: () -> Unit? = null

Invoked when the row is clicked.

Link copied to clipboard
val rightElement: UiElement? = null

Optional element to display on the right side of the row.

Link copied to clipboard

Primary Label displayed in the row.