VideoPlayer constructor
const
VideoPlayer({
- required String source,
- bool autoPlay = false,
- bool muted = false,
- bool showControls = true,
- WPVideoPlayerConfig? config,
- double aspectRatio = 16 / 9,
- BorderRadius? borderRadius,
- Key? key,
Implementation
const VideoPlayer({
required this.source,
this.autoPlay = false,
this.muted = false,
this.showControls = true,
this.config,
this.aspectRatio = 16 / 9,
this.borderRadius,
super.key,
});