SimpleAnimation constructor Null safety
Implementation
SimpleAnimation(this.animationName, {double mix = 1, this.autoplay = true})
: _mix = mix.clamp(0, 1).toDouble();
SimpleAnimation(this.animationName, {double mix = 1, this.autoplay = true})
: _mix = mix.clamp(0, 1).toDouble();