selectAll method

void selectAll()

Selects all text in the input.

Implementation

void selectAll() {
  selectionStart = 0;
  selectionEnd = _value.length;
  position = _value.length;
}