moveCursorRight method
void
moveCursorRight()
Moves the cursor one character to the right.
Implementation
void moveCursorRight() {
if (_cursorPosition < _text.length) {
_cursorPosition++;
clearSelection();
notifyListeners();
}
}