initMenu method

void initMenu(
  1. BuildContext context, {
  2. bool persistent = false,
  3. required WidgetBuilder menu,
  4. WidgetBuilder? menuFooter,
  5. WidgetBuilder? menuHeader,
  6. double? width,
  7. double? height,
  8. EdgeInsets? btnMargin,
})

Implementation

void initMenu(
    BuildContext context,
    {
      bool persistent = false,
      required WidgetBuilder menu,
      WidgetBuilder? menuFooter,
      WidgetBuilder? menuHeader,
      double? width,
      double? height,
      EdgeInsets? btnMargin,
    }
) {
  parentContext = context;
  this.menu = menu;
  this.menuFooter = menuFooter;
  this.menuHeader = menuHeader;
  this.width = width;
  this.height = height;
  this.btnMargin = btnMargin;
}