In this tutorial, we are going to look at how we can add an image file to Firebase Storage and Cloud Firestore. First we add image from the assets folder to Firebase Storage. Then add the path of those images in Cloud Firestore.


  • A Firebase integrated Flutter project . If not follow this link to add Firebase to your app: adding Firebase

Adding Dependencies

For working with Firebase storage and cloud Firestore first we need to add following dependencies in pubspec.yaml(You can find it below the main. dart) file.

After adding dependencies save (ctrl + s)and…

In this article, we are given some insights when choosing a career path in IT in order to make their life better.

I have contributed to the below article along with Charangan Vasantharajan, and Thivvyan Karuneswaran which was published through Youth Govern SL.


Sanjeepan Sivapiran

UG @CSE, University of Moratuwa.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store