In this article, we will add Firebase Authentication and Google Sign-in to a Flutter application, which will authenticate a user by logging in using the gmail account and then we will retrieve user information.

Get Started With Google Sign-in

This is the sixth article related to Firebase in Flutter, you can check the previous articles in the below links:

To know how to download the google-service.json file, you can check the first article in the above list. In the other two articles, I created a form using Flutter performed queries for the real-time database and authenticated users with Firebase, in the Cloud Firestore article, it…


In this article, we will add Firebase Cloud Messaging (FCM) to a Flutter application, which will enable us to send notifications to one user or a group of users.

Get Started With Firebase Cloud Messaging

This is the sixth article related to Firebase in Flutter, you can check the previous articles in the below links:

To know how to download the google-service.json file, you can check the first article in the above list. In the other two articles, I created a form using Flutter performed queries for the real-time database and authenticated users with Firebase, and in the last article, it was different code snippet related…


Get started with the latest Dart feature

Darts
Darts
Photo by 🇻🇪 Jose G. Ortega Castro 🇲🇽 on Unsplash.

In this article, we will try out the new null safety feature in Dart and see how it can help us to avoid annoying errors.

Getting Started With Null Safety

Starting with Dart 2.12, null safety is now stable! If you are working on Flutter, you can upgrade to the latest version by executing this command:

flutter upgrade

To make sure that the update working correctly, you can execute flutter --version, which should give you the following output:

Flutter 2.0.0 • channel stable • https://github.com/flutter/flutter Framework • revision 60bd88df91 (14 hours ago) • 2021-03-03 09:13:17 -0800 Engine • revision 40441def69 Tools • Dart 2.12.0

What Is Null Safety?

In…


Note: This post was originally published on May 2020 and has been completely revamped and updated for accuracy and comprehensiveness.

In this article, we will use Firebase Storage to add images, retrieve them, and we will also connect the images with Firestore.

This is the fifth article related to Firebase in Flutter, you can check the previous articles in the below links:

To know how to download the google-service.json file, you can check the first article in the above list. In this article, I will add images to the assets folder, so we can then add those images to Firebase…


Note: This post was originally published on April 2020 and has been completely revamped and updated for accuracy and comprehensiveness.

In this article, we will add Cloud Firestore to a Flutter application, perform different read, write operation and use some queries to retrieve data.

This is the fourth article related to Firebase in Flutter, you can check the previous articles in the below links:

To know how to download the google-service.json file, you can check the first article in the above list. In the last two articles, I created a form using Flutter performed queries for the realtime database and…


Note: This post was originally published on February 2020 and has been completely revamped and updated for accuracy and comprehensiveness.

In this article, we will create a form to be able to create a new user which will be authenticated using the Firebase authentication and also will be connected to the Firebase Realtime database.

Note: You can find the source code for all the Firebase/Flutter tutorials in the following repository: Firebase-Flutter-tutorials. Support me by starring the repository and following me on Github for more awesome content! You can also subscribe to my newsletter! Let’s get started 😁

Enabling Firebase Authentication

First to be…


Note: This post was originally published on February 2020 and has been completely revamped and updated for accuracy and comprehensiveness.

In this article, we will go more in depth in using Firebase realtime database in flutter, and we will also see how easily you can query, retrieve the data, and add it to a listview.

Note: You can find the source code for all the Firebase/Flutter tutorials in the following repository: Firebase-Flutter-tutorials. Support me by starring the repository and following me on Github for more awesome content! You can also subscribe to my newsletter! Let’s get started 😁

Creating a Form

Since, we…


Note: This post was originally published on February 2020 and has been completely revamped and updated for accuracy and comprehensiveness.

You started learning flutter and now you need a backend, you read about Firebase but didn’t really understand how to use it.

Well in this article I will explain how to integrate Firebase with Flutter, save and retrieve data from the Realtime database.

1st Note: Flutter is a hybrid framework for mobile applications, but for this article I’m only going to use it on Android device. …

Peter Haddad

Software Developer. Actively helping users with their Firebase questions on Stack Overflow. Occasionally I post on medium and other platforms.

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