kAlwaysDismissedAnimation top-level constant

Animation<double> const kAlwaysDismissedAnimation

An animation that is always dismissed.

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

Implementation

const Animation<double> kAlwaysDismissedAnimation = _AlwaysDismissedAnimation();