checked property Null safety

bool checked
final

Whether to display a checkmark next to the menu item.

Defaults to false.

When true, an Icons.done checkmark is displayed.

When this popup menu item is selected, the checkmark will fade in or out as appropriate to represent the implied new state.

Implementation

final bool checked;