StacSlider constructor
const
StacSlider({
- String? id,
- StacSliderType? sliderType,
- required double value,
- double? secondaryTrackValue,
- StacAction? onChanged,
- StacAction? onChangeStart,
- StacAction? onChangeEnd,
- double? min,
- double? max,
- int? divisions,
- String? label,
- StacColor? activeColor,
- StacColor? inactiveColor,
- StacColor? secondaryActiveColor,
- StacColor? thumbColor,
- StacColor? overlayColor,
- StacMouseCursor? mouseCursor,
- bool? autofocus,
- 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,
});