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
     }
  );
}       

Libraries

default_bottom_loader
default_empty_display
default_initial_loading
paginated_list
realtime_pagination
realtime_pagination_cubit
realtime_pagination_state