PulseValue class
Animates a value between 0 and pulseVariation using curve.
The animation is a ping-pong: it goes from 0 to pulseVariation and
back, forever. speed keeps the original timing: a full sweep from 0 to
pulseVariation takes pulseVariation / speed seconds.
Constructors
- PulseValue({double speed = 1, Curve curve = Curves.decelerate, double pulseVariation = 0.1})
Properties
- curve → Curve
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- phase ↔ double
-
Normalized animation progress, always between
0and1.getter/setter pair - pulseVariation → double
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- speed → double
-
final
- value ↔ double
-
Current animated value, always between
0and pulseVariation.getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
double dt) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited