clear method

void clear()

Clears the text.

Implementation

void clear() {
  value = const TextEditingValue();
}