processTapDown method
void
processTapDown()
Processes the tap down event.
Implementation
void processTapDown() {
HapticFeedback.selectionClick();
if (widget.toggle) {
if (_animationController.status == AnimationStatus.completed) {
} else {
_animationController.forward();
}
} else {
_animationController.forward();
}
}