A chat app built on Flutter with firebase authentication and image sharing capability.

Overview

Flutter Chat App

A one-to-one chat app built on Flutter with firebase authentication and image sharing capability.

For help getting started with Flutter, view the online documentation.

You can check out the corresponding Google code lab here.

Demo

Demo

Watch the full video here

Getting Started

Note: Make sure your Flutter environment is setup.

Installation

In the command terminal, run the following commands:

$ git clone [email protected]:rohan20/flutter-chat-app.git
$ cd flutter-chat-app/
$ flutter run

Simulate for iOS

Method One

Open the project in Xcode from ios/Runner.xcodeproj.
Hit the play button.

Method Two

Run the following command in your terminal.
$ open -a Simulator
$ flutter run

Simulate for Android

Make sure you have an Android emulator installed and running.
Run the following command in your terminal.
$ flutter run
Check out Flutter’s online documentation for help getting start with your Flutter project.

License

MIT License

Copyright (c) 2018 Rohan Taneja

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
You might also like...

Tag chat is a simple and basic chat app created with flutter

Tag chat is a simple and basic chat app created with flutter

TagChat What is TagChat? Tag chat is a simple and basic chat app created with flutter. Description TagChat use firestore as backend Currently it suppo

Jun 22, 2022

Chat app flutter - A Simple Chat App UI With Flutter

Chat app flutter - A Simple Chat App UI With Flutter

Flutter Chat App UI. Flutter Chat App UI. This is a simple flutter application w

Mar 5, 2022

Form builder image picker - Form builder image picker for flutter

form_builder_image_picker Field for picking image(s) from Gallery or Camera for

Jan 28, 2022

Flutter Image add drag sort, Image add drag sort, support click event, delete, add, long press drag sort.

Flutter Image add drag sort, Image add drag sort, support click event, delete, add, long press drag sort.

flutter_image_add_drag_sort Flutter Image add drag sort, Image add drag sort, support click event, delete, add, long press drag sort, support video fi

Jun 23, 2020

Stream Chat official Flutter SDK. Build your own chat experience using Dart and Flutter.

Stream Chat official Flutter SDK. Build your own chat experience using Dart and Flutter.

Official Flutter packages for Stream Chat Quick Links Register to get an API key for Stream Chat Flutter Chat SDK Tutorial Chat UI Kit Sample apps Thi

Dec 25, 2022

Chat app built with Flutter & Firebase

Chat app built with Flutter & Firebase

Chatz 📦 Packages FirebaseAuth - https://pub.dev/packages/firebase_auth FirebaseStorage - https://pub.dev/packages/firebase_storage FirebaseCore - htt

Sep 29, 2022

Flutter UI with different widgets and firebase authentication email and gmail

Flutter UI with different widgets and firebase authentication email and gmail

flutter_firebase A new Flutter application. Getting Started This project is a starting point for a Flutter application. A few resources to get you sta

Dec 9, 2022

Simple Chat UI - This template is a simple chat ui build with flutter ui toolkit.

Simple Chat UI - This template is a simple chat ui build with flutter ui toolkit.

Simple Chat UI This template is a simple chat ui build with flutter ui toolkit. TODO dark mode support image support gif, video, ... web mode desktop

Apr 24, 2022

Venni partner app - A flutter ride-sharing driver app supporting bank transfer, balance history, trip rating system, and trip history,

partner_app A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if t

