Closed rohansohonee closed 4 years ago
@rohansohonee I profiled the sample code and got render times at < 4 ms / frame which is substantially less than the 16 ms / frame that Flutter recommends to maintain 60 FPS.
However, it is unnecessary to rebuild the panelBuilder widget on each animation tick as the panel slides up and down (which is currently occurring). This will be resolved in the next update.
@akshathjain just wanted to say that this update saved me! Got my Sliding Panel > PanelBuilder > CustomScrollView working like a charm!
Thanks 🥇
Hi, @akshathjain I'm having heavy performance problems with this. Glad to know you're working on it! Thanks for the awesome package :+1:
@akshathjain have fixed this issue?
Looks like I've fixed it in https://github.com/akshathjain/sliding_up_panel/pull/112
Thanks to @s0nerik's PR, I'm closing this issue. This fix will be pushed to prod within the next 24 hours.
Hi @akshathjain, I started to use this package recently and I found that the rebuilding issue is still there when using PanelBuilder with the scrollcontroller sc used as the child widget's controller (just like the sample code in this issue) and maybe you would like to consider reopening the issue. Thank you very much.
Hi @akshathjain Has this been fixed or not? I tried and found the problem is still there (2.0.0+1)
come here with the same problem. Cannot use panelbuilder with gridview. It rebuilds children on scroll max/min height
Hi everyone,
I don't know why but the problem is still going on. I've used this solution as workaround and it worked, take a look: https://github.com/akshathjain/sliding_up_panel/issues/188#issuecomment-835254625
Hi @akshathjain
Just started playing around with the new PanelBuilder (beta) using this code snippet from your example docs:
print('scrolling list rebuilt');
.Console log output for reference: