UVideoControls constructor
const
UVideoControls({
- required UMediaController controller,
- Key? key,
- bool visible = true,
- String? title,
- List<
UVideoMarker> markers = const <UVideoMarker>[], - Color? accentColor,
- bool showBack = false,
- bool showFullscreen = true,
- bool showPip = true,
- bool showSpeed = true,
- bool showQuality = true,
- bool showSubtitles = true,
- bool showQueue = false,
- bool showLock = true,
- bool isFullscreen = false,
- bool locked = false,
- VoidCallback? onBack,
- VoidCallback? onToggleFullscreen,
- VoidCallback? onToggleLock,
- VoidCallback? onOpenSettings,
- VoidCallback? onOpenQueue,
- VoidCallback? onScrubStart,
- VoidCallback? onScrubEnd,
- Widget thumbnailBuilder(
- BuildContext context,
- Duration position
Implementation
const UVideoControls({
required this.controller,
super.key,
this.visible = true,
this.title,
this.markers = const <UVideoMarker>[],
this.accentColor,
this.showBack = false,
this.showFullscreen = true,
this.showPip = true,
this.showSpeed = true,
this.showQuality = true,
this.showSubtitles = true,
this.showQueue = false,
this.showLock = true,
this.isFullscreen = false,
this.locked = false,
this.onBack,
this.onToggleFullscreen,
this.onToggleLock,
this.onOpenSettings,
this.onOpenQueue,
this.onScrubStart,
this.onScrubEnd,
this.thumbnailBuilder,
});