FxText constructor

FxText(
  1. String text, {
  2. TextStyle? style,
  3. int? fontWeight = 500,
  4. bool muted = false,
  5. bool xMuted = false,
  6. double? letterSpacing = 0.15,
  7. Color? color,
  8. TextDecoration decoration = TextDecoration.none,
  9. double? height,
  10. double wordSpacing = 0,
  11. double? fontSize,
  12. FxTextType textType = FxTextType.b1,
  13. Key? key,
  14. TextAlign? textAlign,
  15. int? maxLines,
  16. Locale? locale,
  17. TextOverflow? overflow,
  18. String? semanticsLabel,
  19. bool? softWrap,
  20. StrutStyle? strutStyle,
  21. TextDirection? textDirection,
  22. TextHeightBehavior? textHeightBehavior,
  23. double? textScaleFactor,
  24. TextWidthBasis? textWidthBasis,
})

Implementation

FxText(this.text,
    {this.style,
    this.fontWeight = 500,
    this.muted = false,
    this.xMuted = false,
    this.letterSpacing = 0.15,
    this.color,
    this.decoration = TextDecoration.none,
    this.height,
    this.wordSpacing = 0,
    this.fontSize,
    this.textType = FxTextType.b1,
    this.key,
    this.textAlign,
    this.maxLines,
    this.locale,
    this.overflow,
    this.semanticsLabel,
    this.softWrap,
    this.strutStyle,
    this.textDirection,
    this.textHeightBehavior,
    this.textScaleFactor,
    this.textWidthBasis});