CluePopupMenuButton<T> constructor
const
CluePopupMenuButton<T> ({})
Creates a CluePopupMenuButton.
itemList
is the list of menu items to display.
menuWidth
is the width of the menu.
menuAlign
specifies the alignment of the menu.
child
is the widget to display as the button.
onTap
is the callback function called when a menu item is tapped.
Implementation
const CluePopupMenuButton({
super.key,
this.itemList = const [],
this.menuWidth = 130,
this.menuAlign = MenuAlign.center,
required this.child,
required this.onTap,
});