PopupMenuItem<T> constructor

const PopupMenuItem<T>({
  1. required T value,
  2. required Widget child,
  3. bool enabled = true,
})

Creates a new popup menu item with the given value and child.

Implementation

const PopupMenuItem({
  required this.value,
  required this.child,
  this.enabled = true,
});