TextStyle constructor

const TextStyle({
  1. num? fontSize,
  2. FontWeight? fontWeight,
  3. String? fontStyle,
  4. Color? color,
  5. num? letterSpacing,
  6. num? height,
  7. String? fontFamily,
  8. TextDecoration? decoration,
})

Creates CSS text style values.

Implementation

const TextStyle(
    {this.fontSize,
    this.fontWeight,
    this.fontStyle,
    this.color,
    this.letterSpacing,
    this.height,
    this.fontFamily,
    this.decoration});