MenuItemCheckbox constructor

const MenuItemCheckbox({
  1. required String label,
  2. Widget? icon,
  3. required bool checked,
  4. bool disabled = false,
  5. String? shortcut,
  6. void onChanged(
    1. bool
    )?,
})

Implementation

const MenuItemCheckbox({
  required this.label,
  this.icon,
  required this.checked,
  this.disabled = false,
  this.shortcut,
  this.onChanged,
});