SubtitleWrapper constructor

const SubtitleWrapper({
  1. required Widget videoChild,
  2. required SubtitleController subtitleController,
  3. required VideoPlayerController videoPlayerController,
  4. Key? key,
  5. SubtitleStyle subtitleStyle = const SubtitleStyle(),
  6. Color? backgroundColor,
})

Implementation

const SubtitleWrapper({
  required this.videoChild,
  required this.subtitleController,
  required this.videoPlayerController,
  super.key,
  this.subtitleStyle = const SubtitleStyle(),
  this.backgroundColor,
});