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