VideoPlayerWebOptionsControls.enabled constructor

const VideoPlayerWebOptionsControls.enabled({
  1. bool allowDownload = true,
  2. bool allowFullscreen = true,
  3. bool allowPlaybackRate = true,
  4. bool allowPictureInPicture = true,
})

Enables controls and sets how the options are displayed

Implementation

const VideoPlayerWebOptionsControls.enabled({
  this.allowDownload = true,
  this.allowFullscreen = true,
  this.allowPlaybackRate = true,
  this.allowPictureInPicture = true,
}) : enabled = true;