direction property
Returns the animation's play direction: 1 for forwards, -1 for backwards
Implementation
double get direction => _direction;
Direction should only be +1 or -1
Implementation
set direction(double value) => _direction = value == -1 ? -1 : 1;