BetterVideoPlayerConfiguration constructor

const BetterVideoPlayerConfiguration({
  1. bool autoPlay = true,
  2. bool looping = false,
  3. Widget placeholder = const SizedBox(),
  4. bool allowedScreenSleep = false,
  5. bool autoPlayWhenResume = true,
  6. Widget controls = const BetterVideoPlayerControls(isFullScreen: false),
  7. Widget fullScreenControls = const BetterVideoPlayerControls(isFullScreen: true),
})

Implementation

const BetterVideoPlayerConfiguration({
  this.autoPlay = true,
  this.looping = false,
  this.placeholder = const SizedBox(),
  this.allowedScreenSleep = false,
  this.autoPlayWhenResume = true,
  this.controls = const BetterVideoPlayerControls(isFullScreen: false),
  this.fullScreenControls = const BetterVideoPlayerControls(isFullScreen: true),
});