EffectEntry class

Because Effect classes are immutable and may be reused between multiple Animate (or AnimateList) instances, an EffectEntry is created to store values that may be different between instances. For example, due to AnimateList interval, or from inheriting values from prior effects in the chain.

Annotations

Constructors

EffectEntry({required Effect effect, required Duration delay, required Duration duration, required Curve curve, required Animate owner})
const

Properties

begin Duration
The begin time for this entry.
no setter
curve Curve
The curve used by this entry.
final
delay Duration
The delay for this entry.
final
duration Duration
The duration for this entry.
final
effect Effect
The effect associated with this entry.
final
end Duration
The end time for this entry.
no setter
hashCode int
The hash code for this object.
no setterinherited
owner Animate
The Animate instance that created this entry. This can be used by effects to read information about the animation. Effects should not modify the animation (ex. by calling Animate.addEffect).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

buildAnimation(AnimationController controller, {Curve? curve}) Animation<double>
Builds a sub-animation based on the properties of this entry.
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