NativeVideoPlayer constructor

const NativeVideoPlayer({
  1. Key? key,
  2. required String url,
  3. bool autoplay = true,
  4. void onViewCreated(
    1. NativeVideoPlayerController
    )?,
  5. VoidCallback? onPipStarted,
  6. VoidCallback? onPipStopped,
  7. VoidCallback? onPipRestoreToFullscreen,
})

Implementation

const NativeVideoPlayer({
  super.key,
  required this.url,
  this.autoplay = true,
  this.onViewCreated,
  this.onPipStarted,
  this.onPipStopped,
  this.onPipRestoreToFullscreen,
});