enterText method

void enterText (String text)

Simulates the user typing the given text.

Implementation

void enterText(String text) {
  updateEditingValue(TextEditingValue(
    text: text,
  ));
}