simple_grouped_listview 4.0.0 copy "simple_grouped_listview: ^4.0.0" to clipboard
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 evenItemsCount in favor of itemsForHeader in header builder (breaking change)
  • Add optional itemSorter to 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 itemsBuilder and customBuilder no longer takes List<I> as parameter but a List<IndexedItem<I>>.
  • gridItemBuilder in GroupedListView.grid and listItemBuilder in GroupedListView.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.

1.0.1 #

  • Fixes an issue that makes horizontal lists and scroll lead to Unbounded height

1.0.0 #

  • GroupedListView
  • GroupedListView.list()
  • GroupedListView.grid()

See documentation

23
likes
150
points
482
downloads

Documentation

Documentation
API reference

Publisher

verified publisherquentin.klein.onl

Weekly Downloads

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.

Homepage
Repository (GitHub)
View/report issues

Topics

#collection #list #grid #sorting #grouping

License

MIT (license)

Dependencies

collection, flutter

More

Packages that depend on simple_grouped_listview