I'm new on flutter this is my code.
final ref = FirebaseStorage.instance
.ref()
.child('users')
.child(widget.user.uid)
.child('$clotheId.jpg');
await ref.putFile(_pickedImage!);
I'm new on flutter this is my code.
final ref = FirebaseStorage.instance
.ref()
.child('users')
.child(widget.user.uid)
.child('$clotheId.jpg');
await ref.putFile(_pickedImage!);
Copyright © 2021 Jogjafile Inc.
Declare an variable
bool isUploaded = false;And apply condition thatisUploaded ? Text("Uploded Succesful") : CircularProcessIndicator(),In which method you are uploading then set: