FSliderControl.liftedContinuous constructor
const
FSliderControl.liftedContinuous({
- required FSliderValue value,
- required ValueChanged<
FSliderValue> onChange, - FSliderInteraction? interaction,
- FSliderActiveThumb? thumb,
- double? stepPercentage,
Creates a lifted FSliderControl for selecting a single continuous value.
The value is the current value.
The onChange callback is called when the selected value changes.
The interaction is the allowed ways to interact with the slider. Defaults to FSliderInteraction.tapAndSlideThumb.
The thumb is the active thumb. Defaults to FSliderActiveThumb.max.
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.liftedContinuous({
required FSliderValue value,
required ValueChanged<FSliderValue> onChange,
FSliderInteraction? interaction,
FSliderActiveThumb? thumb,
double? stepPercentage,
}) = _LiftedContinuous;