checked property Null safety
If non-null, sets the SemanticsFlag.hasCheckedState semantic to true and the SemanticsConfiguration.isChecked semantic to the given value.
Implementation
bool? get checked => _checked;
Implementation
set checked(bool? value) {
if (checked == value)
return;
_checked = value;
markNeedsSemanticsUpdate();
}