CustomVideoSlider constructor

const CustomVideoSlider({
  1. Key? key,
  2. required Duration currentPosition,
  3. required Duration totalDuration,
  4. required Duration bufferedPosition,
  5. ValueChanged<Duration>? onDragUpdate,
  6. ValueChanged<Duration>? onDragEnd,
  7. ValueChanged<Duration>? onSeekEnd,
  8. Orientation orientation = Orientation.portrait,
  9. List<double>? chapterMarkerPositions,
  10. 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,
});