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