textBefore property
Text before the highlighted text.
Implementation
String get textBefore {
if (range == TextRange.empty) {
return '';
}
return range.textBefore(text);
}
Text before the highlighted text.
String get textBefore {
if (range == TextRange.empty) {
return '';
}
return range.textBefore(text);
}