DrawerProps constructor

const DrawerProps({
  1. required bool isOpen,
  2. required Component child,
  3. void onClose()?,
  4. DrawerPosition position = DrawerPosition.right,
  5. DrawerSize size = DrawerSize.md,
  6. Component? header,
  7. Component? footer,
  8. bool showBackdrop = true,
  9. bool closeOnBackdropClick = true,
  10. bool showCloseButton = true,
  11. String? width,
  12. 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,
});