sarbagyastha / flutter_rating_bar

A simple ratingbar for flutter which also include a rating bar indicator, supporting any fraction of rating.
MIT License
406 stars 103 forks source link

[Performace] Important GPU hit #62

Open bounty1342 opened 3 years ago

bounty1342 commented 3 years ago

Hi,

Really like this lib, but people should be careful when using it in list. I spent a lot of time trying to figure out what was impacting my performance, and never thought of this package. image

Did you have other feedback like this ? Could you look into it ?

Regards

eyoeldefare commented 3 years ago

Yeah I just noticed that too. I think the Cliper class is cpu intensive since it rebuilds the tree on canvas at a certain rate per second to maintain its look. If you have more than one of this widget, that's additional instance rebuilding that widget at fps.

grey122 commented 3 years ago

please, what is the workaround of this, or how where you able to rectify your performance issue @bounty1342 @eyoeldefare

lorriman commented 2 years ago

I have the same problem. I have a listview of rated items and it's unusably bad for performance. However, despite just having been featured by google, this lib appears to have been abandoned by the developer.