TolyPopover constructor
const
TolyPopover({
- Key? key,
- Widget? child,
- Widget? overlay,
- PopoverController? controller,
- Placement placement = Placement.top,
- OverlayContentBuilder? overlayBuilder,
- OffsetCalculator? offsetCalculator,
- double? maxWidth,
- Duration animDuration = const Duration(milliseconds: 250),
- Duration reverseDuration = const Duration(milliseconds: 250),
- DecorationConfig? decorationConfig,
- double? maxHeight,
- bool barrierDismissible = true,
- double? gap,
- TolyPopoverChildBuilder? builder,
- OverlayDecorationBuilder? overlayDecorationBuilder,
- VoidCallback? onOpen,
- 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,
});