
Here you will see what we the app will look like once you are done building. This show how smooth it is to chat using firebase in Flutter.
Create a firebase project
Start working on the welcome screen
Get the complete code from here https://www.dbestech.com/flutter_firebase_google.zip
Design a welcome page with three images using a page view and a dot indicator plugin. Use a stack and screen util for responsive, asset-based visuals.
This is to advice you when you try Google sign. You must remember this part.
Discover how to design a Firebase chat app using Firestore with users and messages collections. Create a unique chat document per user pair and a message list subcollection.
Fetch all users from Firebase Firestore, excluding the current user, populate an observable contact list, and display them on the contact page through the controller bindings.
Grab route parameters in the chat controller on init and map them to dock id, uid, and name. Implement image builder with fallbacks and error widgets for avatars.
Set up the chat page and controller, implement text input and a tappable row, and send messages to Firebase Firestore using a MSG Content model with uid and timestamp.
Build chat left item and chat list on chat page, then add a bottom sheet image picker (gallery or camera) and upload the file via chat controller to Firebase storage.
Explore image uploads in a real-time chat app using Flutter and Firebase Storage, including file naming, upload progression, getting the image URL, and handling gallery and camera permissions.
Fetch and display the other user's location in a real-time chat by reading from Firestore, saving and updating location data, with debug logs to confirm updates.
You will learn here how to master firebase and flutter by building a real time chat app. It's a course for building iOS and Android app using Flutter.
Here I have covered how to build Flutter UI to advanced Flutter concept. But this tutorial mostly focuses on how to build a strong app using firebase.
We talked a lot about firebase data storage and how to retrieve them and show on the app. We used a lot of complex queries and conditions to work with. You will learn how to use where() clause, double where() and withConverter() and conditional check. You will also learn about complex processing and listening data update and document updates.
We also showed step by step how to examine on the data. At the end of the course you will get the complete source and master flutter and firebase real time chat app building.
There are fifty three chapters and each chapter deals with a different topic. And more chapters would be added in future.
Screen Features
1. Launch screen
You will see it has screen with three slides. The last one lets you enter in the login page.
2. Login screen
We used social networking for launch screen. The paid version app includes both Google and Facebook sign in. But you will have issues with Facebook login. We will also do Apple account login.
3. Contact screen
From contact screen you would be able to see how many people have chatted to before. You may choose any to chat back.
4. Chatting screen
Here you would be able to chat between two people and get instant messages. Currently you send images and texts for chatting.
Not only you may send photos on the chat, you may also take photos and send.
5. Personal center
Here is your dashboard. You navigate to other screens and logout.
6. Allow location
The app uses user's current location. With this you know who you are chatting to. And there current location.
7. Photo view screen
Here you can tap on a photo and enlarge it.
8. Notification
We will have notification bar to see when others send message