Sep 24, 2022
Comments
  • Doesn't run on iOS

    Doesn't run on iOS

    The domain/default pair of (/Users/rohantaneja/FlutterProjects/flutter_chat_app/ios/Runner/Info, CFBundleIdentifier) does not exist
    No application found for TargetPlatform.ios.
    Is your project missing an ios/Runner/Info.plist?
    Consider running "flutter create ." to create one.
    
    help wanted 
    opened by rohan20 1
  • Git clone issue

    Git clone issue

    The command provided in Readme.md for git repo, says 'Permission denied' while cloning it.

    The link should be [email protected]/rohan20/flutter-chat-app.git. Notice the '/' instead of ':'

    $ git clone [email protected]:rohan20/flutter-chat-app.git
    $ cd flutter-chat-app/ $ flutter run

    opened by Saba-d-coder 1
  • Any way to update the packages

    Any way to update the packages

    Hi, I have updated the packages to the latest version but its seems the app broken.. any way to fix that?

    `Compiler message: lib/ChatScreen.dart:56:32: Error: The argument type 'ChatMessageListItem Function(BuildContext, DataSnapshot, Animation)' can't be assigned to the parameter type 'Widget Function(BuildContext, DataSnapshot, Animation, int)'.

    • 'ChatMessageListItem' is from 'package:flutter_chat_app/ChatMessageListItem.dart' ('lib/ChatMessageListItem.dart').
    • 'BuildContext' is from 'package:flutter/src/widgets/framework.dart' ('../../flutter/packages/flutter/lib/src/widgets/framework.dart').
    • 'DataSnapshot' is from 'package:firebase_database/firebase_database.dart' ('../../flutter/.pub-cache/hosted/pub.dartlang.org/firebase_database-3.1.1/lib/firebase_database.dart').
    • 'Animation' is from 'package:flutter/src/animation/animation.dart' ('../../flutter/packages/flutter/lib/src/animation/animation.dart').
    • 'Widget' is from 'package:flutter/src/widgets/framework.dart' ('../../flutter/packages/flutter/lib/src/widgets/framework.dart'). itemBuilder: (_, DataSnapshot messageSnapshot, ^ lib/ChatScreen.dart:133:59: Error: The getter 'future' isn't defined for the class 'StorageUploadTask'. - 'StorageUploadTask' is from 'package:firebase_storage/firebase_storage.dart' ('../../flutter/.pub-cache/hosted/pub.dartlang.org/firebase_storage-3.1.1/lib/firebase_storage.dart'). Try correcting the name to the name of an existing getter, or defining a getter or field named 'future'. Uri downloadUrl = (await uploadTask.future).downloadUrl; ^^^^^^ lib/ChatScreen.dart:199:18: Error: The method 'signInWithGoogle' isn't defined for the class 'FirebaseAuth'.
    • 'FirebaseAuth' is from 'package:firebase_auth/firebase_auth.dart' ('../../flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-0.15.4/lib/firebase_auth.dart'). Try correcting the name to the name of an existing method, or defining a method named 'signInWithGoogle'. await auth.signInWithGoogle( ^^^^^^^^^^^^^^^^ Target kernel_snapshot failed: Exception: Errors during snapshot creation: null build failed. FAILURE: Build failed with an exception. * Where: Script '/Users/Mohammed/Development/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 817 * What went wrong: Execution failed for task ':app:compileFlutterBuildDebug'. > Process 'command '/Users/Mohammed/Development/flutter/bin/flutter'' finished with non-zero exit value 1
      * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
      * Get more help at https://help.gradle.org BUILD FAILED in 2m 59s Running Gradle task 'assembleDebug'... Running Gradle task 'assembleDebug'... Done 180.9s (!) Gradle task assembleDebug failed with exit code 1`
    opened by Wooody82 2
Owner
Rohan Taneja
Flutter Evangelist
Rohan Taneja
A chat💬 application📱 developed using Flutter and Firebase along with feature of user authentication👩🏼‍💻

Chitty-Chat A chat ?? application ?? developed using Flutter and Firebase along with feature of user authentication????‍??. Along with it, it has the

Ashna Nizam 3 Sep 26, 2022
flutter chat app with firebase , provider and api with all chat app functions

Full Chat Flutter App In this app we use FireBase Services(firestore - storage - auth - cloud messageing ) Dio for api setiing such as sending remote

Ahmed EL Bagory 35 Dec 14, 2022
Actively maintained, community-driven Firebase BaaS for chat applications with an optional chat UI.

Flutter Firebase Chat Core Actively maintained, community-driven Firebase BaaS for chat applications with an optional chat UI. Flyer Chat is a platfor

Flyer Chat 173 Jan 2, 2023
A Note app built with flutter and integrate with Firebase for user authentication and backend database.

Note App Note app (Both frontend and backend) created with Flutter and Firebase. Complete UI Contains Sign in & Sign up Home Screen Setting screen Acc

Hafiz Mounim Naeem 6 Dec 4, 2022
Connect your flutter app to firebase, use firebase's Authentication. Don't mind my poor UI. 😬

flutter_email_auth A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you start

Syed Muhammad Ahmad 2 May 2, 2022
Flutter firebase auth - Simple implementation of Firebase Authentication using Flutter

FlutterFire Authentication Sample A simple implementation of Firebase Authentica

Souvik Biswas 4 Apr 2, 2022
Flutter simple image crop - A simple and easy to use flutter plugin to crop image on iOS and Android

Image Zoom and Cropping plugin for Flutter A simple and easy used flutter plugin to crop image on iOS and Android. Installation Add simple_image_crop

null 97 Dec 14, 2021
Dart library for decoding/encoding image formats, and image processing.

image Overview A Dart library providing the ability to load, save and manipulate images in a variety of different file formats. The library is written

Brendan Duncan 907 Dec 27, 2022
Album Image is based in photo_manager package and has the same concept as image_picker but with a more attractive interface to choose an image or video from the device gallery, whether it is Android or iOS

Album Image is based in photo_manager package and has the same concept as image_picker but with a more attractive interface to choose an image or vide

Phuong Vu 2 Oct 13, 2022