{"repo":"Dimibe/grouped_list","free":true,"listed":false,"github":"https://github.com/Dimibe/grouped_list","clone":"git clone https://github.com/Dimibe/grouped_list.git","description":"A Flutter ListView in which items can be grouped into sections.","language":"Dart","stars":416,"topics":["flutter","dart","flutter-package"],"license":"MIT","category":"mobile-apps","readme_excerpt":"Grouped list package for Flutter. A flutter ListView in which list items can be grouped to sections. Features Sound null safety support! Easy creation of chat dialog. List Items can be separated in groups. For the groups an individual header can be set. Almost all fields from ListView.builder available. Getting Started Add the package to your pubspec.yaml: In your dart file, import the library: Instead of using a ListView create a GroupedListView Widget: Parameters: Name Description Required Default value ---------------------------------------------------------------------------------------- ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ---- ---- elements A list of the data you want to display in the list required - groupBy Function which maps an element to its grouped value required - itemBuilder / indexedItemBuilder / interdependentItemBuilder / grouItemBuilder Function which returns an Widget which defines the item. indexedItemBuilder provides the current index as well. interdependentItemBuilder provides the previous and next items as well. groupItemBuilder provides information i","default_branch":null,"files":null,"tree":[],"storefront":"/r/Dimibe","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Dimibe/grouped_list/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}