PlayerKidSubtitlesConfiguration constructor

const PlayerKidSubtitlesConfiguration({
  1. double fontSize = 14,
  2. Color fontColor = Colors.white,
  3. bool outlineEnabled = true,
  4. Color outlineColor = Colors.black,
  5. double outlineSize = 2.0,
  6. String fontFamily = "Roboto",
  7. double leftPadding = 8.0,
  8. double rightPadding = 8.0,
  9. double bottomPadding = 20.0,
  10. Alignment alignment = Alignment.center,
  11. Color backgroundColor = Colors.transparent,
})

Implementation

const PlayerKidSubtitlesConfiguration({
  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,
});