textAfterCursor property

String get textAfterCursor

Text after the cursor (including char at cursor).

Implementation

String get textAfterCursor => text.substring(_cursorPosition);