isOpening method

bool isOpening()

returns boolean for checking if the current animation is running forward.

Implementation

bool isOpening() {
  return _state == CurrentAnimationState.OPENING;
}