TextStyle constructor

const TextStyle({
  1. TextStyleType type = TextStyleType.custom,
  2. double? fontSize,
  3. Color? color,
  4. FontStyle? fontStyle,
  5. FontWeight? fontWeight,
  6. double? letterSpacing,
})

Implementation

const TextStyle({
  this.type = TextStyleType.custom,
  this.fontSize,
  this.color,
  this.fontStyle,
  this.fontWeight,
  this.letterSpacing,
});