Replies: 2 comments
-
Is there a better solution?
Which of the above two methods is the best? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Use Future Builder inside itemBuilder |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have the following scenario
https://endpointA.com/products
https://endpointB.com/product/:id/images
Now, I need to first fetch all products, show them in a GridView, with an image placeholder, and afterwards fetch the endpoint of the images for each product and reload only the item in the GridView (not the whole GridView) after the image is retreived
My intended (very simplified) solution would be something like this
Controller.dart
View.dart
Would this be the way to go, or is there a better solution?
Beta Was this translation helpful? Give feedback.
All reactions