USubtitleStyle constructor

const USubtitleStyle({
  1. required String name,
  2. String? fontName,
  3. double? fontSize,
  4. Color? primaryColor,
  5. Color? outlineColor,
  6. Color? backColor,
  7. bool bold = false,
  8. bool italic = false,
  9. bool underline = false,
  10. bool strikethrough = false,
  11. int alignment = 2,
  12. int marginLeft = 0,
  13. int marginRight = 0,
  14. int marginVertical = 0,
  15. double outline = 0,
  16. double shadow = 0,
})

Implementation

const USubtitleStyle({
  required this.name,
  this.fontName,
  this.fontSize,
  this.primaryColor,
  this.outlineColor,
  this.backColor,
  this.bold = false,
  this.italic = false,
  this.underline = false,
  this.strikethrough = false,
  this.alignment = 2,
  this.marginLeft = 0,
  this.marginRight = 0,
  this.marginVertical = 0,
  this.outline = 0,
  this.shadow = 0,
});