segments property

List of HighlightedTextSegments to present.

Implementation

List<HighlightedTextSegment> get segments {
  /// Highlighter is caching the data so this is fine otherwise this object
  /// would need to know when it needs to requery if the highlighting changed.
  return _highLighter.highlightOption(value);
}