BetterPlayerSubtitlesConfiguration constructor
const
BetterPlayerSubtitlesConfiguration({
- double fontSize = 14,
- Color fontColor = Colors.white,
- bool outlineEnabled = true,
- Color outlineColor = Colors.black,
- double outlineSize = 2.0,
- String fontFamily = "Roboto",
- double leftPadding = 8.0,
- double rightPadding = 8.0,
- double bottomPadding = 20.0,
- Alignment alignment = Alignment.center,
- Color backgroundColor = Colors.transparent,
Implementation
const BetterPlayerSubtitlesConfiguration({
this.fontSize = 14,
this.fontColor = Colors.white,
this.outlineEnabled = true,
this.outlineColor = Colors.black,
this.outlineSize = 2.0,
this.fontFamily = "Roboto",
this.leftPadding = 8.0,
this.rightPadding = 8.0,
this.bottomPadding = 20.0,
this.alignment = Alignment.center,
this.backgroundColor = Colors.transparent,
});