Closed AtulSisodiya closed 3 years ago
Change the 4 lines to
`
Reference reference = FirebaseStorage.instance.ref().child(fileName);
UploadTask uploadTask = reference.putFile(image);
TaskSnapshot storageTaskSnapshot = await uploadTask;
imageUrl = await storageTaskSnapshot.ref.getDownloadURL();`
Maybe you changed version firebase so the syntax changed too, read the firebase docs to update these code or get the same version as my demo
error related to firebase storage