moveCursorToEnd method

void moveCursorToEnd()

Implementation

void moveCursorToEnd() {
  final String text = _lastUpdatedText;
  selection =
      TextSelection.fromPosition(TextPosition(offset: (text ?? '').length));
}