Open radzish opened 1 year ago
Mostly it is because AlignedGridView
uses SliverLayoutBuilder
under the hood. It rebuilds on every scroll change.
I have same issue, so what solution for this? Using MasonryGridView instead is good @radzish? Thank you so much!
I have same issue, so what solution for this? Using MasonryGridView instead is good @radzish? Thank you so much!
I've switched to MasonryGridView with same settings and all works fine
I am using
AlignedGridView
(withcount
constructor). I noticed that performance of scrolling is quite poor. While debugging I noticed that when I scroll grid, all visible items are rebuilt.I replaced AlignedGridView with MasonryGridView and later does not have this issue. As a workaround I implemented item widgets cache, it improved performance dramatically, however I am not sure it is safe/efficient solution.
I am using 0.7.0 version.