matthewfx / sleek_circular_slider

Sleek circular slider for Flutter
MIT License
524 stars 102 forks source link

Angle incorrect for initialValue when full circle #94

Open SalvaBurrezo opened 1 year ago

SalvaBurrezo commented 1 year ago

First of all, congratulations for this great widget I'm using it with an angleRange of 360, no interaction, I just want to represent a percentage in a circle. I have always used it as a semicircle and have never had a problem

It is easier to explain with an example: for a value of 10 a more or less correct angle is represented, but for one of 90 it is not, since the remaining area (10) is much smaller than when I represent 10 directly.

In next image, left circle represent initialValue of 10 (green), and in the right one, initialValue is 90 (blue). You can see that the remain area in right image must be like the left image In both angleRange is 360, max 100 and min 0

image

I have experience with the package, and I have reviewed the parameters, but I can't understand the problem

can you help me please?

thank you so much best regards