closeDrawer method
Implementation
void closeDrawer(BuildContext context) {
if (Scaffold.of(context).isDrawerOpen) {
Scaffold.of(context).openEndDrawer();
}
}
void closeDrawer(BuildContext context) {
if (Scaffold.of(context).isDrawerOpen) {
Scaffold.of(context).openEndDrawer();
}
}