isForwardOrCompleted property

  1. @override
bool get isForwardOrCompleted
override

Whether the current aim of the animation is toward completion.

Specifically, returns true for AnimationStatus.forward or AnimationStatus.completed, and false for AnimationStatus.reverse or AnimationStatus.dismissed.

Implementation

@override
bool get isForwardOrCompleted => _target > 0 && _target >= _from;