toggle method
勾选单个CheckBox
Implementation
@override
bool toggle(String id, bool check, [bool notify = false]) {
checkBoxStates.forEach((key, value) {
checkBoxStates[key] = false;
});
return super.toggle(id, check, true);
}
勾选单个CheckBox
@override
bool toggle(String id, bool check, [bool notify = false]) {
checkBoxStates.forEach((key, value) {
checkBoxStates[key] = false;
});
return super.toggle(id, check, true);
}