TypeStyle constructor

TypeStyle({
  1. String? fontFamily,
  2. String? fontPostScriptName,
  3. num? paragraphSpacing,
  4. num? paragraphIndent,
  5. bool? italic,
  6. num? fontWeight,
  7. num? fontSize,
  8. TextCase? textCase,
  9. TextDecoration? textDecoration,
  10. TextAutoResize? textAutoResize,
  11. TextAlignHorizontal? textAlignHorizontal,
  12. TextAlignVertical? textAlignVertical,
  13. num? letterSpacing,
  14. List<Paint>? fills,
  15. Map<String, num>? opentypeFlags,
  16. num? lineHeightPx,
  17. num? lineHeightPercent,
  18. num? lineHeightPercentFontSize,
  19. LineHeightUnit? lineHeightUnit,
})

Implementation

TypeStyle({
  this.fontFamily,
  this.fontPostScriptName,
  this.paragraphSpacing,
  this.paragraphIndent,
  this.italic,
  this.fontWeight,
  this.fontSize,
  this.textCase,
  this.textDecoration,
  this.textAutoResize,
  this.textAlignHorizontal,
  this.textAlignVertical,
  this.letterSpacing,
  this.fills,
  this.opentypeFlags,
  this.lineHeightPx,
  this.lineHeightPercent,
  this.lineHeightPercentFontSize,
  this.lineHeightUnit,
});