selectAll method

void selectAll()

Select all the text

Implementation

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