SearchHighlightText constructor

const SearchHighlightText({
  1. Key? key,
  2. required String text,
  3. List<SearchHighlightRange> ranges = const [],
  4. TextStyle? style,
  5. TextStyle? highlightStyle,
  6. int? maxLines = 1,
  7. TextOverflow overflow = TextOverflow.ellipsis,
  8. int? maxVisibleLength,
})

Implementation

const SearchHighlightText({
  Key? key,
  required this.text,
  this.ranges = const [],
  this.style,
  this.highlightStyle,
  this.maxLines = 1,
  this.overflow = TextOverflow.ellipsis,
  this.maxVisibleLength,
}) : super(key: key);