TextStyle constructor

const TextStyle({
  1. bool inherit = true,
  2. Color? color,
  3. Color? backgroundColor,
  4. double? fontSize,
  5. FontWeight? fontWeight,
  6. FontStyle? fontStyle,
  7. String? fontFamily,
  8. List<String>? fontFamilyFallback,
  9. double? letterSpacing,
  10. double? wordSpacing,
  11. double? height,
  12. TextDecoration? decoration,
  13. Color? decorationColor,
  14. TextOverflow? overflow,
})

Implementation

const TextStyle({
  this.inherit = true,
  this.color,
  this.backgroundColor,
  this.fontSize,
  this.fontWeight,
  this.fontStyle,
  this.fontFamily,
  this.fontFamilyFallback,
  this.letterSpacing,
  this.wordSpacing,
  this.height,
  this.decoration,
  this.decorationColor,
  this.overflow,
});