MultiHighLightText constructor
const
MultiHighLightText({
- Key? key,
- required String text,
- required TextStyle textStyle,
- List<
HighlightItem> ? highlights, - MixStyleBuilder? onMixStyleBuilder,
- DecorateTextSpanBuilder? onDecorateTextSpanBuilder,
- int? maxLines,
- TextOverflow overflow = TextOverflow.clip,
Implementation
const MultiHighLightText({
Key? key,
required this.text,
required this.textStyle,
this.highlights,
this.onMixStyleBuilder,
this.onDecorateTextSpanBuilder,
this.maxLines,
this.overflow = TextOverflow.clip,
}) : super(key: key);