currentStep property

AnimationTimelineStep? get currentStep

Active step metadata, or null when idle.

Implementation

AnimationTimelineStep? get currentStep =>
    _currentStepIndex >= 0 && _currentStepIndex < _steps.length
    ? _steps[_currentStepIndex]
    : null;