onClick

val onClick: () -> Unit

Invoked when the checkbox is clicked.

This should update the checked state, the UI element will not automatically update this.