checked property
Current state of the checkbox. This is user set-able state, via toggleChecked(), so when checked, the indeterminate state gets cleared.
true
is CHECKED and false
is not.
Implementation
@Input()
set checked(bool? newValue) {
if (_checked == newValue) return;
_setStates(checked: newValue ?? false);
}