Write a new value to the element.
@override void writeValue(bool isChecked) { checked = isChecked; _changeDetector.markForCheck(); }