SuperRichText constructor
SuperRichText({
- required String text,
- Key? key,
- TextStyle? style,
- StrutStyle? strutStyle,
- TextAlign textAlign = TextAlign.start,
- TextDirection? textDirection,
- Locale? locale,
- bool softWrap = true,
- TextOverflow overflow = TextOverflow.clip,
- double textScaleFactor = 1.0,
- int? maxLines,
- TextWidthBasis textWidthBasis = TextWidthBasis.parent,
- bool useGlobalMarkers = true,
- 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);