VideoPlayerOptions constructor
VideoPlayerOptions({
- bool mixWithOthers = false,
- bool allowBackgroundPlayback = false,
- VideoPlayerWebOptions? webOptions,
Set additional optional player settings
Implementation
// TODO(stuartmorgan): Temporarily suppress warnings about not using const
// in all of the other video player packages, fix this, and then update
// the other packages to use const.
// ignore: prefer_const_constructors_in_immutables
VideoPlayerOptions({
this.mixWithOthers = false,
this.allowBackgroundPlayback = false,
this.webOptions,
});