selectAll method

void selectAll()

Selects all text in the editor.

Implementation

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