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

clearTextSubstitution

Action to clear the text substitution of this node.

clearTextSubstitution

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

Action to clear the text substitution of this node.

Expected to be used on non-editable text.

Parameters

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