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