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