StacText constructor

StacText({
  1. required String data,
  2. List<StacTextSpan>? children,
  3. StacTextStyle? style,
  4. StacCustomTextStyle? copyWithStyle,
  5. StacTextAlign? textAlign,
  6. StacTextDirection? textDirection,
  7. bool? softWrap,
  8. StacTextOverflow? overflow,
  9. double? textScaleFactor,
  10. int? maxLines,
  11. String? semanticsLabel,
  12. StacTextWidthBasis? textWidthBasis,
  13. StacColor? selectionColor,
})

Creates a StacText widget.

Implementation

StacText({
  required this.data,
  this.children,
  this.style,
  this.copyWithStyle,
  this.textAlign,
  this.textDirection,
  this.softWrap,
  this.overflow,
  this.textScaleFactor,
  this.maxLines,
  this.semanticsLabel,
  this.textWidthBasis,
  this.selectionColor,
});