USubtitleStyleConfig constructor
const
USubtitleStyleConfig({
- double fontSize = 18,
- Color color = const Color(0xFFFFFFFF),
- Color outlineColor = const Color(0xFF000000),
- double outlineWidth = 2.5,
- Color backgroundColor = const Color(0x00000000),
- FontWeight fontWeight = FontWeight.w600,
- String? fontFamily,
- String? rtlFontFamily = "Vazir",
- double bottomPadding = 24,
- double horizontalPadding = 24,
- double lineHeight = 1.3,
- bool shadow = true,
- bool honorAssStyling = true,
- int maxLines = 4,
Implementation
const USubtitleStyleConfig({
this.fontSize = 18,
this.color = const Color(0xFFFFFFFF),
this.outlineColor = const Color(0xFF000000),
this.outlineWidth = 2.5,
this.backgroundColor = const Color(0x00000000),
this.fontWeight = FontWeight.w600,
this.fontFamily,
this.rtlFontFamily = "Vazir",
this.bottomPadding = 24,
this.horizontalPadding = 24,
this.lineHeight = 1.3,
this.shadow = true,
this.honorAssStyling = true,
this.maxLines = 4,
});