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})
-
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
- 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