-
Notifications
You must be signed in to change notification settings - Fork 207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding progressBorderColor property on progressBar #196
Conversation
lib/circular_percent_indicator.dart
Outdated
_paintLine.style = PaintingStyle.stroke; | ||
_paintLine.strokeWidth = lineWidth; | ||
_paintLine.style = PaintingStyle.fill; | ||
_paintLine.strokeWidth = lineWidth - 2; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why -2 here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just for border size ... I think if it is dynamic, another problems will appear
thanks for making these changes, can you also update the examples, adding a few using this new property? thanks |
I make some changes to avoid percent border errors on linear. please verify and accept. Now with some examples |
Up |
@diegoveloper can you review this new PR pls? |
Thanks for the contribution!! I'm out of my city now but I'll publish this as a new version the next week. In the meantime you can point directly to the repo. |
thanks bro! |
Hi! When I set the |
@bardez hello! Can you please verify if using |
* Adding progressBorderColor property on progressBar (#196) * adding progressBorderColor on progressBar draw * fixing border colors on linear percent and adding examples * removing unnecessary parse comparsion on progress(double) * refactoring border correction symmetrics --------- Co-authored-by: Thiago Carvalho Ribeiro Bardez - TBA <[email protected]> * fix: divide 0 error when archType is not null (#200) * Check in linear percent indicator state is null if the size is null (#203) * Add function return current percent value if animation is true (#206) * Add an 'initialPercent' field to control the initial animation. (#209) * Update master.yml * Update release.yml --------- Co-authored-by: Bardez <[email protected]> Co-authored-by: Thiago Carvalho Ribeiro Bardez - TBA <[email protected]> Co-authored-by: fenghezhou <[email protected]> Co-authored-by: Victor Manuel Lagunas Franco <[email protected]> Co-authored-by: Le Anh Phi <[email protected]> Co-authored-by: Erik Fahlén <[email protected]>
* Adding progressBorderColor property on progressBar (#196) * adding progressBorderColor on progressBar draw * fixing border colors on linear percent and adding examples * removing unnecessary parse comparsion on progress(double) * refactoring border correction symmetrics --------- Co-authored-by: Thiago Carvalho Ribeiro Bardez - TBA <[email protected]> * fix: divide 0 error when archType is not null (#200) * Check in linear percent indicator state is null if the size is null (#203) * Add function return current percent value if animation is true (#206) * Add an 'initialPercent' field to control the initial animation. (#209) * Update master.yml * Update release.yml * Update release.yml --------- Co-authored-by: Bardez <[email protected]> Co-authored-by: Thiago Carvalho Ribeiro Bardez - TBA <[email protected]> Co-authored-by: fenghezhou <[email protected]> Co-authored-by: Victor Manuel Lagunas Franco <[email protected]> Co-authored-by: Le Anh Phi <[email protected]> Co-authored-by: Erik Fahlén <[email protected]>
Used to allow percent indicator uses a different border color