NikuTextStyle constructor

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

Implementation

NikuTextStyle({
  this.inherit = true,
  this.color,
  this.backgroundColor,
  this.fontFamily,
  this.fontFamilyFallback,
  this.fontSize,
  this.fontWeight,
  this.fontStyle,
  this.letterSpacing,
  this.wordSpacing,
  this.textBaseline,
  this.height,
  this.leadingDistribution,
  this.locale,
  this.foreground,
  this.background,
  this.decoration,
  this.decorationColor,
  this.decorationStyle,
  this.decorationThickness,
  this.debugLabel,
  this.shadows,
  this.fontFeatures,
  this.overflow,
  this.package,
  double? leading,
  bool? forceStrutHeight,
});