{"id":32307650,"url":"https://github.com/vedartm/paginate_firestore","last_synced_at":"2026-02-21T02:39:58.098Z","repository":{"id":42368558,"uuid":"259981185","full_name":"vedartm/paginate_firestore","owner":"vedartm","description":"A flutter package to simplify pagination with firestore data 🗃","archived":false,"fork":false,"pushed_at":"2024-08-19T13:14:04.000Z","size":1079,"stargazers_count":111,"open_issues_count":37,"forks_count":139,"subscribers_count":7,"default_branch":"master","last_synced_at":"2026-01-11T10:41:29.451Z","etag":null,"topics":["dart","firebase","firestore","flutter","flutter-package","pagination","pagination-library"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/paginate_firestore","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vedartm.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-04-29T16:32:15.000Z","updated_at":"2025-10-25T03:37:21.000Z","dependencies_parsed_at":"2024-06-18T18:25:25.900Z","dependency_job_id":"47a1d492-2f57-4d34-afb0-1ae900d18920","html_url":"https://github.com/vedartm/paginate_firestore","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vedartm/paginate_firestore","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vedartm%2Fpaginate_firestore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vedartm%2Fpaginate_firestore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vedartm%2Fpaginate_firestore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vedartm%2Fpaginate_firestore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vedartm","download_url":"https://codeload.github.com/vedartm/paginate_firestore/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vedartm%2Fpaginate_firestore/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29671795,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T00:11:43.526Z","status":"online","status_checked_at":"2026-02-21T02:00:07.432Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["dart","firebase","firestore","flutter","flutter-package","pagination","pagination-library"],"created_at":"2025-10-23T07:21:32.029Z","updated_at":"2026-02-21T02:39:58.065Z","avatar_url":"https://github.com/vedartm.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pagination in Firestore\n\n\u003c!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section --\u003e\n\n[![All Contributors](https://img.shields.io/badge/all_contributors-10-orange.svg?style=flat-square)](#contributors-)\n\n\u003c!-- ALL-CONTRIBUTORS-BADGE:END --\u003e\n\n[![pub package](https://img.shields.io/pub/v/paginate_firestore.svg)](https://pub.dev/packages/paginate_firestore)\n[![style: effective dart](https://img.shields.io/badge/style-effective_dart-40c4ff.svg)](https://github.com/tenhobi/effective_dart)\n[![License: MIT](https://img.shields.io/badge/license-MIT-purple.svg)](https://opensource.org/licenses/MIT)\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/excogitatr/paginate_firestore/master/assets/screen.gif\" height=\"500px\"\u003e\n\u003c/p\u003e\n\n## Setup\n\nUse the same setup used for `cloud_firestore` package (or follow [this](https://pub.dev/packages/cloud_firestore#setup)).\n\n## Usage\n\nIn your pubspec.yaml\n\n```yaml\ndependencies:\n  paginate_firestore: # latest version\n```\n\nImport it\n\n```dart\nimport 'package:paginate_firestore/paginate_firestore.dart';\n```\n\nImplement it\n\n```dart\n      PaginateFirestore(\n        //item builder type is compulsory.\n        itemBuilder: (context, documentSnapshots, index) {\n          final data = documentSnapshots[index].data() as Map?;\n          return ListTile(\n            leading: CircleAvatar(child: Icon(Icons.person)),\n            title: data == null ? Text('Error in data') : Text(data['name']),\n            subtitle: Text(documentSnapshots[index].id),\n          );\n        },\n        // orderBy is compulsory to enable pagination\n        query: FirebaseFirestore.instance.collection('users').orderBy('name'),\n        //Change types accordingly\n        itemBuilderType: PaginateBuilderType.listView,\n        // to fetch real-time data\n        isLive: true,\n      ),\n```\n\nTo use with listeners:\n\n```dart\n      PaginateRefreshedChangeListener refreshChangeListener = PaginateRefreshedChangeListener();\n\n      RefreshIndicator(\n        child: PaginateFirestore(\n          itemBuilder: (context, documentSnapshots, index) =\u003e ListTile(\n            leading: CircleAvatar(child: Icon(Icons.person)),\n            title: Text(documentSnapshots[index].data()['name']),\n            subtitle: Text(documentSnapshots[index].id),\n          ),\n          // orderBy is compulsary to enable pagination\n          query: Firestore.instance.collection('users').orderBy('name'),\n          listeners: [\n            refreshChangeListener,\n          ],\n        ),\n        onRefresh: () async {\n          refreshChangeListener.refreshed = true;\n        },\n      )\n```\n\n## Contributions\n\nFeel free to contribute to this project.\n\nIf you find a bug or want a feature, but don't know how to fix/implement it, please fill an [issue](https://github.com/excogitatr/paginate_firestore/issues).\nIf you fixed a bug or implemented a feature, please send a [pull request](https://github.com/excogitatr/paginate_firestore/pulls).\n\n## Getting Started\n\nThis project is a starting point for a Dart\n[package](https://flutter.dev/developing-packages/),\na library module containing code that can be shared easily across\nmultiple Flutter or Dart projects.\n\nFor help getting started with Flutter, view our\n[online documentation](https://flutter.dev/docs), which offers tutorials,\nsamples, guidance on mobile development, and a full API reference.\n\n## Contributors ✨\n\nThanks goes to these wonderful people:\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --\u003e\n\u003c!-- prettier-ignore-start --\u003e\n\u003c!-- markdownlint-disable --\u003e\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://adamdupuis.com\"\u003e\u003cimg src=\"https://avatars1.githubusercontent.com/u/6547826?v=4?s=100\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eAdam Dupuis\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/vedartm/paginate_firestore/commits?author=adamdupuis\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://gauthamasir.github.io/Portfolio_Dart/\"\u003e\u003cimg src=\"https://avatars1.githubusercontent.com/u/26927742?v=4?s=100\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eGautham\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/vedartm/paginate_firestore/commits?author=GauthamAsir\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/imhafeez\"\u003e\u003cimg src=\"https://avatars3.githubusercontent.com/u/21155655?v=4?s=100\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eHafeez Ahmed\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/vedartm/paginate_firestore/commits?author=imhafeez\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://claudemir.casa\"\u003e\u003cimg src=\"https://avatars3.githubusercontent.com/u/7956750?v=4?s=100\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eClaudemir Casa\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/vedartm/paginate_firestore/commits?author=claudemircasa\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://www.nikhil27.com\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/45140298?v=4?s=100\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eNikhil27bYt\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/vedartm/paginate_firestore/commits?author=Nikhil27b\" title=\"Documentation\"\u003e📖\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/ghprod\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/1922652?v=4?s=100\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eFerri Sutanto\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/vedartm/paginate_firestore/commits?author=ghprod\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/jslattery26\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/44002583?v=4?s=100\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003ejslattery26\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/vedartm/paginate_firestore/commits?author=jslattery26\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://approachablegeek.com\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/68708352?v=4?s=100\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003egarrettApproachableGeek\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/vedartm/paginate_firestore/commits?author=garrettApproachableGeek\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://www.suamusica.com.br/\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/30954979?v=4?s=100\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eSua Música\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/vedartm/paginate_firestore/commits?author=SuaMusica\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://nelsonnerds.wordpress.com/\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/1161152?v=4?s=100\" width=\"100px;\" alt=\"\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eAustin Nelson\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/vedartm/paginate_firestore/commits?author=austinn\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n\u003c!-- markdownlint-restore --\u003e\n\u003c!-- prettier-ignore-end --\u003e\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:END --\u003e\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvedartm%2Fpaginate_firestore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvedartm%2Fpaginate_firestore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvedartm%2Fpaginate_firestore/lists"}