DrawerProps constructor

const DrawerProps({
  1. String? id,
  2. required bool isOpen,
  3. required Widget child,
  4. void onClose()?,
  5. DrawerPosition position = DrawerPosition.right,
  6. DrawerSize size = DrawerSize.md,
  7. Widget? header,
  8. Widget? footer,
  9. bool showBackdrop = true,
  10. bool closeOnBackdropClick = true,
  11. bool showCloseButton = true,
  12. String? width,
  13. String? height,
  14. bool escapeCloses = true,
  15. bool focusTrap = true,
  16. bool restoreFocus = true,
  17. ArcaneStyleData? styles,
  18. ArcaneDecoration? decoration,
})

Implementation

const DrawerProps({
  this.id,
  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,
  this.escapeCloses = true,
  this.focusTrap = true,
  this.restoreFocus = true,
  this.styles,
  this.decoration,
});