onChanged property
final
Called when the value of the checkbox should change.
Setting this to null will disable the widget.
Implementation
final ValueChanged<bool>? onChanged;
Called when the value of the checkbox should change.
Setting this to null will disable the widget.
final ValueChanged<bool>? onChanged;