CustomPopupButton constructor

const CustomPopupButton({
  1. Key? key,
  2. required Widget icon,
  3. required List<CustomPopupMenuElement> items,
  4. Widget? closeIcon,
  5. Color? backgroundColor,
  6. CustomPopupPosition? position,
  7. double? width,
  8. double? buttonRadius,
  9. double? borderRadius,
  10. double? spacing,
  11. double? buttonPadding,
  12. Alignment animationAlignment = Alignment.topCenter,
})

Implementation

const CustomPopupButton({
  super.key,
  required this.icon,
  required this.items,
  this.closeIcon,
  this.backgroundColor,
  this.position,
  this.width,
  this.buttonRadius,
  this.borderRadius,
  this.spacing,
  this.buttonPadding,
  this.animationAlignment = Alignment.topCenter,
});