PlayerView constructor
PlayerView({ - required Player player,
- PlayerViewConfig playerViewConfig = const PlayerViewConfig(),
- Key? key,
- void onViewCreated()?,
- FullscreenHandler? fullscreenHandler,
- void onFullscreenEnter(
- FullscreenEnterEvent
)?,
- void onFullscreenExit(
- FullscreenExitEvent
)?,
- void onPictureInPictureEnter(
- PictureInPictureEnterEvent
)?,
- void onPictureInPictureEntered(
- PictureInPictureEnteredEvent
)?,
- void onPictureInPictureExit(
- PictureInPictureExitEvent
)?,
- void onPictureInPictureExited(
- 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,
});