isPlaying property

  1. @override
bool get isPlaying
inherited

We're playing if we're not paused and our controller is active (or there's no controller) or there are animations running.

Implementation

@override
bool get isPlaying =>
    !_isPaused &&
    ((_controller?.isActive.value ?? false) || _animationLayers.isNotEmpty);