Pagination with FirestoreListView¶
Ever wanted to support pagination when loading a collection of documents from Firestore?
The “firebase_ui_firestore” package makes it super-easy!
Just add it to your project and use the FirestoreListView widget whenever you need pagination.
It’s that simple! 🚀
And if you need more control, you can specify additional arguments:
- emptyBuilder
- errorBuilder
- loadingBuilder
And you know what’s cool?
If the data changes on the backend, the UI will automatically rebuild. 🚀
Tomorrow, I’ll publish a new article about FirestoreListView and its big brother FirestoreQueryBuilder.
If you don’t wanna miss it, sign up here: 👇
But there’s more!
Next month, I’ll launch a brand new course about Flutter & Firebase! 🔥
And I’ll offer a 40% discount when the course opens for pre-sale.
For all the details, check the course page. 👇
Previous | Next |
---|---|
Riverpod Notifier with build arguments | Firestore OR queries 🔥 |
Created: 18 septembre 2023