FSliderController.range constructor
FSliderController.range({
- required FSliderValue value,
- double hapticFeedbackVelocity = 6.5,
Creates a FSliderController for selecting a range.
Implementation
FSliderController.range({required FSliderValue value, this.hapticFeedbackVelocity = 6.5})
: interaction = .tapAndSlideThumb,
active = (min: true, max: true),
_initial = value,
assert(0 <= hapticFeedbackVelocity, 'hapticFeedbackVelocity ($hapticFeedbackVelocity) must be >= 0');