WText constructor
const
WText({
- Key? key,
- Key? textKey,
- required String text,
- TextStyle? style,
- WTextStyle wStyle = WTextStyle.bodyLarge,
- WColor wColor = WColor.onBackground,
- Locale? locale,
- int? maxLines,
- TextOverflow? overflow,
- Color? selectionColor,
- String? semanticsLabel,
- bool? softWrap,
- StrutStyle? strutStyle,
- TextAlign? textAlign,
- TextDirection? textDirection,
- TextHeightBehavior? textHeightBehavior,
- TextScaler? textScaler,
- TextWidthBasis? textWidthBasis,
Implementation
const WText({
super.key,
this.textKey,
required this.text,
this.style,
this.wStyle = WTextStyle.bodyLarge,
this.wColor = WColor.onBackground,
this.locale,
this.maxLines,
this.overflow,
this.selectionColor,
this.semanticsLabel,
this.softWrap,
this.strutStyle,
this.textAlign,
this.textDirection,
this.textHeightBehavior,
this.textScaler,
this.textWidthBasis,
});