VideoPreviewCard constructor

const VideoPreviewCard({
  1. Key? key,
  2. required String title,
  3. required String sequence,
  4. String resolutionLabel = '1080P',
  5. String durationLabel = '00:04.2',
  6. String elapsed = '00:01.6',
  7. String total = '00:04.2',
  8. double progress = 0.0,
  9. bool isPlaying = false,
  10. String? captionLabel,
  11. String? qualityLabel = '1080p',
  12. VoidCallback? onSeek,
  13. VoidCallback? onTogglePlay,
  14. VoidCallback? onRewind,
  15. VoidCallback? onForward,
  16. VoidCallback? onCaptions,
  17. VoidCallback? onQuality,
  18. VoidCallback? onBackToEditor,
  19. VoidCallback? onEdit,
})

Implementation

const VideoPreviewCard({
  super.key,
  required this.title,
  required this.sequence,
  this.resolutionLabel = '1080P',
  this.durationLabel = '00:04.2',
  this.elapsed = '00:01.6',
  this.total = '00:04.2',
  this.progress = 0.0,
  this.isPlaying = false,
  this.captionLabel,
  this.qualityLabel = '1080p',
  this.onSeek,
  this.onTogglePlay,
  this.onRewind,
  this.onForward,
  this.onCaptions,
  this.onQuality,
  this.onBackToEditor,
  this.onEdit,
});