YaruCheckedPopupMenuItem<T> constructor

const YaruCheckedPopupMenuItem<T>({
  1. Key? key,
  2. T? value,
  3. bool checked = false,
  4. bool enabled = true,
  5. EdgeInsets? padding = EdgeInsets.zero,
  6. double height = kMinInteractiveDimension,
  7. MouseCursor? mouseCursor,
  8. Widget? child,
})

Creates a popup menu item with a checkmark.

By default, the menu item is enabled but unchecked. To mark the item as checked, set checked to true.

The checked and enabled arguments must not be null.

Implementation

const YaruCheckedPopupMenuItem({
  super.key,
  super.value,
  this.checked = false,
  super.enabled,
  super.padding = EdgeInsets.zero,
  super.height,
  super.mouseCursor,
  super.child,
});