simple_grouped_listview 4.0.0
simple_grouped_listview: ^4.0.0 copied to clipboard
A package to display a grouped list of items. Provide a List, a grouper, and let it display it as a ListView, a GridView or anything else. Grouped by headers.
4.0.0 #
- Removed
evenItemsCountin favor ofitemsForHeaderin header builder (breaking change) - Add optional
itemSorterto help sort items within a group itself
3.0.0 #
- Update dependencies
- Add number of elements in section to the header builder (breaking change)
- Add unit tests
2.0.0 #
- Added a new argument in the builders
itemsBuilderandcustomBuilderno longer takesList<I>as parameter but aList<IndexedItem<I>>. gridItemBuilderinGroupedListView.gridandlistItemBuilderinGroupedListView.list()are taking a new parameter,int itemIndexInOriginalListwhich is, as it says, the index of the item in the original given list.
This is a breaking change, as your code needs to be updated to takes this new parameter in account.
This fills a requirement asked in the project
This would be necessary to create a "scroll to header" function and is available in most List/GridView objects and other grouped list packages.
1.0.1 #
- Fixes an issue that makes horizontal lists and scroll lead to Unbounded height
1.0.0 #
GroupedListViewGroupedListView.list()GroupedListView.grid()
See documentation