diegoveloper / flutter_percent_indicator

Flutter percent indicator library
BSD 2-Clause "Simplified" License
679 stars 206 forks source link

Add border radius to the linear progress bar #127

Closed martinkong0806 closed 2 years ago

martinkong0806 commented 2 years ago

In this case, the linearStrokeCap parameter will be deprecated.

Uses path.addRRect() instead of drawLine() to draw the progress bar

Allows users to control the border radius of the progress bar. The progress bar will always have the same ends at the moment, will improve that in the future.

The basic functions are all there, will refactor some code after a while.

diegoveloper commented 2 years ago

Could you add some screenshot/samples using different types of barRadius , also add a deprecated annotation with a custom message so devs can know about that.

martinkong0806 commented 2 years ago

Included screenshots and sample in the code.

diegoveloper commented 2 years ago

Great, thanks for the contribution!