selectAll method

void selectAll()

Selects all text in the editor.

Implementation

void selectAll() {
  setSelectionImmediately(TextSelection(baseOffset: 0, extentOffset: length));
}