PulseEffect class
Creates a painting effect where a two colors are lerped back nad forward based on animation value
- Inheritance
-
- Object
- PaintingEffect
- PulseEffect
Constructors
Properties
- duration → Duration
-
The duration of the effect animation
finalinherited
- from → Color
-
The color to fade from
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- lowerBound → double
-
The starting value for the animation controller
finalinherited
- reverse → bool
-
Whether to animate in reverse
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- to → Color
-
The color to fade to
final
- upperBound → double
-
The ending value for the animation controller
finalinherited
Methods
-
createPaint(
double t, Rect rect, TextDirection? textDirection) → Paint -
Evaluates the painting effect at animation value
t
override -
lerp(
PaintingEffect? other, double t) → PaintingEffect -
lerp between two painting effects
override
-
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.
override