TolyPopover constructor

const TolyPopover({
  1. Key? key,
  2. Widget? child,
  3. Widget? overlay,
  4. PopoverController? controller,
  5. Placement placement = Placement.top,
  6. OverlayContentBuilder? overlayBuilder,
  7. OffsetCalculator? offsetCalculator,
  8. double? maxWidth,
  9. Duration animDuration = const Duration(milliseconds: 250),
  10. Duration reverseDuration = const Duration(milliseconds: 250),
  11. DecorationConfig? decorationConfig,
  12. double? maxHeight,
  13. bool barrierDismissible = true,
  14. double? gap,
  15. TolyPopoverChildBuilder? builder,
  16. OverlayDecorationBuilder? overlayDecorationBuilder,
  17. VoidCallback? onOpen,
  18. VoidCallback? onClose,
})

Implementation

const TolyPopover({
  super.key,
  this.child,
  this.overlay,
  this.controller,
  this.placement = Placement.top,
  this.overlayBuilder,
  this.offsetCalculator,
  this.maxWidth,
  this.animDuration = const Duration(milliseconds: 250),
  this.reverseDuration = const Duration(milliseconds: 250),
  this.decorationConfig,
  this.maxHeight,
  this.barrierDismissible = true,
  // this.padding,
  this.gap,
  this.builder,
  this.overlayDecorationBuilder,
  this.onOpen,
  this.onClose,
});