isAnimating property Null safety

bool isAnimating

Whether this animation is currently animating in either the forward or reverse direction.

This is separate from whether it is actively ticking. An animation controller's ticker might get muted, in which case the animation controller's callbacks will no longer fire even though time is continuing to pass. See Ticker.muted and TickerMode.

Implementation

bool get isAnimating => _ticker != null && _ticker!.isActive;