PopupMenuItemImpl

data class PopupMenuItemImpl(val text: String, val action: () -> Unit) : PopupMenuItem

Implementation of PopupMenuItem that works with a String

Constructors

Link copied to clipboard
constructor(text: String, action: () -> Unit)

Properties

Link copied to clipboard
open override val action: () -> Unit

The action to perform when the menu item is clicked

Link copied to clipboard
open override val text: String

The text of the menu item