You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am struggling with it myself, is this code correct or could be improved?
What is supposed to be a best practice to load images as well?
Downloading the image directly in the state as well?
Thank you for your help!
Camillo
The text was updated successfully, but these errors were encountered:
@ponnamkarthik thank you!
I was saying about the network image widget.
Flutter can call build method many times without a purpose, does this mean that every time it goes to the network and fetch the image?
Am I wrong?
Flutter best practices advice to avoid doing network calls in Widget build method; you did it by loading the avatar image from the network:
backgroundImage: NetworkImage( appState.getResponseJson()[index][‘avatar’]), ),
I am struggling with it myself, is this code correct or could be improved?
What is supposed to be a best practice to load images as well?
Downloading the image directly in the state as well?
Thank you for your help!
Camillo
The text was updated successfully, but these errors were encountered: