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;
});
},
),