diegoveloper / flutter_percent_indicator

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

LinearStrokeCap is deprecated #144

Closed heydc7 closed 2 years ago

heydc7 commented 2 years ago

Issue

Unable to achieve rounded borders to Linear Percent Indicator in latest version of Dart & Flutter

Error

'LinearStrokeCap' is deprecated and shouldn't be used. This property is no longer used, please use barRadius instead.

Screenshot

Screenshot 2022-02-03 at 11 52 38

How to use barRadius there?

diegoveloper commented 2 years ago

https://github.com/diegoveloper/flutter_percent_indicator/blob/master/example/lib/sample_linear_page.dart#L139

heydc7 commented 2 years ago

Thank you.