BetterVideoPlayerValue constructor
BetterVideoPlayerValue({
- required Key playerKey,
- required bool isFullScreenMode,
- required StreamController<
BetterVideoPlayerEvent> playerEventStreamController, - double visibilityFraction = 1,
- bool isLoading = true,
- bool isVideoFinish = false,
- bool hasError = false,
- bool wifiInterrupted = false,
- BetterVideoPlayerConfiguration configuration = const BetterVideoPlayerConfiguration(),
- VideoPlayerController? videoPlayerController,
- VoidCallback? enterFullScreenCallback,
- VoidCallback? exitFullScreenCallback,
Implementation
BetterVideoPlayerValue({
required this.playerKey,
required this.isFullScreenMode,
required this.playerEventStreamController,
this.visibilityFraction = 1,
this.isLoading = true,
this.isVideoFinish = false,
this.hasError = false,
this.wifiInterrupted = false,
this.configuration = const BetterVideoPlayerConfiguration(),
this.videoPlayerController,
this.enterFullScreenCallback,
this.exitFullScreenCallback,
});