Convert avatar (Uint8List) to File
yadaniyil opened this issue · comments
I'm not able to convert contact's avatar to File.
I tried to
File file = File.fromRawPath(contact.avatar);
But this file seems corrupted because I cannot use Image.file with it or upload to Firebase Storage.
How to convert avatar to File?
Solution: save the file locally and then use it
Solution: save the file locally and then use it
can u share the solution??
can you provide some basic example?