OverlayConfig constructor

const OverlayConfig({
  1. required String id,
  2. String? anchorId,
  3. OverlaySide side = OverlaySide.bottom,
  4. OverlayAlign align = OverlayAlign.center,
  5. double offset = 8,
  6. bool dismissOnEscape = true,
  7. bool dismissOnOutsideTap = true,
  8. bool trapFocus = true,
  9. bool lockScroll = true,
  10. 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,
});