EasyRichText constructor
EasyRichText(
- String text, {
- Key? key,
- List<
EasyRichTextPattern> ? patternList, - TextStyle? defaultStyle,
- TextAlign textAlign = TextAlign.start,
- TextDirection? textDirection,
- bool softWrap = true,
- TextOverflow overflow = TextOverflow.clip,
- double textScaleFactor = 1.0,
- int? maxLines,
- Locale? locale,
- StrutStyle? strutStyle,
- TextWidthBasis textWidthBasis = TextWidthBasis.parent,
- bool caseSensitive = true,
- bool selectable = false,
Implementation
EasyRichText(
this.text, {
Key? key,
this.patternList,
this.defaultStyle,
this.textAlign = TextAlign.start,
this.textDirection,
this.softWrap = true,
this.overflow = TextOverflow.clip,
this.textScaleFactor = 1.0,
this.maxLines,
this.locale,
this.strutStyle,
this.textWidthBasis = TextWidthBasis.parent,
this.caseSensitive = true,
this.selectable = false,
});