PopoverLayer constructor

const PopoverLayer({
  1. Key? key,
  2. required Widget child,
  3. required WidgetBuilder content,
  4. PopoverPlacement placement = PopoverPlacement.top,
  5. bool? open,
  6. ValueChanged<bool>? onOpenChanged,
  7. double gap = 8,
  8. bool dismissOnOutsideTap = true,
  9. bool interactive = true,
  10. Color? arrowColor,
  11. List<BoxShadow>? arrowShadow,
  12. Color? barrierColor,
  13. PopoverAnimation animation = PopoverAnimation.simple,
  14. Duration? duration,
  15. 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,
});