🌈 Create new beautiful Compose Gradients with our new wesite ->
Function

copyText

Action to copy the text to the clipboard.

copyText

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

Action to copy the text to the clipboard.

Parameters

label Optional label for this action.
action Action to be performed when the SemanticsActions.CopyText is called.