value property
The current value of the animation.
Implementation
@override
double get value =>
_from + (_to - _from) * _curve.transform(_controller.value);
set
value
(double value)
Implementation
set value(double value) {
_from = value;
_to = value;
_curve = Curves.linear;
_controller.value = 0;
}