bind method

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

Implementation

CellCupertinoSlider bind({
  ValueCell<bool>? enabled,
  MutableCell<double>? value,
  ValueCell<void Function(double)?>? onChangeStart,
  ValueCell<void Function(double)?>? onChangeEnd,
  ValueCell<double>? min,
  ValueCell<double>? max,
  ValueCell<int?>? divisions,
  ValueCell<Color?>? activeColor,
  ValueCell<Color>? thumbColor,
}) =>
    CellCupertinoSlider(
      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,
    );