VideoPlayerWidget constructor

const VideoPlayerWidget({
  1. Key? key,
  2. required String videoUrl,
  3. bool autoPlay = false,
})

Creates a VideoPlayerWidget.

Implementation

const VideoPlayerWidget({
  super.key,
  required this.videoUrl,
  this.autoPlay = false,
});