clearTextSubstitution

Function

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

Action to clear the text substitution of this node.

Expected to be used on non-editable text.

Parameters

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