showRightSideDrawer method

void showRightSideDrawer({
  1. required AFNavigatePushAction navigate,
})
inherited

Open the end drawer that you specified for your Scaffold.

Implementation

void showRightSideDrawer({
  required AFNavigatePushAction navigate
}) {
  _updateOptionalGlobalParam(navigate);
  // this happens in state testing, where there is no BuildContext.
  final ctx = flutterContext;
  if(ctx != null) {
    final scaffold = material.Scaffold.of(ctx);
    scaffold.openEndDrawer();
  }
}