Function

cutText

Action to cut the text and copy it to the clipboard.

cutText

Source set: Common
public fun SemanticsPropertyReceiver.cutText(
    label: String? = null,
    action: (() -> Boolean)?,
): Unit

Action to cut the text and copy it to the clipboard.

Parameters

label Optional label for this action.
action Action to be performed when the SemanticsActions.CutText is called.
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: