onChanged property
Called when the user changes some checkbox button.
The checkbox button passes values as a parameter to this callback. The checkbox button does not actually change state until the parent widget rebuilds the checkbox button with the new values.
Implementation
final ValueChanged<Iterable<T>> onChanged;