HighlightedText constructor
const
HighlightedText({
- Key? key,
- required String text,
- required List<
String> highlights, - Color? highlightColor,
- Color? highlightTextColor,
- FontWeight? highlightFontWeight,
- Color? highlightBackgroundColor,
- bool caseSensitive = false,
- Color? color,
- double? fontSize,
- FontWeight? fontWeight,
- String? fontFamily,
- TextStyle? textStyle,
- int? maxLines,
- TextAlign? textAlign,
- TextOverflow? overflow,
- void onHighlightTap()?,
- bool? enableSecurity,
Implementation
const HighlightedText({
super.key,
required this.text,
required this.highlights,
this.highlightColor,
this.highlightTextColor,
this.highlightFontWeight,
this.highlightBackgroundColor,
this.caseSensitive = false,
this.color,
this.fontSize,
this.fontWeight,
this.fontFamily,
this.textStyle,
this.maxLines,
this.textAlign,
this.overflow,
this.onHighlightTap,
this.enableSecurity,
});