Uploading files to Firebase

We are going to add the functionality of uploading files to Firebase Storage to our Favors app. In the Profile section of login process, after the user is successfully logged in, we can add a feature so the user can add an image to his/her profile.

You can check out this section of the app in the last part of the login screen, as shown in the following screenshot:

We also have added another useful library, image_picker, to the dependencies, so we can get an image from the camera and upload it to Firebase Storage for use as a user profile picture.

To check the camera usage and image_picker plugin in detail, read ...

Get Flutter for Beginners now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.