processTap method

void processTap()

Implementation

void processTap() {
  if (_animationController.lastElapsedDuration?.inSeconds == 0) {
    return;
  }
  if (_animationController.status == AnimationStatus.completed) {
    HapticFeedback.selectionClick();
    switchTo(false);
  } else {
    switchTo(true);
  }
}