ProVideoController constructor

ProVideoController({
  1. required Widget videoPlayer,
  2. required Duration videoDuration,
  3. required Size initialResolution,
  4. required int fileSize,
  5. List<ImageProvider<Object>>? thumbnails,
})

Creates a ProVideoController instance.

Requires a videoPlayer widget, videoDuration, initialResolution, and the video file size in bytes.

Implementation

ProVideoController({
  required this.videoPlayer,
  required this.videoDuration,
  required this.initialResolution,
  required this.fileSize,
  List<ImageProvider>? thumbnails,
}) {
  this.thumbnails = thumbnails;
}