SubtitleWrapper constructor
const
SubtitleWrapper({
- required Widget videoChild,
- required SubtitleController subtitleController,
- required VideoPlayerController videoPlayerController,
- Key? key,
- SubtitleStyle subtitleStyle = const SubtitleStyle(),
- Color? backgroundColor,
Implementation
const SubtitleWrapper({
required this.videoChild,
required this.subtitleController,
required this.videoPlayerController,
super.key,
this.subtitleStyle = const SubtitleStyle(),
this.backgroundColor,
});