ThumbnailViewer constructor

const ThumbnailViewer({
  1. Key? key,
  2. required File videoFile,
  3. required int videoDuration,
  4. required double thumbnailHeight,
  5. required int numberOfThumbnails,
  6. required BoxFit fit,
  7. int quality = 75,
})

For showing the thumbnails generated from the video, like a frame by frame preview

Implementation

const ThumbnailViewer({
  Key? key,
  required this.videoFile,
  required this.videoDuration,
  required this.thumbnailHeight,
  required this.numberOfThumbnails,
  required this.fit,
  this.quality = 75,
}) : super(key: key);