Flutter Firebase Storage Listen to File Upload | PutFile
Here we will learn how to listen to flutter file upload to firebase storage. We will use putFile of flutter storage reference object. We may use this for listening to file uploading progress. The actual object will come from
final ref = FirebaseStorage.instance.ref("chat").child(fileName);
The above ref object will have to listening events and states. We will need to use switch statement to listen to different states.
From ref object we will be able to find putFile, snapShotEvents and Listen object.
And after that we will be able to different enum of event.state object.
Learn software programming with us step by step. Make money from home by learning programming.
Complete e-commerce app
https://youtu.be/7dAt-JMSCVQ
Firebase chatting app
https://youtu.be/nU0IKgv2zWQ
Complete app for beginners
https://youtu.be/71AsYo2q_0Y
Firebase complete study app
https://youtu.be/ZSVnIphlGKI
Complete Gym App
https://youtu.be/1ENQHfNB9gM
Traveling App
https://youtu.be/x4DydJKVvQk
Learn to build an android and iOS app
https://youtu.be/svQOxQde0bg
Learn to build a video player app
https://youtu.be/OXQ5ee6p9ZA
Learn to build a website step by step
https://youtu.be/-nRB83GM-8g
Learn to build an ebook app
https://youtu.be/kTrbcb21ENU
Build an audio app step by step
https://youtu.be/CF3Q7YfvH7Q
Twitter @dbestech
Instagram @dbestech
What's app @dbestech
LinkedIn @dbestech