MenuItemWidget constructor
const
MenuItemWidget({
- Key? key,
- required ContextPopupMenuItem item,
- bool showLine = false,
- required void clickCallback(
- ContextPopupMenuItem item
- required Color lineColor,
- required Color backgroundColor,
- required Color highlightColor,
Implementation
const MenuItemWidget({
Key? key,
required this.item,
this.showLine = false,
required this.clickCallback,
required this.lineColor,
required this.backgroundColor,
required this.highlightColor,
}) : super(key: key);