Answers for "get image url from api and display it in flutter"

1

flutter download image from url

final ByteData imageData = await NetworkAssetBundle(Uri.parse("YOUR_URL")).load("");
final Uint8List bytes = imageData.buffer.asUint8List();
// display it with the Image.memory widget
Image.memory(bytes);
Posted by: Guest on November-13-2020
0

image not shoing when i use network image,flutter

Try to add internet permission in android folder(do nothing with IOS part). Or jsut reinstall app.
Posted by: Guest on May-20-2020

Code answers related to "get image url from api and display it in flutter"

Browse Popular Code Answers by Language