Drawer constructor
Drawer({
- required Widget child,
- required Widget drawer,
- bool open = false,
- int width = 28,
- SidebarSide side = SidebarSide.left,
- CmdCallback? onDismiss,
- bool dismissible = true,
- Color? backdropColor,
- double backdropOpacity = 0.6,
- 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,
});