1

I know how to make pagination with FutureBuilder,

however when I'm using StreamBuilder things gets tricky and complicated.

I tried to increase the document limit upon scrolling but this would restart the stream which will cause more quote "Reading the data twice, triple and so on".

Please help.

Bermjly Team
  • 2,315
  • 3
  • 7
  • 16
  • not use any loop while you using stream builder and also avoid to use set state in stream builder – Muhammad Arbaz Zafar Jul 29 '21 at 06:44
  • Can you please provide the code for pagination using stream ? or you can also take a look to this post where there is an example of [Flutter Firestore pagination using streambuilder](https://stackoverflow.com/questions/59191492/flutter-firestore-pagination-using-streambuilder) – Mathew Bellamy Aug 18 '21 at 17:31

0 Answers0