CupertinoSlider constructor

  1. @Goto(_i1.CupertinoSlider.new)
CupertinoSlider(
  1. $ $config, {
  2. Key? key,
  3. required double value,
  4. required ValueChanged<double>? onChanged,
  5. ValueChanged<double>? onChangeStart,
  6. ValueChanged<double>? onChangeEnd,
  7. double min = 0.0,
  8. double max = 1.0,
  9. int? divisions,
  10. Color? activeColor,
  11. Color thumbColor = _i1.CupertinoColors.white,
})

Implementation

@Goto(_i1.CupertinoSlider.new)
CupertinoSlider(
  $ $config, {
  _i2.Key? key,
  required double value,
  required _i2.ValueChanged<double>? onChanged,
  _i2.ValueChanged<double>? onChangeStart,
  _i2.ValueChanged<double>? onChangeEnd,
  double min = 0.0,
  double max = 1.0,
  int? divisions,
  ui.Color? activeColor,
  ui.Color thumbColor = _i1.CupertinoColors.white,
}) : super(
        Argument({
          #key: key,
          #value: value,
          #onChanged: onChanged,
          #onChangeStart: onChangeStart,
          #onChangeEnd: onChangeEnd,
          #min: min,
          #max: max,
          #divisions: divisions,
          #activeColor: activeColor,
          #thumbColor: thumbColor,
        }),
        builder: (args) => _i1.CupertinoSlider(
          key: args(#key),
          value: args(#value),
          onChanged: args(#onChanged),
          onChangeStart: args(#onChangeStart),
          onChangeEnd: args(#onChangeEnd),
          min: args(#min),
          max: args(#max),
          divisions: args(#divisions),
          activeColor: args(#activeColor),
          thumbColor: args(#thumbColor),
        ),
      );