BetterVideoPlayerValue constructor

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