-
Notifications
You must be signed in to change notification settings - Fork 59
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
Round vs square caps on the progress bar ends #20
Comments
Yes, that used to be the default and I haven't updated the pictures yet. Currently there is no way to change whether the bar is round or not. I'll leave this issue open and if enough people upvote it then I'll add an option for it. The easiest way for you to solve your problem right now, though, is to just copy the source code to your project and delete the following line from the ..strokeCap = StrokeCap.round I think that will solve it but you might need to adjust the width measurements, too. I forget if the stroke cap changed the width any. |
I will be grateful if you could implement this enhancement. Thanks in advance! |
thanks, @suragch ! Yes, it could be nice to allow users to choose ;) |
Version 0.9.0 adds this functionality. barCapShape: BarCapShape.square, /// The shape of the progress bar at the left and right ends.
enum BarCapShape {
/// The left and right ends of the bar are round.
round,
/// The left and right ends of the bar are square.
square,
} If you find any problems with it feel free to reopen this issue or create a new one. |
Thank you very much! |
on the examples at /~https://github.com/suragch/audio_video_progress_bar , the progress bar has no border radius
however when executing, take a look...
It places the border of the progress bar with radius. Is there some how to control it ? I can't find anything on the doc.
I really wish to set my progress bar as it seens on the github pag, I mean: borderRadius = 0 on progress bar.
The text was updated successfully, but these errors were encountered: