Answers for "how to preview an image with a download url 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

Code answers related to "how to preview an image with a download url flutter"

Code answers related to "Dart"

Browse Popular Code Answers by Language