NikuSlider.adaptive constructor
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,
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,
);