How do I make a ListView do http requests when it has scrolled every 70% of the viewport?
As I scroll the list, the ListView should make consecutive http requests to fetch data from the api as soon as it reaches a certain height in the scrollable viewport.
If anyone looking for asnwer, its possible to use FutureBuilder inside ListView.builder, it work's with async source of data. For example you could read next article about it here
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.