Animator<T> constructor
Animator<T> ({
- required ValueGetter<
T> getter, - required ValueSetter<
T> setter, - Curve? curve,
Animates the value read by getter and written by setter, along
curve unless animate names another.
Implementation
Animator({required this.getter, required this.setter, this.curve}) {
_CancelDisposer(cancel).disposeBy(this);
}