FSliderControl.liftedContinuousRange constructor

const FSliderControl.liftedContinuousRange({
  1. required FSliderValue value,
  2. required ValueChanged<FSliderValue> onChange,
  3. double? stepPercentage,
})

Creates a lifted FSliderControl for selecting a continuous range.

The value is the current value.

The onChange callback is called when the selected value changes.

The stepPercentage is the percentage of the track to move when interacting with the slider using a keyboard. Defaults to 0.05 (5%).

Implementation

const factory FSliderControl.liftedContinuousRange({
  required FSliderValue value,
  required ValueChanged<FSliderValue> onChange,
  double? stepPercentage,
}) = _LiftedContinuousRange;