TStyle.origin constructor

const TStyle.origin({
  1. Color? color,
  2. double? fontSize = 14,
  3. double? letterSpacing,
  4. double? wordSpacing,
  5. double? height,
  6. String? fontFamily,
  7. TextBaseline? textBaseline = TextBaseline.ideographic,
  8. FontWeight? fontWeight,
  9. Color? backgroundColor,
  10. bool inherit = true,
  11. List<String>? fontFamilyFallback,
  12. String? package,
  13. Locale? locale,
  14. FontStyle? fontStyle,
  15. Paint? foreground,
  16. Paint? background,
  17. TextDecoration? decoration = TextDecoration.none,
  18. Color? decorationColor,
  19. TextDecorationStyle? decorationStyle,
  20. double? decorationThickness,
  21. String? debugLabel,
  22. List<Shadow>? shadows,
  23. List<FontFeature>? fontFeatures,
  24. List<FontVariation>? fontVariations,
  25. TextLeadingDistribution? leadingDistribution,
  26. TextOverflow? overflow,
})

原始数据,不添加任何颜色

Implementation

const TStyle.origin(
    {super.color,
    super.fontSize = 14,
    super.letterSpacing,
    super.wordSpacing,
    super.height,
    super.fontFamily,
    super.textBaseline = TextBaseline.ideographic,
    super.fontWeight,
    super.backgroundColor,
    super.inherit = true,
    super.fontFamilyFallback,
    super.package,
    super.locale,
    super.fontStyle,
    super.foreground,
    super.background,
    super.decoration = TextDecoration.none,
    super.decorationColor,
    super.decorationStyle,
    super.decorationThickness,
    super.debugLabel,
    super.shadows,
    super.fontFeatures,
    super.fontVariations,
    super.leadingDistribution,
    super.overflow});