curve property Null safety
The curve of the animation.
Implementation
Curve get curve => _animation.curve;
Implementation
set curve(Curve value) {
assert(value != null);
if (value == _animation.curve) {
return;
}
_animation.curve = value;
}