StacSlider constructor

const StacSlider({
  1. String? id,
  2. StacSliderType? sliderType,
  3. required double value,
  4. double? secondaryTrackValue,
  5. StacAction? onChanged,
  6. StacAction? onChangeStart,
  7. StacAction? onChangeEnd,
  8. double? min,
  9. double? max,
  10. int? divisions,
  11. String? label,
  12. StacColor? activeColor,
  13. StacColor? inactiveColor,
  14. StacColor? secondaryActiveColor,
  15. StacColor? thumbColor,
  16. StacColor? overlayColor,
  17. StacMouseCursor? mouseCursor,
  18. bool? autofocus,
  19. StacSliderInteraction? allowedInteraction,
})

Creates a StacSlider.

Implementation

const StacSlider({
  this.id,
  this.sliderType,
  required this.value,
  this.secondaryTrackValue,
  this.onChanged,
  this.onChangeStart,
  this.onChangeEnd,
  this.min,
  this.max,
  this.divisions,
  this.label,
  this.activeColor,
  this.inactiveColor,
  this.secondaryActiveColor,
  this.thumbColor,
  this.overlayColor,
  this.mouseCursor,
  this.autofocus,
  this.allowedInteraction,
});