processTapDown method

void processTapDown()

Implementation

void processTapDown() {
  HapticFeedback.selectionClick();
  if (widget.toggle) {
    if (_animationController.status == AnimationStatus.completed) {
    } else {
      _animationController.forward();
    }
  } else {
    _animationController.forward();
  }
}