state property

CheckboxState state
final

Current state of the checkbox.

Must be one of CheckboxState.checked, CheckboxState.unchecked, or CheckboxState.indeterminate. The widget rebuilds when this changes to reflect the new visual state with appropriate animations.

Implementation

final CheckboxState state;