SearchHighlightText constructor
const
SearchHighlightText(
- String text, {
- Key? key,
- String? searchText,
- RegExp? searchRegExp,
- TextStyle? style,
- int? maxLines,
- TextOverflow? overflow,
- TextAlign? textAlign,
- TextDirection? textDirection,
- bool? softWrap,
- double? textScaleFactor,
- Locale? locale,
- StrutStyle? strutStyle,
- TextWidthBasis? textWidthBasis,
- TextStyle? highlightStyle,
Implementation
const SearchHighlightText(
this.text, {
Key? key,
this.searchText,
this.searchRegExp,
this.style,
this.maxLines,
this.overflow,
this.textAlign,
this.textDirection,
this.softWrap,
this.textScaleFactor,
this.locale,
this.strutStyle,
this.textWidthBasis,
this.highlightStyle,
}) : assert(searchText == null || searchRegExp == null),
super(key: key);