realtime_pagination 0.0.2 realtime_pagination: ^0.0.2 copied to clipboard
A Flutter package that helps use realtime pagination with Firestore
Realtime Pagination #
A Flutter plugin to help use realtime pagination with Firebase Firestore.
Usage #
@override Widget build(BuildContext context) { return RealtimePagination( query: _firestore.where('coins', greaterThan: 10) .orderBy("date"), // orderBy is required to pagination work properly itemsPerPage: 12, itemBuilder: (index, context, docSnapshot) { return null; // Build your item here } ); }