MenuItemBase constructor

const MenuItemBase(
  1. String type,
  2. String label
)

Creates a new menu item with the give label.

Implementation

const MenuItemBase(this.type, this.label);