ModPopupMenuItem<T> constructor

const ModPopupMenuItem<T>({
  1. required T value,
  2. String? text,
  3. IconData? icon,
  4. Color? textColor,
  5. Color? iconColor,
  6. bool enabled = true,
  7. Widget? child,
  8. List<ModPopupMenuItem<T>>? submenu,
})

Implementation

const ModPopupMenuItem({
  required this.value,
  this.text,
  this.icon,
  this.textColor,
  this.iconColor,
  this.enabled = true,
  this.child,
  this.submenu,
});