CustomPopupButton constructor
const
CustomPopupButton({
- Key? key,
- required Widget icon,
- required List<
CustomPopupMenuElement> items, - Widget? closeIcon,
- Color? backgroundColor,
- CustomPopupPosition? position,
- double? width,
- double? buttonRadius,
- double? borderRadius,
- double? spacing,
- double? buttonPadding,
- 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,
});