SuperRichText constructor

SuperRichText({
  1. required String text,
  2. Key? key,
  3. TextStyle? style,
  4. StrutStyle? strutStyle,
  5. TextAlign textAlign = TextAlign.start,
  6. TextDirection? textDirection,
  7. Locale? locale,
  8. bool softWrap = true,
  9. TextOverflow overflow = TextOverflow.clip,
  10. double textScaleFactor = 1.0,
  11. int? maxLines,
  12. TextWidthBasis textWidthBasis = TextWidthBasis.parent,
  13. bool useGlobalMarkers = true,
  14. List<MarkerText> othersMarkers = const [],
})

Implementation

SuperRichText(
    {required this.text,
    Key? key,
    this.style,
    this.strutStyle,
    this.textAlign = TextAlign.start,
    this.textDirection,
    this.locale,
    this.softWrap = true,
    this.overflow = TextOverflow.clip,
    this.textScaleFactor = 1.0,
    this.maxLines,
    this.textWidthBasis = TextWidthBasis.parent,
    this.useGlobalMarkers = true,
    this.othersMarkers = const []})
    : super(key: key);