WText constructor
const
WText(
- String data, {
- required TextStyles styles,
- required WFontWeigth fontType,
- required WColor color,
- Key? key,
- Locale? locale,
- int? maxLines,
- TextOverflow? overflow,
- Color? selectionColor,
- String? semanticsLabel,
- TextStyle? style,
- bool? softWrap,
- StrutStyle? strutStyle,
- TextAlign? textAlign,
- TextDirection? textDirection,
- TextHeightBehavior? textHeightBehavior,
- double? textScaleFactor,
- TextWidthBasis? textWidthBasis,
Implementation
const WText(
super.data, {
required this.styles,
required this.fontType,
required this.color,
super.key,
super.locale,
super.maxLines,
super.overflow,
super.selectionColor,
super.semanticsLabel,
super.style,
super.softWrap,
super.strutStyle,
super.textAlign,
super.textDirection,
super.textHeightBehavior,
super.textScaleFactor,
super.textWidthBasis,
});