simple_grouped_listview 2.0.0 copy "simple_grouped_listview: ^2.0.0" to clipboard
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 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.

20
likes
130
pub points
87%
popularity

Publisher

verified publisherquentin.klein.onl

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.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

collection, flutter

More

Packages that depend on simple_grouped_listview