HareSlider constructor

HareSlider({
  1. required double value,
  2. double? secondaryTrackValue,
  3. required OnValue<double>? onChanged,
  4. OnValue<double>? onChangeStart,
  5. OnValue<double>? onChangeEnd,
  6. double min = 0.0,
  7. double max = 1.0,
  8. int? divisions,
  9. String? label,
  10. bool autoLabel = true,
  11. OnLabel<double>? labelBuilder,
  12. Color? activeColor,
  13. Color? inactiveColor,
  14. Color? secondaryActiveColor,
  15. Color? thumbColor,
  16. WidgetStateProperty<Color?>? overlayColor,
  17. MouseCursor? mouseCursor,
  18. String semanticFormatterCallback(
    1. double
    )?,
  19. FocusNode? focusNode,
  20. bool autofocus = false,
  21. SliderInteraction? allowedInteraction,
})

Implementation

HareSlider({
  required this.value,
  this.secondaryTrackValue,
  required this.onChanged,
  this.onChangeStart,
  this.onChangeEnd,
  this.min = 0.0,
  this.max = 1.0,
  this.divisions,
  this.label,
  this.autoLabel = true,
  this.labelBuilder,
  this.activeColor,
  this.inactiveColor,
  this.secondaryActiveColor,
  this.thumbColor,
  this.overlayColor,
  this.mouseCursor,
  this.semanticFormatterCallback,
  this.focusNode,
  this.autofocus = false,
  this.allowedInteraction,
}) : super();