toggleChecked method
- @visibleForTesting
Implementation
@visibleForTesting
void toggleChecked() {
if (!disabled) {
checked = !checked;
_controller.add(checked);
_onTouched?.call();
}
}
@visibleForTesting
void toggleChecked() {
if (!disabled) {
checked = !checked;
_controller.add(checked);
_onTouched?.call();
}
}