YoutubeCaptionedPlayer constructor

const YoutubeCaptionedPlayer({
  1. Key? key,
  2. required Video video,
  3. double? height,
  4. double? width,
  5. bool sound = true,
  6. bool caption = true,
  7. bool allowScrubbing = false,
  8. bool isUi = true,
  9. double closedCaptionsFontSize = 12,
  10. FontWeight closedCaptionsFontWeight = FontWeight.bold,
  11. Color closedCaptionsTextColor = Colors.white,
})

Implementation

const YoutubeCaptionedPlayer({
  super.key,
  required this.video,
  this.height,
  this.width,
  this.sound = true,
  this.caption = true,
  this.allowScrubbing = false,
  this.isUi = true,
  this.closedCaptionsFontSize = 12,
  this.closedCaptionsFontWeight = FontWeight.bold,
  this.closedCaptionsTextColor = Colors.white,
});