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