FSliderController constructor
FSliderController({
- required FSliderSelection selection,
- FSliderInteraction allowedInteraction = FSliderInteraction.tapAndSlideThumb,
- bool tooltips = true,
- 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;