ModernDrawer constructor

const ModernDrawer({
  1. Key? key,
  2. PreferredSizeWidget? appBar,
  3. required ModernDrawerController controller,
  4. Widget? body,
  5. Widget? drawerContent,
  6. Color? backgroundColor,
  7. List<BoxShadow>? bodyBoxShadows,
  8. double elevation = 0,
})

Implementation

const ModernDrawer({
  Key? key,
  this.appBar,
  required this.controller,
  this.body,
  this.drawerContent,
  this.backgroundColor,
  this.bodyBoxShadows,
  this.elevation = 0,
}) : super(key: key);