TolyPopover constructor

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

Implementation

const TolyPopover({
  super.key,
  this.child,
  this.overlay,
  this.controller,
  this.margin,
  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,
});