NikuSlider.adaptive constructor

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

Implementation

factory NikuSlider.adaptive(
  double data, {
  Key? key,
  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,
}) =>
    NikuSlider(
      data,
      key: key,
      sliderType: NikuSliderType.adaptive,
      onChanged: onChanged,
      onChangeStart: onChangeStart,
      onChangeEnd: onChangeEnd,
      min: min,
      max: max,
      divisions: divisions,
      label: label,
      activeColor: activeColor,
      inactiveColor: inactiveColor,
      thumbColor: thumbColor,
      mouseCursor: mouseCursor,
      semanticFormatterCallback: semanticFormatterCallback,
      focusNode: focusNode,
      autofocus: autofocus,
      trackHeight: trackHeight,
      activeTrackColor: activeTrackColor,
      inactiveTrackColor: inactiveTrackColor,
      disabledActiveTrackColor: disabledActiveTrackColor,
      disabledInactiveTrackColor: disabledInactiveTrackColor,
      activeTickMarkColor: activeTickMarkColor,
      inactiveTickMarkColor: inactiveTickMarkColor,
      disabledActiveTickMarkColor: disabledActiveTickMarkColor,
      disabledInactiveTickMarkColor: disabledInactiveTickMarkColor,
      overlappingShapeStrokeColor: overlappingShapeStrokeColor,
      disabledThumbColor: disabledThumbColor,
      overlayColor: overlayColor,
      valueIndicatorColor: valueIndicatorColor,
      overlayShape: overlayShape,
      tickMarkShape: tickMarkShape,
      thumbShape: thumbShape,
      trackShape: trackShape,
      valueIndicatorShape: valueIndicatorShape,
      rangeTickMarkShape: rangeTickMarkShape,
      rangeThumbShape: rangeThumbShape,
      rangeTrackShape: rangeTrackShape,
      rangeValueIndicatorShape: rangeValueIndicatorShape,
      showValueIndicator: showValueIndicator,
      valueIndicatorTextStyle: valueIndicatorTextStyle,
      minThumbSeparation: minThumbSeparation,
      thumbSelector: thumbSelector,
    );