Uploading Image to Firebase Storage in Flutter App (Android & iOS)

Priyanka Tyagi
CodeChai
Published in
3 min readAug 16, 2020

--

Target Audience: Beginner

Recipe: Implement uploading image to Firebase Storage on Flutter Native.

Goal: In this code recipe, we’ll pick an image from the device camera or gallery and upload it to the Firebase Storage. I’ll be using an Android emulator to demonstrate this code recipe. The camera functionality doesn’t work in the iOS simulator. You need an iOS device to use a camera.

Pick Image

Upload Image

Check out the Youtube video:

Step #1. pubspec.yaml dependencies

Flutter plugin for accessing images in FirebaseStorage for Native apps:

--

--

Priyanka Tyagi
CodeChai

Tech explorer | Passionate about sharing explorations around software engineering and leadership