AnimationProgress class

Constructors

AnimationProgress({required Duration duration, required Duration startTime})
Creates an AnimationProgress.

Properties

duration Duration
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startTime Duration
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
progress(Duration time) double
Queries the current progress value based on the specified startTime and duration as a value between 0.0 and 1.0. It will automatically clamp values this interval to fit in.
toString() String
A string representation of this object.
inherited

Operators

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