onChanged property

ValueChanged<bool?>? onChanged
final

Called when the value of the Checkbox should change.

This callback passes a new value, but doesn't update its state internally.

If null, the checkbox is considered disabled.

Implementation

final ValueChanged<bool?>? onChanged;