VideoPlayer constructor

const VideoPlayer({
  1. required String source,
  2. double aspectRatio = 16 / 9,
  3. bool autoPlay = false,
  4. bool muted = false,
  5. WPVideoPlayerConfig? config,
  6. Key? key,
})

Implementation

const VideoPlayer({
  required this.source,
  this.aspectRatio = 16 / 9,
  this.autoPlay = false,
  this.muted = false,
  this.config,
  super.key,
});