BetterVideoPlayerConfiguration constructor
const
BetterVideoPlayerConfiguration({
- bool autoPlay = true,
- bool looping = false,
- Widget placeholder = const SizedBox(),
- bool allowedScreenSleep = false,
- bool autoPlayWhenResume = true,
- Widget controls = const BetterVideoPlayerControls(isFullScreen: false),
- 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),
});