Flutter: Infinite Scroll Pagination Not Lazy Loading with Provider
I am using Flutter with the PagedMasonryGridView
widget to implement infinite scroll pagination
. However, the lazy loading functionality is not working as expected. Instead of loading data on user scroll, all data is fetched at once. I can see multiple API calls in the logger, but it appears to fetch all data in one go. I am using the Provider package for state management.