selectAll method

void selectAll()

Implementation

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