PopoverLayer constructor
const
PopoverLayer({
- Key? key,
- required Widget child,
- required WidgetBuilder content,
- PopoverPlacement placement = PopoverPlacement.top,
- bool? open,
- ValueChanged<
bool> ? onOpenChanged, - double gap = 8,
- bool dismissOnOutsideTap = true,
- bool interactive = true,
- Color? arrowColor,
- List<
BoxShadow> ? arrowShadow, - Color? barrierColor,
- PopoverAnimation animation = PopoverAnimation.simple,
- Duration? duration,
- Curve? curve,
Creates a PopoverLayer.
Implementation
const PopoverLayer({
super.key,
required this.child,
required this.content,
this.placement = PopoverPlacement.top,
this.open,
this.onOpenChanged,
this.gap = 8,
this.dismissOnOutsideTap = true,
this.interactive = true,
this.arrowColor,
this.arrowShadow,
this.barrierColor,
this.animation = PopoverAnimation.simple,
this.duration,
this.curve,
});