GNDrawer constructor

const GNDrawer({
  1. Key? key,
  2. required List<Widget> menuItems,
  3. Widget? footer,
  4. double? drawerWidth,
  5. ShapeBorder? shapeBorder,
  6. Color? backgroundColor,
  7. double? elevation,
  8. double? drawerHeaderHeight,
  9. double? drawerHeaderWidth,
  10. bool? isSearchField,
  11. String imagePath = "",
  12. bool? isImageShow = false,
})

Implementation

const GNDrawer({
  super.key,
  required this.menuItems,
  this.footer,
  this.drawerWidth,
  this.shapeBorder,
  this.backgroundColor,
  this.elevation,
  this.drawerHeaderHeight,
  this.drawerHeaderWidth,
  this.isSearchField,
  this.imagePath = "",
  this.isImageShow = false,
});