StacText constructor
StacText({
- required String data,
- List<
StacTextSpan> ? children, - StacTextStyle? style,
- StacCustomTextStyle? copyWithStyle,
- StacTextAlign? textAlign,
- StacTextDirection? textDirection,
- bool? softWrap,
- StacTextOverflow? overflow,
- double? textScaleFactor,
- int? maxLines,
- String? semanticsLabel,
- StacTextWidthBasis? textWidthBasis,
- 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,
});