SimpleAnimation constructor

SimpleAnimation(
  1. String animationName, {
  2. double mix = 1,
  3. bool autoplay = true,
})

Implementation

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