onChanged property

  1. @override
ValueChanged<CheckboxState>? onChanged
final

Callback fired when the checkbox state changes.

Called with the new CheckboxState when user interaction occurs. If both controller and onChanged are provided, both will receive updates.

Implementation

@override
final ValueChanged<CheckboxState>? onChanged;