FijkSlider constructor
const
FijkSlider({
- Key? key,
- required double value,
- required ValueChanged<
double> ? onChanged, - double cacheValue = 0.0,
- ValueChanged<
double> ? onChangeStart, - ValueChanged<
double> ? onChangeEnd, - double min = 0.0,
- double max = 1.0,
- FijkSliderColors colors = const FijkSliderColors(),
Implementation
const FijkSlider({
Key? key,
required this.value,
required this.onChanged,
this.cacheValue = 0.0,
this.onChangeStart,
this.onChangeEnd,
this.min = 0.0,
this.max = 1.0,
this.colors = const FijkSliderColors(),
}) : assert(min <= max),
assert(value >= min && value <= max),
super(key: key);