EnabledControls constructor

const EnabledControls({
  1. bool desktopTapToPlayAndPause = true,
  2. bool escapeKeyCloseFullScreen = true,
  3. bool numPadDecimalKeyToggleFit = true,
  4. bool enterKeyOpensFullScreen = true,
  5. bool spaceKeyTogglePlay = true,
  6. bool volumeArrows = true,
  7. bool seekArrows = true,
  8. bool seekSwipes = true,
  9. bool volumeSwipes = true,
  10. bool brightnessSwipes = true,
  11. bool doubleTapToSeek = true,
  12. bool desktopDoubleTapToFullScreen = true,
  13. bool onLongPressSpeedUp = false,
})

Implementation

const EnabledControls(
    {this.desktopTapToPlayAndPause = true,
    this.escapeKeyCloseFullScreen = true,
    this.numPadDecimalKeyToggleFit = true,
    this.enterKeyOpensFullScreen = true,
    this.spaceKeyTogglePlay = true,
    this.volumeArrows = true,
    this.seekArrows = true,
    this.seekSwipes = true,
    this.volumeSwipes = true,
    this.brightnessSwipes = true,
    this.doubleTapToSeek = true,
    this.desktopDoubleTapToFullScreen = true,
    this.onLongPressSpeedUp = false});