MenuItemWidget constructor

const MenuItemWidget({
  1. Key? key,
  2. required ContextPopupMenuItem item,
  3. bool showLine = false,
  4. required void clickCallback(
    1. ContextPopupMenuItem item
    ),
  5. required Color lineColor,
  6. required Color backgroundColor,
  7. 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);