SearchHighlightText constructor
const
SearchHighlightText({
- Key? key,
- required String text,
- List<
SearchHighlightRange> ranges = const [], - TextStyle? style,
- TextStyle? highlightStyle,
- int? maxLines = 1,
- TextOverflow overflow = TextOverflow.ellipsis,
- 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);