SheetProps constructor

const SheetProps({
  1. required bool isOpen,
  2. required Widget child,
  3. SheetPosition position = SheetPosition.right,
  4. SheetSizeVariant size = SheetSizeVariant.auto,
  5. void onClose()?,
  6. bool showCloseButton = true,
  7. String? title,
  8. String? description,
  9. Widget? header,
  10. Widget? footer,
  11. bool showBackdrop = true,
  12. bool closeOnBackdropClick = true,
  13. bool showDragHandle = true,
  14. String? maxWidth,
})

Implementation

const SheetProps({
  required this.isOpen,
  required this.child,
  this.position = SheetPosition.right,
  this.size = SheetSizeVariant.auto,
  this.onClose,
  this.showCloseButton = true,
  this.title,
  this.description,
  this.header,
  this.footer,
  this.showBackdrop = true,
  this.closeOnBackdropClick = true,
  this.showDragHandle = true,
  this.maxWidth,
});