FSliderController.range constructor

FSliderController.range({
  1. required FSliderSelection selection,
  2. bool tooltips = true,
})

Creates a FSliderController for selecting a range.

Implementation

FSliderController.range({
  required FSliderSelection selection,
  bool tooltips = true,
})  : tooltips = FSliderTooltipsController(enabled: tooltips),
      allowedInteraction = FSliderInteraction.tapAndSlideThumb,
      extendable = (min: true, max: true),
      _initialSelection = selection;