OverlayConfig constructor
const
OverlayConfig({
- required String id,
- String? anchorId,
- OverlaySide side = OverlaySide.bottom,
- OverlayAlign align = OverlayAlign.center,
- double offset = 8,
- bool dismissOnEscape = true,
- bool dismissOnOutsideTap = true,
- bool trapFocus = true,
- bool lockScroll = true,
- void onDismiss()?,
Implementation
const OverlayConfig({
required this.id,
this.anchorId,
this.side = OverlaySide.bottom,
this.align = OverlayAlign.center,
this.offset = 8,
this.dismissOnEscape = true,
this.dismissOnOutsideTap = true,
this.trapFocus = true,
this.lockScroll = true,
this.onDismiss,
});