Durations constructor

const Durations({
  1. Duration videoFitOverlayDuration = const Duration(milliseconds: 250),
  2. Duration volumeOverlayDuration = const Duration(milliseconds: 250),
  3. Duration controlsDuration = const Duration(milliseconds: 250),
  4. Duration controlsAutoHideDuration = const Duration(milliseconds: 1500),
  5. Duration brightnessOverlayDuration = const Duration(milliseconds: 250),
  6. Duration seekDuration = const Duration(milliseconds: 250),
})

Creates a new instance of the Durations class with the specified durations.

Implementation

const Durations({
  this.videoFitOverlayDuration = const Duration(milliseconds: 250),
  this.volumeOverlayDuration = const Duration(milliseconds: 250),
  this.controlsDuration = const Duration(milliseconds: 250),
  this.controlsAutoHideDuration = const Duration(milliseconds: 1500),
  this.brightnessOverlayDuration = const Duration(milliseconds: 250),
  this.seekDuration = const Duration(milliseconds: 250),
});