Function
Common
fun SemanticsPropertyReceiver.copyText(label: String? = null, action: (() -> Boolean)?)

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.