textAfterSelection property
String
get
textAfterSelection
Gets the source code following the selection.
If there is no selection, returns an empty string.
Implementation
String get textAfterSelection {
if (selectionStart == null) return '';
return text.substring(selectionStart! + selectionLength!);
}