FFSlider constructor
FFSlider({
- FFColor? legacyActiveColor,
- FFColor? legacyInactiveColor,
- double? legacyMin,
- double? legacyMax,
- double? stepSize,
- double? legacyInitialValue,
- bool? showValue,
- double? legacyDisplayValue,
- double? legacyWidth,
- int? legacyDebounceTime,
- bool? onChangeEnd,
- int? legacyNumDivisions,
- FFDisable? disabled,
- int? numDecimalPlaces,
- FFColorValue? activeColorValue,
- FFColorValue? inactiveColorValue,
- FFDoubleValue? minValue,
- FFDoubleValue? maxValue,
- FFIntegerValue? numDivisionsValue,
- FFDoubleValue? initialValueValue,
- FFDoubleValue? displayValueValue,
- FFDoubleValue? widthValue,
- FFIntegerValue? debounceTimeValue,
Implementation
factory FFSlider({
FFColor? legacyActiveColor,
FFColor? legacyInactiveColor,
$core.double? legacyMin,
$core.double? legacyMax,
$core.double? stepSize,
$core.double? legacyInitialValue,
$core.bool? showValue,
$core.double? legacyDisplayValue,
$core.double? legacyWidth,
$core.int? legacyDebounceTime,
$core.bool? onChangeEnd,
$core.int? legacyNumDivisions,
FFDisable? disabled,
$core.int? numDecimalPlaces,
FFColorValue? activeColorValue,
FFColorValue? inactiveColorValue,
FFDoubleValue? minValue,
FFDoubleValue? maxValue,
FFIntegerValue? numDivisionsValue,
FFDoubleValue? initialValueValue,
FFDoubleValue? displayValueValue,
FFDoubleValue? widthValue,
FFIntegerValue? debounceTimeValue,
}) {
final result = create();
if (legacyActiveColor != null) result.legacyActiveColor = legacyActiveColor;
if (legacyInactiveColor != null)
result.legacyInactiveColor = legacyInactiveColor;
if (legacyMin != null) result.legacyMin = legacyMin;
if (legacyMax != null) result.legacyMax = legacyMax;
if (stepSize != null) result.stepSize = stepSize;
if (legacyInitialValue != null)
result.legacyInitialValue = legacyInitialValue;
if (showValue != null) result.showValue = showValue;
if (legacyDisplayValue != null)
result.legacyDisplayValue = legacyDisplayValue;
if (legacyWidth != null) result.legacyWidth = legacyWidth;
if (legacyDebounceTime != null)
result.legacyDebounceTime = legacyDebounceTime;
if (onChangeEnd != null) result.onChangeEnd = onChangeEnd;
if (legacyNumDivisions != null)
result.legacyNumDivisions = legacyNumDivisions;
if (disabled != null) result.disabled = disabled;
if (numDecimalPlaces != null) result.numDecimalPlaces = numDecimalPlaces;
if (activeColorValue != null) result.activeColorValue = activeColorValue;
if (inactiveColorValue != null)
result.inactiveColorValue = inactiveColorValue;
if (minValue != null) result.minValue = minValue;
if (maxValue != null) result.maxValue = maxValue;
if (numDivisionsValue != null) result.numDivisionsValue = numDivisionsValue;
if (initialValueValue != null) result.initialValueValue = initialValueValue;
if (displayValueValue != null) result.displayValueValue = displayValueValue;
if (widthValue != null) result.widthValue = widthValue;
if (debounceTimeValue != null) result.debounceTimeValue = debounceTimeValue;
return result;
}