thumbSelector property

RangeThumbSelector? thumbSelector
final

Determines which thumb should be selected when the slider is interacted with.

If null, the default thumb selector finds the closest thumb, excluding taps that are between the thumbs and not within any one touch target. When the selection is within the touch target bounds of both thumbs, no thumb is selected until the selection is moved.

Override this for custom thumb selection.

Implementation

final RangeThumbSelector? thumbSelector;