kAlwaysCompleteAnimation top-level constant

Animation<double> const kAlwaysCompleteAnimation

An animation that is always complete.

Using this constant involves less overhead than building an AnimationController with an initial value of 1.0. This is useful when an API expects an animation but you don't actually want to animate anything.

Implementation

const Animation<double> kAlwaysCompleteAnimation = _AlwaysCompleteAnimation();