DrawerProps constructor
const
DrawerProps({
- required bool isOpen,
- required Widget child,
- void onClose()?,
- DrawerPosition position = DrawerPosition.right,
- DrawerSize size = DrawerSize.md,
- Widget? header,
- bool showBackdrop = true,
- bool closeOnBackdropClick = true,
- bool showCloseButton = true,
- String? width,
- String? height,
Implementation
const DrawerProps({
required this.isOpen,
required this.child,
this.onClose,
this.position = DrawerPosition.right,
this.size = DrawerSize.md,
this.header,
this.footer,
this.showBackdrop = true,
this.closeOnBackdropClick = true,
this.showCloseButton = true,
this.width,
this.height,
});