closeDrawer method

void closeDrawer()
inherited

Called to close a drawer.

Important: If you call this method, and a drawer isn't open, it will pop the current screen and mess up the navigational state. This method is usally called from within a drawer, in response to a user action that should close the drawer, and then do something else, like navigate to a new screen.

Implementation

void closeDrawer() {
  AFibF.g.doMiddlewareNavigation( (navState) {
    if(flutterContext != null) {
      material.Navigator.pop(contextNullCheck);
    }
  });
}