CellSlider constructor

const CellSlider({
  1. Key? key,
  2. ValueCell<bool> enabled = const ValueCell.value(true),
  3. required MutableCell<double> value,
  4. ValueCell<double?>? secondaryTrackValue,
  5. ValueCell<void Function(double)?>? onChangeStart,
  6. ValueCell<void Function(double)?>? onChangeEnd,
  7. ValueCell<double> min = const ValueCell.value(0.0),
  8. ValueCell<double> max = const ValueCell.value(1.0),
  9. ValueCell<int?>? divisions,
  10. ValueCell<String?>? label,
  11. ValueCell<Color?>? activeColor,
  12. ValueCell<Color?>? inactiveColor,
  13. ValueCell<Color?>? secondaryActiveColor,
  14. ValueCell<Color?>? thumbColor,
  15. ValueCell<WidgetStateProperty<Color?>?>? overlayColor,
  16. ValueCell<MouseCursor?>? mouseCursor,
  17. ValueCell<String Function(double)?>? semanticFormatterCallback,
  18. ValueCell<FocusNode?>? focusNode,
  19. ValueCell<bool> autofocus = const ValueCell.value(false),
  20. ValueCell<SliderInteraction?>? allowedInteraction,
})

Implementation

const CellSlider({
  super.key,
  this.enabled = const ValueCell.value(true),
  required this.value,
  this.secondaryTrackValue,
  this.onChangeStart,
  this.onChangeEnd,
  this.min = const ValueCell.value(0.0),
  this.max = const ValueCell.value(1.0),
  this.divisions,
  this.label,
  this.activeColor,
  this.inactiveColor,
  this.secondaryActiveColor,
  this.thumbColor,
  this.overlayColor,
  this.mouseCursor,
  this.semanticFormatterCallback,
  this.focusNode,
  this.autofocus = const ValueCell.value(false),
  this.allowedInteraction,
});