Drawer constructor

Drawer({
  1. required Widget child,
  2. required Widget drawer,
  3. bool open = false,
  4. int width = 28,
  5. SidebarSide side = SidebarSide.left,
  6. CmdCallback? onDismiss,
  7. bool dismissible = true,
  8. Color? backdropColor,
  9. double backdropOpacity = 0.6,
  10. Key? key,
})

Implementation

Drawer({
  required this.child,
  required this.drawer,
  this.open = false,
  this.width = 28,
  this.side = SidebarSide.left,
  this.onDismiss,
  this.dismissible = true,
  this.backdropColor,
  this.backdropOpacity = 0.6,
  super.key,
});