VideoBox constructor

const VideoBox({
  1. Key? key,
  2. required String videoPath,
  3. required Color backgroundColor,
  4. required ProgressIndicator progressIndicator,
  5. bool autoPlaying = true,
  6. bool isOpenFullScreenPlay = true,
  7. Widget? notPlayingWidget,
  8. Widget? playingFailWidget,
  9. void videoLoadFailCallback(
    1. Object error
    )?,
})

Implementation

const VideoBox(
    {super.key,
    required this.videoPath,
    required this.backgroundColor,
    required this.progressIndicator,
    this.autoPlaying = true,
    this.isOpenFullScreenPlay = true,
    this.notPlayingWidget,
    this.playingFailWidget,
    this.videoLoadFailCallback});