FSliderController constructor

FSliderController({
  1. required FSliderSelection selection,
  2. FSliderInteraction allowedInteraction = FSliderInteraction.tapAndSlideThumb,
  3. bool tooltips = true,
  4. bool minExtendable = false,
})

Creates a FSliderController for selecting a single value.

Implementation

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