Answers for "flutter slider color"

1

flutter slider color

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;
              });
            },
          ),
Posted by: Guest on August-28-2021

Code answers related to "Dart"

Browse Popular Code Answers by Language