grabOriginal post
Rank 1: Thread
Hi. I am following example https://appwrite.io/docs/products/storage/upload-download how to get image from storage bucket. This is using flutter. It is showing
Dart
Image.memory(snapshot.data)But Image.memory takes Uint8List as bytes parameter, while done in example snapshot.data returns File.
Summary
Developers are trying to display an image from a storage bucket in a Flutter app using Image.memory. The issue is that the example provides File type data instead of the required Uint8List. In this case, developers may need to convert the File into Uint8List before passing it to Image.memory for proper display.