Answers for "how to get image url from firebase storage flutter"

0

flutter url image

Image.network('https://picsum.photos/250?image=9')
Posted by: Guest on March-07-2021
0

how to get image url from firebase storage flutter

FirebaseStorage storage = FirebaseStorage.instance;
    Reference ref = storage.ref().child(pathname + DateTime.now().toString());
    await ref.putFile(File(_image.path));
    String imageUrl = await ref.getDownloadURL();
    print(imageUrl);
Posted by: Guest on October-14-2021

Code answers related to "how to get image url from firebase storage flutter"

Browse Popular Code Answers by Language