selectAll method

void selectAll()

Select all the text

Implementation

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