flutter_staggered_grid_view 0.8.0-dev.1
flutter_staggered_grid_view: ^0.8.0-dev.1 copied to clipboard
Provides a collection of Flutter grids layouts (staggered, masonry, quilted, woven, etc.).
0.8.0-dev.1 #
Added #
mainAxisExtentBuilderonMasonryGridViewandSliverMasonryGridto place the children without building them when their extents are known.RenderSliverMasonryGrid.itemCount, the exact number of children set bySliverMasonryGrid, to forget the placement of removed children.
Changed #
- Bump minimal Flutter version to 3.16.0
RenderSliverMasonryGridkeeps the placement of every child laid out once, instead of guessing the placement of the previous children when scrolling back.- Reaching a child far in a masonry grid lays out all the children before it once (like
ListView), unlessmainAxisExtentBuilderis provided. - When the width of a masonry grid changes without changing its
crossAxisCount, the visible children keep their state. The placement of the previous children is checked again when scrolling back, so they can move while the first visible child stays in place. WithmainAxisExtentBuilder, every child is placed again right away. - Changing the
crossAxisCountor themainAxisSpacingof a masonry grid places every child again, and the children are built again (like before). SliverMasonryGridreplaces the children moved with keys, likeSliverList, so that inserting a child keeps the state of the others.
Removed #
SliverMasonryGridParentData.lastMainAxisExtent.
Fixed #
- Scrolling issues with multiple
SliverMasonryGridin aCustomScrollView(https://github.com/letsar/flutter_staggered_grid_view/issues/338, https://github.com/letsar/flutter_staggered_grid_view/issues/335, https://github.com/letsar/flutter_staggered_grid_view/issues/299, https://github.com/letsar/flutter_staggered_grid_view/issues/286, https://github.com/letsar/flutter_staggered_grid_view/issues/265) - Jumps and children changing columns when scrolling back in a masonry grid (https://github.com/letsar/flutter_staggered_grid_view/issues/244, https://github.com/letsar/flutter_staggered_grid_view/issues/330, https://github.com/letsar/flutter_staggered_grid_view/issues/356)
estimatedMaxScrollOffset >= endScrollOffset - leadingScrollOffsetassertion (https://github.com/letsar/flutter_staggered_grid_view/issues/313)- Changing the
crossAxisCountof a masonry grid keeps the first visible child in place (https://github.com/letsar/flutter_staggered_grid_view/issues/105) - Negative child width in a masonry grid when the
crossAxisSpacingis larger than the available space.
0.6.2 #
Fixed #
- Issue with Quilted layout algorithm. (https://github.com/letsar/flutter_staggered_grid_view/issues/232)
0.6.0 #
0.5.0-dev.8 #
Changed #
- Make the
childCountparameter ofSliverMasonryGridconstructors, nullable and not required.
0.5.0-dev.1 #
Changed #
- Complete rewriting of the package. It comes now with 5 differents grid layouts (Staggered, Masonry, Quilted, Woven, Staired).
0.4.0-nullsafety.3 #
Fixed #
- LateInitializationError: Local
firstIndexhas not been initialized. (https://github.com/letsar/flutter_staggered_grid_view/issues/151)
0.3.0 #
Fixed #
- Upgrade to AndroidX and fixes the BoxHitTestResult exception (https://github.com/letsar/flutter_staggered_grid_view/issues/49)
0.2.3 #
Fixed #
- Fix the rtl support (https://github.com/letsar/flutter_staggered_grid_view/issues/17).
0.2.2 #
- Add Dart 2 support.
0.2.1 #
- Fix #10
StatefulWidget.createState must return a subtype of State<AutomaticKeepAliveVariableSizeBox>.
0.2.0 #
- Add a way to let the tile's content to define the tile's extent in the main axis.
- Add
fitconstructor toStaggeredTile.
0.1.4 #
- Add
countBuilderandextendBuilderconstructors toSliverStaggeredGrid
0.1.3 #
- Remove Flutter SDK constraint
0.1.2 #
- Remove update Flutter SDK constraint
0.1.1 #
- Fix images in readme
- Add dynamic resizing demo
0.1.0 #
- Initial Open Source release