sleek_circular_slider
sleek_circular_slider copied to clipboard
Gradient issue triggered when the dynamicGradient field is true
When I set dynamicGradient to true, the gradient color starts from 0-1, but the starting position color is incorrect
The example code is as follows:
SleekCircularSlider( min: 0, max: 1, initialValue: 1, appearance: CircularSliderAppearance( size: 0, customWidths: CustomSliderWidths(progressBarWidth: 10, trackWidth: 9), customColors: CustomSliderColors( progressBarColors: <Color>[ Colors.red, Colors.green, ], dynamicGradient: true, hideShadow: true, ), angleRange: 360, ), onChange: null, ),
The results obtained are as follows: