kAlwaysCompleteAnimation top-level constant

const kAlwaysCompleteAnimation = const _AlwaysCompleteAnimation()

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.


const Animation<double> kAlwaysCompleteAnimation = const _AlwaysCompleteAnimation()