LayerAnimationProgress class

How far an animation has brought a layer back to rest at one moment.

Annotations

Constructors

LayerAnimationProgress(double value, {double swing = 1})
Creates a progress of value, tilting a wiggle to swing.
const

Properties

hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
swing → double
The side a LayerAnimationType.wiggle tilts to: -1 in the second half of a loop cycle, 1 otherwise.
final
value → double
1 at rest and 0 fully away (faded out, at the edge, tilted all the way). An elastic or bounce curve can overshoot either end.
final

Methods

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

Operators

operator ==(Object other) → bool
The equality operator.
override