bind method
CellSlider
bind({
- ValueCell<
bool> ? enabled, - MutableCell<
double> ? value, - ValueCell<
double?> ? secondaryTrackValue, - ValueCell<
void Function(double)?> ? onChangeStart, - ValueCell<
void Function(double)?> ? onChangeEnd, - ValueCell<
double> ? min, - ValueCell<
double> ? max, - ValueCell<
int?> ? divisions, - ValueCell<
String?> ? label, - ValueCell<
Color?> ? activeColor, - ValueCell<
Color?> ? inactiveColor, - ValueCell<
Color?> ? secondaryActiveColor, - ValueCell<
Color?> ? thumbColor, - ValueCell<
WidgetStateProperty< ? overlayColor,Color?> ?> - ValueCell<
MouseCursor?> ? mouseCursor, - ValueCell<
String Function(double)?> ? semanticFormatterCallback, - ValueCell<
FocusNode?> ? focusNode, - ValueCell<
bool> ? autofocus, - ValueCell<
SliderInteraction?> ? allowedInteraction,
Implementation
CellSlider bind({
ValueCell<bool>? enabled,
MutableCell<double>? value,
ValueCell<double?>? secondaryTrackValue,
ValueCell<void Function(double)?>? onChangeStart,
ValueCell<void Function(double)?>? onChangeEnd,
ValueCell<double>? min,
ValueCell<double>? max,
ValueCell<int?>? divisions,
ValueCell<String?>? label,
ValueCell<Color?>? activeColor,
ValueCell<Color?>? inactiveColor,
ValueCell<Color?>? secondaryActiveColor,
ValueCell<Color?>? thumbColor,
ValueCell<WidgetStateProperty<Color?>?>? overlayColor,
ValueCell<MouseCursor?>? mouseCursor,
ValueCell<String Function(double)?>? semanticFormatterCallback,
ValueCell<FocusNode?>? focusNode,
ValueCell<bool>? autofocus,
ValueCell<SliderInteraction?>? allowedInteraction,
}) =>
CellSlider(
enabled: enabled ?? this.enabled,
value: value ?? this.value,
secondaryTrackValue: secondaryTrackValue ?? this.secondaryTrackValue,
onChangeStart: onChangeStart ?? this.onChangeStart,
onChangeEnd: onChangeEnd ?? this.onChangeEnd,
min: min ?? this.min,
max: max ?? this.max,
divisions: divisions ?? this.divisions,
label: label ?? this.label,
activeColor: activeColor ?? this.activeColor,
inactiveColor: inactiveColor ?? this.inactiveColor,
secondaryActiveColor: secondaryActiveColor ?? this.secondaryActiveColor,
thumbColor: thumbColor ?? this.thumbColor,
overlayColor: overlayColor ?? this.overlayColor,
mouseCursor: mouseCursor ?? this.mouseCursor,
semanticFormatterCallback:
semanticFormatterCallback ?? this.semanticFormatterCallback,
focusNode: focusNode ?? this.focusNode,
autofocus: autofocus ?? this.autofocus,
allowedInteraction: allowedInteraction ?? this.allowedInteraction,
);