toggle method
void
toggle()
Implementation
void toggle() {
if (_animationControl.value == 1) {
_animationControl.reverse();
} else {
_animationControl.forward();
}
}
void toggle() {
if (_animationControl.value == 1) {
_animationControl.reverse();
} else {
_animationControl.forward();
}
}