WText constructor

const WText({
  1. Key? key,
  2. Key? textKey,
  3. required String text,
  4. TextStyle? style,
  5. WTextStyle wStyle = WTextStyle.bodyLarge,
  6. WColor wColor = WColor.onBackground,
  7. Locale? locale,
  8. int? maxLines,
  9. TextOverflow? overflow,
  10. Color? selectionColor,
  11. String? semanticsLabel,
  12. bool? softWrap,
  13. StrutStyle? strutStyle,
  14. TextAlign? textAlign,
  15. TextDirection? textDirection,
  16. TextHeightBehavior? textHeightBehavior,
  17. TextScaler? textScaler,
  18. 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,
});