textAtCursor property
String
get
textAtCursor
Returns the text at the current cursor position.
Implementation
String get textAtCursor {
final boundaries = _findChipTextBoundaries(selection.baseOffset);
return value.text.substring(boundaries.start, boundaries.end);
}