{"id":13573442,"url":"https://github.com/renefloor/side_header_list_view","last_synced_at":"2025-04-24T04:10:09.763Z","repository":{"id":54888063,"uuid":"113675850","full_name":"renefloor/side_header_list_view","owner":"renefloor","description":"Listview with sticky headers like the Android contact page","archived":false,"fork":false,"pushed_at":"2021-03-12T08:51:25.000Z","size":4059,"stargazers_count":208,"open_issues_count":6,"forks_count":25,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-24T04:10:02.462Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/renefloor.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-12-09T14:33:16.000Z","updated_at":"2025-01-31T10:38:44.000Z","dependencies_parsed_at":"2022-08-14T05:50:26.168Z","dependency_job_id":null,"html_url":"https://github.com/renefloor/side_header_list_view","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renefloor%2Fside_header_list_view","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renefloor%2Fside_header_list_view/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renefloor%2Fside_header_list_view/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renefloor%2Fside_header_list_view/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/renefloor","download_url":"https://codeload.github.com/renefloor/side_header_list_view/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250560053,"owners_count":21450172,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T15:00:35.594Z","updated_at":"2025-04-24T04:10:09.745Z","avatar_url":"https://github.com/renefloor.png","language":"Dart","funding_links":["https://www.paypal.me/renefloor"],"categories":["Components"],"sub_categories":["UI"],"readme":"# side_header_list_view\n\n[![pub package](https://img.shields.io/pub/v/side_header_list_view.svg)](https://pub.dartlang.org/packages/side_header_list_view)\n[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.me/renefloor)\n\nListview with sticky headers like the Android contact page\n\n\n\n![alt text](https://raw.githubusercontent.com/renefloor/side_header_list_view/master/example.gif \"Example for SideHeaderListView\")\n\n## Usage\n\n\n````\n  new SideHeaderListView(\n    // Set how many items the list has\n    itemCount: items.length,\n    \n    // Set the height of the item widgets. For now this has to be a fixed height\n    itemExtend: 150.0,\n    \n    // Set the header builder, this needs to return the widget for the side header\n    headerBuilder: (BuildContext context, int index){\n      return new HeaderWidget(items[index].startDate);\n    },\n    \n    // Set the item builder, this is everything in the row without the header\n    itemBuilder: (BuildContext context, int index){\n      return new ListItem(items[index]);\n    },\n    \n    // HasSameHeader will be used to know whether the header has to be shown for a position \n    hasSameHeader: (int a, int b){\n      return items[a].day == items[b].day;\n    },\n  );\n````","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frenefloor%2Fside_header_list_view","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frenefloor%2Fside_header_list_view","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frenefloor%2Fside_header_list_view/lists"}