BetterVideoPlayerValue constructor

BetterVideoPlayerValue({
  1. required Key playerKey,
  2. required bool isFullScreenMode,
  3. required StreamController<BetterVideoPlayerEvent> playerEventStreamController,
  4. double visibilityFraction = 1,
  5. bool isLoading = true,
  6. bool isVideoFinish = false,
  7. bool hasError = false,
  8. bool wifiInterrupted = false,
  9. BetterVideoPlayerConfiguration configuration = const BetterVideoPlayerConfiguration(),
  10. VideoPlayerController? videoPlayerController,
  11. VoidCallback? enterFullScreenCallback,
  12. 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,
});