bind method

LiveCupertinoSlider bind({
  1. ValueCell<bool>? enabled,
  2. MutableCell<double>? value,
  3. void onChangeStart(
    1. double
    )?,
  4. void onChangeEnd(
    1. double
    )?,
  5. double? min,
  6. double? max,
  7. int? divisions,
  8. Color? activeColor,
  9. Color? thumbColor,
})

Implementation

LiveCupertinoSlider bind({
  ValueCell<bool>? enabled,
  MutableCell<double>? value,
  void Function(double)? onChangeStart,
  void Function(double)? onChangeEnd,
  double? min,
  double? max,
  int? divisions,
  Color? activeColor,
  Color? thumbColor,
}) =>
    LiveCupertinoSlider(
      enabled: enabled ?? this.enabled,
      value: value ?? this.value,
      onChangeStart: onChangeStart ?? this.onChangeStart,
      onChangeEnd: onChangeEnd ?? this.onChangeEnd,
      min: min ?? this.min,
      max: max ?? this.max,
      divisions: divisions ?? this.divisions,
      activeColor: activeColor ?? this.activeColor,
      thumbColor: thumbColor ?? this.thumbColor,
    );