FContinuousSliderController.range constructor

FContinuousSliderController.range({
  1. required FSliderSelection selection,
  2. double stepPercentage = 0.05,
  3. bool tooltips = true,
})

Creates a FContinuousSliderController for selecting a range.

Implementation

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