VideoPreviewCard constructor
const
VideoPreviewCard({
- Key? key,
- required String title,
- required String sequence,
- String resolutionLabel = '1080P',
- String durationLabel = '00:04.2',
- String elapsed = '00:01.6',
- String total = '00:04.2',
- double progress = 0.0,
- bool isPlaying = false,
- String? captionLabel,
- String? qualityLabel = '1080p',
- VoidCallback? onSeek,
- VoidCallback? onTogglePlay,
- VoidCallback? onRewind,
- VoidCallback? onForward,
- VoidCallback? onCaptions,
- VoidCallback? onQuality,
- VoidCallback? onBackToEditor,
- 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,
});