Download an image from Firebase to Flutter. You can just use the Storage API to download, like with upload
1 2 3 4 5 | someMethod() async { var data = await FirebaseStorage.instance.ref().child("foo$rand.txt").getData(); var text = new String.fromCharCodes(data); print(data); } |
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.