selectAll method
void
selectAll()
Selects all text in the editor.
Implementation
void selectAll() {
selection = TextSelection(baseOffset: 0, extentOffset: length);
}
Selects all text in the editor.
void selectAll() {
selection = TextSelection(baseOffset: 0, extentOffset: length);
}