USubtitleStyle constructor
const
USubtitleStyle({
- required String name,
- String? fontName,
- double? fontSize,
- Color? primaryColor,
- Color? outlineColor,
- Color? backColor,
- bool bold = false,
- bool italic = false,
- bool underline = false,
- bool strikethrough = false,
- int alignment = 2,
- int marginLeft = 0,
- int marginRight = 0,
- int marginVertical = 0,
- double outline = 0,
- 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,
});