TextNormal constructor

TextNormal(
  1. String? text, {
  2. Key? key,
  3. double? letterSpacing,
  4. double? wordSpacing,
  5. double? fontSize = 14,
  6. String? fontFamily,
  7. FontWeight? fontWeight,
  8. List<String>? fontFamilyFallback,
  9. FontStyle? fontStyle,
  10. Color? color,
  11. Color? backgroundColor,
  12. Paint? foreground,
  13. Paint? background,
  14. double? height,
  15. TextBaseline? textBaseline = TextBaseline.ideographic,
  16. bool inherit = true,
  17. String? package,
  18. Locale? locale,
  19. List<FontFeature>? fontFeatures,
  20. List<Shadow>? shadows,
  21. TextAlign? textAlign,
  22. TextDecoration decoration = TextDecoration.none,
  23. Color? decorationColor,
  24. TextDecorationStyle? decorationStyle,
  25. double? decorationThickness,
  26. String? debugLabel,
  27. bool useStyleFirst = false,
  28. GestureRecognizer? recognizer,
  29. String? semanticsLabel,
  30. StrutStyle? strutStyle,
  31. TextDirection? textDirection,
  32. bool? softWrap,
  33. double? textScaleFactor,
  34. TextWidthBasis? textWidthBasis,
  35. TextHeightBehavior? textHeightBehavior,
  36. Color? selectionColor,
  37. TextScaler textScaler = TextScaler.noScaling,
  38. TextLeadingDistribution? leadingDistribution,
  39. List<FontVariation>? fontVariations,
  40. TextOverflow? overflow,
  41. int? maxLines,
  42. TextStyle? style,
})

Implementation

TextNormal(
  super.text, {
  super.key,
  super.letterSpacing,
  super.wordSpacing,
  super.fontSize = 14,
  super.fontFamily,
  super.fontWeight,
  super.fontFamilyFallback,
  super.fontStyle,
  super.color,
  super.backgroundColor,
  super.foreground,
  super.background,
  super.height,
  super.textBaseline = TextBaseline.ideographic,
  super.inherit = true,
  super.package,
  super.locale,
  super.fontFeatures,
  super.shadows,
  super.textAlign,
  super.decoration = TextDecoration.none,
  super.decorationColor,
  super.decorationStyle,
  super.decorationThickness,
  super.debugLabel,
  super.useStyleFirst = false,
  super.recognizer,
  super.semanticsLabel,
  super.strutStyle,
  super.textDirection,
  super.softWrap,
  super.textScaleFactor,
  super.textWidthBasis,
  super.textHeightBehavior,
  super.selectionColor,
  super.textScaler = TextScaler.noScaling,
  super.leadingDistribution,
  super.fontVariations,
  super.overflow,
  super.maxLines,
  TextStyle? style,
}) : super(
          style: BaseText._mergeStyle(
              Universally().config.textStyle?.normal, style));