ios风格的滑块
CupertinoSlider({
Key key,
@required this.value,
@required this.onChanged,
this.onChangeStart,
this.onChangeEnd,
this.min = 0.0,
this.max = 1.0,
this.divisions,
this.activeColor,
this.thumbColor = CupertinoColors.white,
})
activeColor: Colors.blue,
divisions: 10,
max: 100,
min: 0,
onChanged: (v) {
print(v);
},
onChangeEnd: (v) {
print(v);
},
onChangeStart: (v) {
print(v);
},
value:10,