JuiHighlightedText constructor
const
JuiHighlightedText({
- Key? key,
- required String text,
- List<
HighlightWord> highlights = const [], - TextStyle? textStyle,
- TextStyle? highlightStyle,
- int maxLines = 5,
- TextOverflow overflow = TextOverflow.ellipsis,
Implementation
const JuiHighlightedText({
Key? key,
required this.text,
this.highlights = const [],
this.textStyle,
this.highlightStyle,
this.maxLines = 5,
this.overflow = TextOverflow.ellipsis,
}) : super(key: key);