NikuRangeSlider constructor
NikuRangeSlider(
- double start,
- double end, {
- Key? key,
- void onChanged()?,
- void onChangeStart()?,
- void onChangeEnd()?,
- double? min,
- double? max,
- int? divisions,
- RangeLabels? labels,
- Color? activeColor,
- Color? inactiveColor,
- Color? thumbColor,
- MouseCursor? mouseCursor,
- SemanticFormatterCallback? semanticFormatterCallback,
- FocusNode? focusNode,
- bool? autofocus,
- double? trackHeight,
- Color? activeTrackColor,
- Color? inactiveTrackColor,
- Color? disabledActiveTrackColor,
- Color? disabledInactiveTrackColor,
- Color? activeTickMarkColor,
- Color? inactiveTickMarkColor,
- Color? disabledActiveTickMarkColor,
- Color? disabledInactiveTickMarkColor,
- Color? overlappingShapeStrokeColor,
- Color? disabledThumbColor,
- Color? overlayColor,
- Color? valueIndicatorColor,
- SliderComponentShape? overlayShape,
- SliderTickMarkShape? tickMarkShape,
- SliderComponentShape? thumbShape,
- SliderTrackShape? trackShape,
- SliderComponentShape? valueIndicatorShape,
- RangeSliderTickMarkShape? rangeTickMarkShape,
- RangeSliderThumbShape? rangeThumbShape,
- RangeSliderTrackShape? rangeTrackShape,
- RangeSliderValueIndicatorShape? rangeValueIndicatorShape,
- ShowValueIndicator? showValueIndicator,
- NikuTextStyle? valueIndicatorTextStyle,
- double? minThumbSeparation,
- 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);