textInside property

String textInside

Highlighted text.

Implementation

String get textInside {
  if (range == TextRange.empty) {
    return '';
  }

  return range.textInside(text);
}