selectAll method

void selectAll()

Selects all text in the input.

Implementation

void selectAll() {
  _applyOffsetStateSnapshot(
    TextOffsetStateSnapshot.selection(
      baseOffset: 0,
      extentOffset: _value.length,
      cursorOffset: _value.length,
    ),
  );
}