bind method

LiveSlider bind({
  1. ValueCell<bool>? enabled,
  2. MutableCell<double>? value,
  3. double? secondaryTrackValue,
  4. void onChangeStart(
    1. double
    )?,
  5. void onChangeEnd(
    1. double
    )?,
  6. double? min,
  7. double? max,
  8. int? divisions,
  9. String? label,
  10. Color? activeColor,
  11. Color? inactiveColor,
  12. Color? secondaryActiveColor,
  13. Color? thumbColor,
  14. WidgetStateProperty<Color?>? overlayColor,
  15. MouseCursor? mouseCursor,
  16. String semanticFormatterCallback(
    1. double
    )?,
  17. FocusNode? focusNode,
  18. bool? autofocus,
  19. 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,
    );