HareSlider constructor
HareSlider({
- required double value,
- double? secondaryTrackValue,
- required OnValue<
double> ? onChanged, - OnValue<
double> ? onChangeStart, - OnValue<
double> ? onChangeEnd, - double min = 0.0,
- double max = 1.0,
- int? divisions,
- String? label,
- bool autoLabel = true,
- OnLabel<
double> ? labelBuilder, - Color? activeColor,
- Color? inactiveColor,
- Color? secondaryActiveColor,
- Color? thumbColor,
- WidgetStateProperty<
Color?> ? overlayColor, - MouseCursor? mouseCursor,
- String semanticFormatterCallback()?,
- FocusNode? focusNode,
- bool autofocus = false,
- 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();