PopupMenuItem({Key key, T value, bool enabled: true, Widget child })

Creates an item for a popup menu.

By default, the item is enabled.

Source

PopupMenuItem({
  Key key,
  this.value,
  this.enabled: true,
  this.child
}) : super(key: key);