TextProps constructor

TextProps({
  1. bool inherit = true,
  2. Color? color,
  3. double? fontSize,
  4. FontWeight? fontWeight,
  5. FontStyle? fontStyle,
  6. double? letterSpacing,
  7. Color? backgroundColor,
  8. double? wordSpacing,
  9. TextBaseline? textBaseline,
  10. double? height,
  11. Locale? locale,
  12. Paint? foreground,
  13. Paint? background,
  14. TextDecoration? decoration,
  15. Color? decorationColor,
  16. TextDecorationStyle? decorationStyle,
  17. double? decorationThickness,
  18. String? fontFamily,
  19. TextOverflow? overflow,
})

Implementation

TextProps({
  this.inherit = true,
  this.color,
  this.fontSize,
  this.fontWeight,
  this.fontStyle,
  this.letterSpacing,
  this.backgroundColor,
  this.wordSpacing,
  this.textBaseline,
  this.height,
  this.locale,
  this.foreground,
  this.background,
  this.decoration,
  this.decorationColor,
  this.decorationStyle,
  this.decorationThickness,
  this.fontFamily,
  this.overflow,
});