FullscreenPlayerScreen constructor

const FullscreenPlayerScreen({
  1. Key? key,
  2. String title = 'Title',
  3. String filename = 'clip_00:04.2.mp4',
  4. String captionText = '',
  5. double progress = 0.0,
  6. String elapsed = '00:02.8',
  7. String total = '00:04.2',
  8. bool isPlaying = false,
  9. VoidCallback? onClose,
  10. VoidCallback? onToggle,
  11. VoidCallback? onRewind,
  12. VoidCallback? onForward,
  13. ValueChanged<double>? onSeek,
  14. VoidCallback? onVolume,
  15. VoidCallback? onCaptions,
  16. VoidCallback? onQuality,
  17. VoidCallback? onBackToEditor,
})

Implementation

const FullscreenPlayerScreen({
  super.key,
  this.title = 'Title',
  this.filename = 'clip_00:04.2.mp4',
  this.captionText = '',
  this.progress = 0.0,
  this.elapsed = '00:02.8',
  this.total = '00:04.2',
  this.isPlaying = false,
  this.onClose,
  this.onToggle,
  this.onRewind,
  this.onForward,
  this.onSeek,
  this.onVolume,
  this.onCaptions,
  this.onQuality,
  this.onBackToEditor,
});