Closed claudemircasa closed 3 years ago
The onReachedEnd function receives a state reference of type PaginationLoaded when the list came to an end. With this reference you can access the list of documents, for example:
onReachedEnd: (state) { List<DocumentSnapshot> documents = state.documentSnapshots; }
You can filter cached list items using a listener of type PaginateFilterChangeListener, like this:
PaginateFilterChangeListener filterChangeListener = PaginateFilterChangeListener(); ... listeners: [ searchChangeListener ], ... filterChangeListener.filter = "my_filter_string";
The onReachedEnd function receives a state reference of type PaginationLoaded when the list came to an end. With this reference you can access the list of documents, for example:
You can filter cached list items using a listener of type PaginateFilterChangeListener, like this: