FContinuousSliderController constructor

FContinuousSliderController({
  1. required FSliderSelection selection,
  2. double stepPercentage = 0.05,
  3. bool tooltips = true,
  4. FSliderInteraction allowedInteraction = FSliderInteraction.tapAndSlideThumb,
  5. bool minExtendable = false,
})

Creates a FContinuousSliderController for selecting a single value.

Implementation

FContinuousSliderController({
  required super.selection,
  this.stepPercentage = 0.05,
  super.tooltips = true,
  super.allowedInteraction,
  super.minExtendable,
}) : assert(0 <= stepPercentage && stepPercentage <= 1, 'stepPercentage must be between 0 and 1, inclusive.');