kAlwaysDismissedAnimation top-level constant

const kAlwaysDismissedAnimation = const _AlwaysDismissedAnimation()

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 = const _AlwaysDismissedAnimation()