CustomDrawer constructor

CustomDrawer({
  1. Key? key,
  2. double? width,
  3. required Widget child,
  4. DrawerCallback? callback,
  5. ModalWindowsOptions? options,
})

Implementation

CustomDrawer({
  super.key,
  double? width,
  required this.child,
  this.callback,
  this.options,
}) : width = width ?? deviceWidth * 0.7;