simple_grouped_listview 2.0.0 simple_grouped_listview: ^2.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.
1.0.0 #
GroupedListView
GroupedListView.list()
GroupedListView.grid()
See documentation
1.0.1 #
- Fixes an issue that makes horizontal lists and scroll lead to Unbounded height
2.0.0 #
- Added a new argument in the builders
itemsBuilder
andcustomBuilder
no longer takesList<I>
as parameter but aList<IndexedItem<I>>
. gridItemBuilder
inGroupedListView.grid
andlistItemBuilder
inGroupedListView.list()
are taking a new parameter,int itemIndexInOriginalList
which 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.