toggleDrawer method
void
toggleDrawer()
Implementation
void toggleDrawer() {
if (isOpened) {
animationController.reverse();
} else {
animationController.forward();
}
isOpened = !isOpened;
}
void toggleDrawer() {
if (isOpened) {
animationController.reverse();
} else {
animationController.forward();
}
isOpened = !isOpened;
}