SheetProps constructor
const
SheetProps({
- required bool isOpen,
- required Widget child,
- SheetPosition position = SheetPosition.right,
- SheetSizeVariant size = SheetSizeVariant.auto,
- void onClose()?,
- bool showCloseButton = true,
- String? title,
- String? description,
- Widget? header,
- bool showBackdrop = true,
- bool closeOnBackdropClick = true,
- bool showDragHandle = true,
- 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,
});