cutText

Function

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

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

Parameters

labelOptional label for this action.
actionAction to be performed when the SemanticsActions.CutText is called.