onChanged property

ValueChanged<bool> onChanged
final

Callback that is triggered when the checkbox is toggled.

The callback receives the new state of the checkbox (true for checked, false for unchecked).

Implementation

final ValueChanged<bool> onChanged;