A Chat Helper for create chat application in Flutter using Firebase as backend services.
If you found this project helpful or you learned something from the source code and want to thank me, consider buying me a cup of ☕️
- 1-1 chat.
- Chat with only added friends(Privacy). New
- Share Pic with Gallery/Camera
- User online status
- Notification
- Group Chat
- User acceptance on chat request
- share location on chat
-
Add this to your package's pubspec.yaml file:
dependencies:
flutter_chat -
Add firebase in your android and ios project.
-
Deploy "Cloud Function" on firebase. (provided on cloudFunction folder, used for show user online/offline status).
-
Create a Stateful widget class and call the method in body (example can be found in Github repo),
within initState():
-> ChatData.init("app name",context);
and in body of Widget build:
-> ChatData.widgetWelcomeScreen(context)
Eirik Bakken