setText constant

SemanticsAction const setText

Replaces the current text in the text field.

This is for example used by the text editing in voice access.

The action includes a string argument, which is the new text to replace.

Implementation

static const SemanticsAction setText = SemanticsAction._(_kSetTextIndex, 'setText');