EnhancedPlayerControls constructor

const EnhancedPlayerControls({
  1. Key? key,
  2. required bool isPlaying,
  3. bool isRecording = false,
  4. bool soundEnabled = false,
  5. bool isFullScreen = false,
  6. dynamic onPlayPause()?,
  7. dynamic onStop()?,
  8. dynamic onRecord()?,
  9. dynamic onScreenshot()?,
  10. dynamic onSoundToggle()?,
  11. dynamic onFullScreenToggle()?,
  12. dynamic onQualityChange(
    1. int quality
    )?,
  13. int currentQuality = 2,
})

Implementation

const EnhancedPlayerControls({
  super.key,
  required this.isPlaying,
  this.isRecording = false,
  this.soundEnabled = false,
  this.isFullScreen = false,
  this.onPlayPause,
  this.onStop,
  this.onRecord,
  this.onScreenshot,
  this.onSoundToggle,
  this.onFullScreenToggle,
  this.onQualityChange,
  this.currentQuality = 2,
});