TextContextMenuBuilderScope

Class

Common
class TextContextMenuBuilderScope internal constructor()

Scope for building a text context menu in Modifier.appendTextContextMenuComponents. See member functions for how to add context menu components to this scope as part of the Modifier.appendTextContextMenuComponents modifier. The item function is not in the common source set, but is instead defined as an extension function in the platform specific source sets.

Functions

fun separator()

Adds a separator to the list of text context menu components. Successive separators will be combined into a single separator.