flutter_chat
A Chat Helper for create chat application in Flutter using Firebase as backend services.
Features:
- 1-1 chat.
- Chat with only added friends(Privacy). New
- Share Pic with Gallery/Camera
- User online status
Next Future Scope
- Notification
- Group Chat
- User acceptance on chat request
- share location on chat
Screenshots:
Getting Started
-
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)
Thanks for attention:
Hayden Lu