NikuSlider constructor
NikuSlider(
- double data, {
- Key? key,
- NikuSliderType? sliderType,
- ValueChanged<
double> ? onChanged, - ValueChanged<
double> ? onChangeStart, - ValueChanged<
double> ? onChangeEnd, - double? min,
- double? max,
- int? divisions,
- String? label,
- 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
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);