CellCupertinoSlider constructor

const CellCupertinoSlider({
  1. Key? key,
  2. ValueCell<bool> enabled = const ValueCell.value(true),
  3. required MutableCell<double> value,
  4. ValueCell<void Function(double)?>? onChangeStart,
  5. ValueCell<void Function(double)?>? onChangeEnd,
  6. ValueCell<double> min = const ValueCell.value(0.0),
  7. ValueCell<double> max = const ValueCell.value(1.0),
  8. ValueCell<int?>? divisions,
  9. ValueCell<Color?>? activeColor,
  10. ValueCell<Color> thumbColor = const ValueCell.value(CupertinoColors.white),
})

Implementation

const CellCupertinoSlider({
  super.key,
  this.enabled = const ValueCell.value(true),
  required this.value,
  this.onChangeStart,
  this.onChangeEnd,
  this.min = const ValueCell.value(0.0),
  this.max = const ValueCell.value(1.0),
  this.divisions,
  this.activeColor,
  this.thumbColor = const ValueCell.value(CupertinoColors.white),
});