checked property Null safety

bool? checked
final

If non-null, indicates that this subtree represents a checkbox or similar widget with a "checked" state, and what its current state is.

When the Checkbox.value of a tristate Checkbox is null, indicating a mixed-state, this value shall be false, in which case, mixed will be true.

This is mutually exclusive with toggled and mixed.

Implementation

final bool? checked;