onChanged property
Callback to invoke when the value should change.
This callback should be called whenever the user interaction or programmatic action requires the value to be updated. The new value should be passed as the parameter.
Implementation
final ValueChanged<T> onChanged;