Style constructor

Style({
  1. String? fontFamily,
  2. String? fontPostScriptName,
  3. int? fontWeight,
  4. String? textAutoResize,
  5. double? fontSize,
  6. String? textAlignHorizontal,
  7. String? textAlignVertical,
  8. double? letterSpacing,
  9. double? lineHeightPx,
  10. double? lineHeightPercent,
  11. String? lineHeightUnit,
})

Implementation

Style({
  this.fontFamily,
  this.fontPostScriptName,
  this.fontWeight,
  this.textAutoResize,
  this.fontSize,
  this.textAlignHorizontal,
  this.textAlignVertical,
  this.letterSpacing,
  this.lineHeightPx,
  this.lineHeightPercent,
  this.lineHeightUnit,
});