toggleControlsVisibility method
void
toggleControlsVisibility()
Implementation
void toggleControlsVisibility() {
if (isControlsVisible.value) {
_animationController.reverse();
} else {
_animationController.forward();
}
isControlsVisible.value = !isControlsVisible.value;
startTimer();
}