Class

TextContextMenuBuilderScope

Scope for building a text context menu in Modifier.appendTextContextMenuComponents.

Source set: Common
public 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

separator

Source set: Common
public fun separator()

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

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: