EasyRichText constructor

EasyRichText(
  1. String text, {
  2. Key? key,
  3. List<EasyRichTextPattern>? patternList,
  4. TextStyle? defaultStyle,
  5. TextAlign textAlign = TextAlign.start,
  6. TextDirection? textDirection,
  7. bool softWrap = true,
  8. TextOverflow overflow = TextOverflow.clip,
  9. double textScaleFactor = 1.0,
  10. int? maxLines,
  11. Locale? locale,
  12. StrutStyle? strutStyle,
  13. TextWidthBasis textWidthBasis = TextWidthBasis.parent,
  14. bool caseSensitive = true,
  15. 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,
});