Firebase Storage Overview: – Used for storing data, including direct uploads from Flutter apps.

Steps: 1. Setup Firebase: Detailed setup article link provided.

Steps: 1. Setup Firebase:Detailed setup article link provided.

Import Packages: – Firebase Storage Package (firebase_storage). – Cloud Firestore Package (cloud_firestore).

Initialize Firebase: – Ensure initialization with Firebase Core. – Use flutter clean if build errors occur.

Pick Image using Image Picker: – Utilize image_picker package for image selection. – Example code provided for handling image selection.

Create UI: – Simple UI with icon for no image and buttons to pick and upload images.

1. Setup Firebase Storage:Set up Firebase Storage, currently in test mode. 2. Setup Firestore:Link to detailed article for Firestore setup. Specify code for testing purposes.

1. Upload Image to Firebase Storage and Store Reference:Functions provided for uploading image and storing reference in Firestore.

2. Testing:Two material buttons for testing image picking and uploading. 3. GitHub Repository:Link to full source code on GitHub.

Link to a detailed article on uploading media to firebase storage in Flutter  is given below so must check it out. The source code is also provided in that article. Thank you.