onChangeEnd property
Called when the user is done selecting new values for the slider.
This differs from onChanged because it is only called once at the end of the interaction, while onChanged is called as the value is getting updated within the interaction.
This callback shouldn't be used to update the slider values
(use
onChanged for that). Rather, it should be used to know when the user has
completed selecting a new values
by ending a drag or a click.
See also:
- onChangeStart for a callback that is called when a value change begins.
Implementation
final ValueChanged<RangeValues>? onChangeEnd;