onChanged property

ValueChanged<bool>? onChanged
final

Called when the value of the checkbox should change.

Setting this to null will disable the widget.

Implementation

final ValueChanged<bool>? onChanged;