CustomVideoSlider constructor
const
CustomVideoSlider({
- Key? key,
- required Duration currentPosition,
- required Duration totalDuration,
- required Duration bufferedPosition,
- ValueChanged<
Duration> ? onDragUpdate, - ValueChanged<
Duration> ? onDragEnd, - ValueChanged<
Duration> ? onSeekEnd, - Orientation orientation = Orientation.portrait,
- List<
double> ? chapterMarkerPositions, - ValueChanged<
double> ? onMarkerTap,
Implementation
const CustomVideoSlider({
super.key,
required this.currentPosition,
required this.totalDuration,
required this.bufferedPosition,
this.onDragUpdate,
this.onDragEnd,
this.onSeekEnd,
this.orientation = Orientation.portrait,
this.chapterMarkerPositions,
this.onMarkerTap,
});