When should I use future builder or future provider. It seems to me they do almost same work.
The answer is from here:
FutureProvider: you can use this to retrieve a document from firestore and show a loading screen while waiting, but can't make changes to it afterwards, that will also show in the UI
FutureBuilder: same as above but it can't provide data down the widget-tree
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.