NikuRangeSlider constructor

NikuRangeSlider(
  1. double start,
  2. double end, {
  3. Key? key,
  4. void onChanged(
    1. RangeValues
    )?,
  5. void onChangeStart(
    1. RangeValues
    )?,
  6. void onChangeEnd(
    1. RangeValues
    )?,
  7. double? min,
  8. double? max,
  9. int? divisions,
  10. RangeLabels? labels,
  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

NikuRangeSlider(
  double start,
  double end, {
  Key? key,
  this.onChanged,
  this.onChangeStart,
  this.onChangeEnd,
  this.min,
  this.max,
  this.divisions,
  this.labels,
  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,
})  : data = RangeValues(start, end),
      super(key: key);