Closed tiagosito closed 6 years ago
Could you update the PR without changing the name from center to textValue? Thanks!!
Ok, done!
That's weird I can't test the changes using your git repo and commit ref, could you move your changes to your master branch ?
@diegoveloper I've merged the changes in my master branch
great ! thanks!!
1 -Changing the widget name. Changing the name of the widget that is in the center of the component to be more intuitive and standardize with the LinearPercentIndicator component.
2 - When the LinearPercentIndicator is first created, it was defined in
this forced the value of the end to never be updated without recreating everything again.
I modified it so that the final value was the maximum acceptable "1.0", so when the component receives new data it behaves correctly.
To test this, just have a list of LinearPercentIndicator and pass a value of 0.0 to it and then update the values of the list, you will see that the value drawn in the progressColor will always be the same.
3 - When the value is 0 it still paints a starting point, I modified it to be transparent when the value is equal to 0.0 para ficar igual ao CircularPercentIndicator