EnhancedPlayerControls constructor
const
EnhancedPlayerControls({
- Key? key,
- required bool isPlaying,
- bool isRecording = false,
- bool soundEnabled = false,
- bool isFullScreen = false,
- dynamic onPlayPause()?,
- dynamic onStop()?,
- dynamic onRecord()?,
- dynamic onScreenshot()?,
- dynamic onSoundToggle()?,
- dynamic onFullScreenToggle()?,
- dynamic onQualityChange(
- int quality
- 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,
});