CupertinoSlider constructor
- @Goto(_i1.CupertinoSlider.new)
CupertinoSlider(
- $ $config, {
- Key? key,
- required double value,
- required ValueChanged<double>? onChanged,
- ValueChanged<double>? onChangeStart,
- ValueChanged<double>? onChangeEnd,
- double min = 0.0,
- double max = 1.0,
- int? divisions,
- Color? activeColor,
- 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),
),
);