NikuSlider constructor

NikuSlider(
  1. double data, {
  2. Key? key,
  3. NikuSliderType? sliderType,
  4. ValueChanged<double>? onChanged,
  5. ValueChanged<double>? onChangeStart,
  6. ValueChanged<double>? onChangeEnd,
  7. double? min,
  8. double? max,
  9. int? divisions,
  10. String? label,
  11. Color? activeColor,
  12. Color? inactiveColor,
  13. Color? thumbColor,
  14. MouseCursor? mouseCursor,
  15. SemanticFormatterCallback? semanticFormatterCallback,
  16. FocusNode? focusNode,
  17. bool? autofocus,
  18. double? trackHeight,
  19. Color? activeTrackColor,
  20. Color? inactiveTrackColor,
  21. Color? disabledActiveTrackColor,
  22. Color? disabledInactiveTrackColor,
  23. Color? activeTickMarkColor,
  24. Color? inactiveTickMarkColor,
  25. Color? disabledActiveTickMarkColor,
  26. Color? disabledInactiveTickMarkColor,
  27. Color? overlappingShapeStrokeColor,
  28. Color? disabledThumbColor,
  29. Color? overlayColor,
  30. Color? valueIndicatorColor,
  31. SliderComponentShape? overlayShape,
  32. SliderTickMarkShape? tickMarkShape,
  33. SliderComponentShape? thumbShape,
  34. SliderTrackShape? trackShape,
  35. SliderComponentShape? valueIndicatorShape,
  36. RangeSliderTickMarkShape? rangeTickMarkShape,
  37. RangeSliderThumbShape? rangeThumbShape,
  38. RangeSliderTrackShape? rangeTrackShape,
  39. RangeSliderValueIndicatorShape? rangeValueIndicatorShape,
  40. ShowValueIndicator? showValueIndicator,
  41. NikuTextStyle? valueIndicatorTextStyle,
  42. double? minThumbSeparation,
  43. RangeThumbSelector? thumbSelector,
})

Implementation

NikuSlider(
  this.data, {
  Key? key,
  this.sliderType,
  this.onChanged,
  this.onChangeStart,
  this.onChangeEnd,
  this.min,
  this.max,
  this.divisions,
  this.label,
  this.activeColor,
  this.inactiveColor,
  this.thumbColor,
  this.mouseCursor,
  this.semanticFormatterCallback,
  this.focusNode,
  this.autofocus,
  this.trackHeight,
  this.activeTrackColor,
  this.inactiveTrackColor,
  this.disabledActiveTrackColor,
  this.disabledInactiveTrackColor,
  this.activeTickMarkColor,
  this.inactiveTickMarkColor,
  this.disabledActiveTickMarkColor,
  this.disabledInactiveTickMarkColor,
  this.overlappingShapeStrokeColor,
  this.disabledThumbColor,
  this.overlayColor,
  this.valueIndicatorColor,
  this.overlayShape,
  this.tickMarkShape,
  this.thumbShape,
  this.trackShape,
  this.valueIndicatorShape,
  this.rangeTickMarkShape,
  this.rangeThumbShape,
  this.rangeTrackShape,
  this.rangeValueIndicatorShape,
  this.showValueIndicator,
  this.valueIndicatorTextStyle,
  this.minThumbSeparation,
  this.thumbSelector,
}) : super(key: key);