flutter_staggered_grid_view icon indicating copy to clipboard operation
flutter_staggered_grid_view copied to clipboard

Is sliver supported?

Open mancj opened this issue 3 years ago • 2 comments

Hello! Thanks for your library. In the new readme i see you mention that using some types of grid with the slivers is not good because of performance reasons. Did you mean the exact type of grid view or using all types of grids is not a good idea? And another question is a grid itself (without slivers) reuses resources as a flutter's list view or it is not optimized? Thanks

mancj avatar Sep 06 '22 12:09 mancj

Cannot really help you much, but I'm using StaggeredGridView inside a Sliver (compare https://app.ehwplus.com/#/news) or my iOS/Android app.

timobaehr avatar Oct 03 '22 07:10 timobaehr

Only StaggeredGrid is not suitable to use as an infinite grid view for performance reasons. You can wrap it under a SliverToBoxAdapter inside a CustomScrollView, but take care of the number of children it will have.

letsar avatar Nov 01 '22 10:11 letsar