Answers for "flutter downlad image display with image.file"

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 "Dart"

Browse Popular Code Answers by Language