Durations class

Defines the animation durations for various animations in a video.

Constructors

Durations({Duration videoFitOverlayDuration = const Duration(milliseconds: 250), Duration volumeOverlayDuration = const Duration(milliseconds: 250), Duration controlsDuration = const Duration(milliseconds: 250), Duration controlsAutoHideDuration = const Duration(milliseconds: 1500), Duration brightnessOverlayDuration = const Duration(milliseconds: 250), Duration seekDuration = const Duration(milliseconds: 250)})
Creates a new instance of the Durations class with the specified durations.
const

Properties

brightnessOverlayDuration Duration
The duration for showing and hiding the brightness overlay.
final
controlsAutoHideDuration Duration
The duration after which the controls should be automatically hidden.
final
controlsDuration Duration
The duration for showing and hiding the playback controls.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
seekDuration Duration
The duration for seeking forward or backward in the video or audio player.
final
videoFitOverlayDuration Duration
The duration for showing and hiding the video fit overlay.
final
volumeOverlayDuration Duration
The duration for showing and hiding the volume overlay.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited