📅  最后修改于: 2022-03-11 14:48:02.940000             🧑  作者: Mango
Slider(
activeColor: Colors.red, // The color to use for the portion of the slider track that is active.
inactiveColor: Colors.red[100], // The color for the inactive portion of the slider track.
thumbColor: Colors.red,
min: 0,
max: 100,
value: _currentSliderValue,
onChanged: (value) {
setState(() {
_currentSliderValue = value;
});
},
),