SoldColorEffect class
Creates a none-animated painting effect
- Inheritance
-
- Object
- PaintingEffect
- SoldColorEffect
Constructors
- SoldColorEffect({Color color = const Color(0xFFF6F6F6), double lowerBound = 0.0, double upperBound = 1.0})
-
Default constructor
const
Properties
- color → Color
-
The color to paint or shade renderers
final
- duration → Duration
-
The duration of the effect animation
finalinherited
- 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
- 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