HighlightedText constructor

const HighlightedText({
  1. Key? key,
  2. required String text,
  3. required List<String> highlights,
  4. Color? highlightColor,
  5. Color? highlightTextColor,
  6. FontWeight? highlightFontWeight,
  7. Color? highlightBackgroundColor,
  8. bool caseSensitive = false,
  9. Color? color,
  10. double? fontSize,
  11. FontWeight? fontWeight,
  12. String? fontFamily,
  13. TextStyle? textStyle,
  14. int? maxLines,
  15. TextAlign? textAlign,
  16. TextOverflow? overflow,
  17. void onHighlightTap(
    1. String
    )?,
  18. 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,
});