StatefulVideoPlayer constructor

const StatefulVideoPlayer({
  1. Key? key,
  2. String? videoUrl,
  3. PFile? videoFile,
  4. required String? thumbnailUrl,
  5. VoidCallback? onCompletion,
  6. required bool autoplay,
  7. bool? showControls,
  8. VideoInitializer? initializer,
  9. bool isThumbnail = false,
})

Implementation

const StatefulVideoPlayer({
  Key? key,
  this.videoUrl,
  this.videoFile,
  required this.thumbnailUrl,
  this.onCompletion,
  required this.autoplay,
  this.showControls,
  this.initializer,
  this.isThumbnail = false,
}) : super(key: key);