FijkSlider constructor

const FijkSlider({
  1. Key? key,
  2. required double value,
  3. required ValueChanged<double>? onChanged,
  4. double cacheValue = 0.0,
  5. ValueChanged<double>? onChangeStart,
  6. ValueChanged<double>? onChangeEnd,
  7. double min = 0.0,
  8. double max = 1.0,
  9. 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);