closeDrawer method

void closeDrawer()

Closes the drawer manually if it exists.

Implementation

void closeDrawer() {
  _drawerKey.currentState?.close();
}