FSliderControl.managedContinuousRange constructor
const
FSliderControl.managedContinuousRange({
- FContinuousSliderController? controller,
- FSliderValue? initial,
- double? stepPercentage,
- ValueChanged<
FSliderValue> ? onChange,
Creates a FSliderControl for selecting a continuous range.
The controller, when provided, means all other configuration parameters should not be provided as they
will be ignored. Pass these values to the controller's constructor instead.
The initial value. Defaults to FSliderValue(min: 0, max: 0.25).
The stepPercentage is the percentage of the track to move when interacting with the slider using a keyboard.
Defaults to 0.05 (5%).
The onChange callback is called when the selected value changes.
Implementation
const factory FSliderControl.managedContinuousRange({
FContinuousSliderController? controller,
FSliderValue? initial,
double? stepPercentage,
ValueChanged<FSliderValue>? onChange,
}) = _ContinuousRange;