PlayerView constructor

PlayerView({
  1. required Player player,
  2. PlayerViewConfig playerViewConfig = const PlayerViewConfig(),
  3. Key? key,
  4. void onViewCreated()?,
  5. FullscreenHandler? fullscreenHandler,
  6. void onFullscreenEnter(
    1. FullscreenEnterEvent
    )?,
  7. void onFullscreenExit(
    1. FullscreenExitEvent
    )?,
  8. void onPictureInPictureEnter(
    1. PictureInPictureEnterEvent
    )?,
  9. void onPictureInPictureEntered(
    1. PictureInPictureEnteredEvent
    )?,
  10. void onPictureInPictureExit(
    1. PictureInPictureExitEvent
    )?,
  11. void onPictureInPictureExited(
    1. PictureInPictureExitedEvent
    )?,
})

Implementation

PlayerView({
  required this.player,
  this.playerViewConfig = const PlayerViewConfig(),
  super.key,
  this.onViewCreated,
  this.fullscreenHandler,
  this.onFullscreenEnter,
  this.onFullscreenExit,
  this.onPictureInPictureEnter,
  this.onPictureInPictureEntered,
  this.onPictureInPictureExit,
  this.onPictureInPictureExited,
});