ArcaneSheet constructor

const ArcaneSheet({
  1. String? id,
  2. required bool isOpen,
  3. required Widget child,
  4. VoidCallback? onClose,
  5. SheetPosition position = SheetPosition.bottom,
  6. SheetSize size = SheetSize.auto,
  7. String? title,
  8. String? description,
  9. Widget? header,
  10. Widget? footer,
  11. bool showBackdrop = true,
  12. bool closeOnBackdropClick = true,
  13. bool showCloseButton = true,
  14. bool showDragHandle = true,
  15. String? maxWidth,
  16. bool escapeCloses = true,
  17. bool focusTrap = true,
  18. bool restoreFocus = true,
  19. ArcaneStyleData? styles,
  20. ArcaneDecoration? decoration,
  21. Key? key,
})

Implementation

const ArcaneSheet({
  this.id,
  required this.isOpen,
  required this.child,
  this.onClose,
  this.position = SheetPosition.bottom,
  this.size = SheetSize.auto,
  this.title,
  this.description,
  this.header,
  this.footer,
  this.showBackdrop = true,
  this.closeOnBackdropClick = true,
  this.showCloseButton = true,
  this.showDragHandle = true,
  this.maxWidth,
  this.escapeCloses = true,
  this.focusTrap = true,
  this.restoreFocus = true,
  this.styles,
  this.decoration,
  super.key,
});