YakColorTween class
an ColorTween
that allows const
constructor
- Inheritance
-
- Object
- Animatable<
Color> - YakTween<
Color> - YakColorTween
- Available Extensions
Constructors
- YakColorTween({required Color begin, required Color end})
-
like most
Tween
s has parametersbegin
andend
const
Properties
Methods
-
animate(
Animation< double> parent) → Animation<Color> -
Returns a new Animation that is driven by the given animation but that
takes on values determined by this object.
inherited
-
chain(
Animatable< double> parent) → Animatable<Color> -
Returns a new Animatable whose value is determined by first evaluating
the given parent and then evaluating this object.
inherited
-
evaluate(
Animation< double> animation) → Color -
The current value of this object for the given Animation.
inherited
-
lerp(
double t) → Color -
lerp
return a value betweenbegin
andend
override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
transform(
double t) → Color -
Returns the value of the object at point
t
.inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited