AVVideoPlayer constructor

const AVVideoPlayer(
  1. AVPlayerController controller, {
  2. Key? key,
  3. bool showControls = false,
  4. AVControlsConfig? controlsConfig,
  5. Widget controlsBuilder(
    1. BuildContext context,
    2. AVPlayerController controller
    )?,
  6. AVGestureConfig? gestureConfig,
  7. String? title,
  8. VoidCallback? onFullscreen,
  9. VoidCallback? onNext,
  10. VoidCallback? onPrevious,
})

Implementation

const AVVideoPlayer(
  this.controller, {
  super.key,
  this.showControls = false,
  this.controlsConfig,
  this.controlsBuilder,
  this.gestureConfig,
  this.title,
  this.onFullscreen,
  this.onNext,
  this.onPrevious,
});