LinearAnimationInstance constructor

LinearAnimationInstance(
  1. LinearAnimation animation,
  2. {double speedMultiplier = 1.0}
)

Implementation

LinearAnimationInstance(this.animation, {double speedMultiplier = 1.0})
    : _time =
          (speedMultiplier >= 0) ? animation.startTime : animation.endTime;