Ad

Is There Any Possibility To Customize A Flutter Slider?

- 1 answer

I want to Add Flutter slider in My Cricket App(App For Live Score Cricket). Is there any Possibility to customize a Flutter Slider? if then what will be?

Ad

Answer

There are several things that can easily be customized in Slider. I would suggest playing around with in on DartPad and try the activeColor and inactiveColorproperties, and wrapping it with a SliderTheme. The SliderTheme allows you to define custom SliderThemeData:

This theme is for both the Slider and the RangeSlider. The properties that are only for the Slider are: tickMarkShape, thumbShape, trackShape, and valueIndicatorShape.

Ad
source: stackoverflow.com
Ad