isAnimating property

bool isAnimating

Whether the animation is running in either direction.

Implementation

bool get isAnimating => switch (this) {
  forward   || reverse   => true,
  completed || dismissed => false,
};