Callback function executed when checkbox is checked or unchecked.
late final Function(bool?) onCheck;