FluidSlider constructor
const
FluidSlider({
- Key? key,
- required double value,
- double min = 0.0,
- double max = 1.0,
- Widget? start,
- Widget? end,
- ValueChanged<
double> ? onChanged, - TextStyle? labelsTextStyle,
- TextStyle? valueTextStyle,
- ValueChanged<
double> ? onChangeStart, - ValueChanged<
double> ? onChangeEnd, - Color? sliderColor,
- Color? thumbColor,
- String mapValueToString()?,
- bool showDecimalValue = false,
- double? thumbDiameter,
Implementation
const FluidSlider({
Key? key,
required this.value,
this.min = 0.0,
this.max = 1.0,
this.start,
this.end,
this.onChanged,
this.labelsTextStyle,
this.valueTextStyle,
this.onChangeStart,
this.onChangeEnd,
this.sliderColor,
this.thumbColor,
this.mapValueToString,
this.showDecimalValue = false,
this.thumbDiameter,
}) : assert(min <= max),
assert(value >= min && value <= max),
super(key: key);