PaintingEffect class abstract
An abstraction for skeleton painting effects
consumed by the Skeletonizer.animationController
- Implementers
Constructors
- PaintingEffect.new({bool reverse = false, double lowerBound = 0.0, double upperBound = 1.0, required Duration duration})
-
Default constructor
const
Properties
- duration → Duration
-
The duration of the effect animation
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- lowerBound → double
-
The starting value for the animation controller
final
- reverse → bool
-
Whether to animate in reverse
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- upperBound → double
-
The ending value for the animation controller
final
Methods
-
createPaint(
double t, Rect rect, TextDirection? textDirection) → Paint -
Evaluates the painting effect at animation value
t
-
lerp(
PaintingEffect? other, double t) → PaintingEffect - lerp between two painting effects
-
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