onChanged property

dynamic Function(dynamic value)? onChanged
final

Callback function invoked when the user changes the slider value.

The callback receives a double value representing the current slider position whenever the user drags the slider thumb to a new position.

Implementation

final Function(dynamic value)? onChanged;