NativeVideoPlayer constructor
const
NativeVideoPlayer({
- Key? key,
- required String url,
- bool autoplay = true,
- void onViewCreated()?,
- VoidCallback? onPipStarted,
- VoidCallback? onPipStopped,
- VoidCallback? onPipRestoreToFullscreen,
Implementation
const NativeVideoPlayer({
super.key,
required this.url,
this.autoplay = true,
this.onViewCreated,
this.onPipStarted,
this.onPipStopped,
this.onPipRestoreToFullscreen,
});