├── .gitignore
├── .metadata
├── LICENSE
├── README.md
├── android.iml
├── android
├── .gitignore
├── app
│ ├── build.gradle
│ ├── google-services.json
│ └── src
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ └── com
│ │ │ └── yourcompany
│ │ │ └── flutterchatapp
│ │ │ └── MainActivity.java
│ │ └── res
│ │ ├── drawable
│ │ └── launch_background.xml
│ │ ├── mipmap-hdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-mdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-xhdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-xxhdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-xxxhdpi
│ │ └── ic_launcher.png
│ │ └── values
│ │ └── styles.xml
├── build.gradle
├── gradle.properties
├── gradle
│ └── wrapper
│ │ ├── gradle-wrapper.jar
│ │ └── gradle-wrapper.properties
├── gradlew
├── gradlew.bat
└── settings.gradle
├── flutter_chat_app.iml
├── flutter_chat_app_android.iml
├── ios
├── .gitignore
├── Flutter
│ ├── AppFrameworkInfo.plist
│ ├── Debug.xcconfig
│ └── Release.xcconfig
├── Podfile
├── Podfile.lock
├── Runner.xcodeproj
│ ├── project.pbxproj
│ ├── project.xcworkspace
│ │ └── contents.xcworkspacedata
│ └── xcshareddata
│ │ └── xcschemes
│ │ └── Runner.xcscheme
├── Runner.xcworkspace
│ └── contents.xcworkspacedata
└── Runner
│ ├── AppDelegate.h
│ ├── AppDelegate.m
│ ├── Assets.xcassets
│ ├── AppIcon.appiconset
│ │ ├── Contents.json
│ │ ├── Icon-App-1024x1024@1x.png
│ │ ├── Icon-App-20x20@1x.png
│ │ ├── Icon-App-20x20@2x.png
│ │ ├── Icon-App-20x20@3x.png
│ │ ├── Icon-App-29x29@1x.png
│ │ ├── Icon-App-29x29@2x.png
│ │ ├── Icon-App-29x29@3x.png
│ │ ├── Icon-App-40x40@1x.png
│ │ ├── Icon-App-40x40@2x.png
│ │ ├── Icon-App-40x40@3x.png
│ │ ├── Icon-App-60x60@2x.png
│ │ ├── Icon-App-60x60@3x.png
│ │ ├── Icon-App-76x76@1x.png
│ │ ├── Icon-App-76x76@2x.png
│ │ └── Icon-App-83.5x83.5@2x.png
│ └── LaunchImage.imageset
│ │ ├── Contents.json
│ │ ├── LaunchImage.png
│ │ ├── LaunchImage@2x.png
│ │ ├── LaunchImage@3x.png
│ │ └── README.md
│ ├── Base.lproj
│ ├── LaunchScreen.storyboard
│ └── Main.storyboard
│ ├── GoogleService-Info.plist
│ ├── Info.plist
│ └── main.m
├── lib
├── ChatMessageListItem.dart
├── ChatScreen.dart
├── main.dart
└── util
│ └── Themes.dart
├── pubspec.lock
├── pubspec.yaml
├── screenshots
├── flutter_chat_app_gif.gif
└── flutter_chat_app_video.mov
└── test
└── widget_test.dart
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | .atom/
3 | .idea
4 | .vscode/
5 | .packages
6 | .pub/
7 | build/
8 | ios/.generated/
9 | packages
10 | .flutter-plugins
11 |
--------------------------------------------------------------------------------
/.metadata:
--------------------------------------------------------------------------------
1 | # This file tracks properties of this Flutter project.
2 | # Used by Flutter tool to assess capabilities and perform upgrades etc.
3 | #
4 | # This file should be version controlled and should not be manually edited.
5 |
6 | version:
7 | revision: 3ea4d06340a97a1e9d7cae97567c64e0569dcaa2
8 | channel: beta
9 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2018 Rohan Taneja
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Flutter Chat App
2 |
3 | A one-to-one chat app built on Flutter with firebase authentication and image sharing capability.
4 |
5 | For help getting started with Flutter, view the online
6 | [documentation](https://flutter.io/).
7 |
8 | You can check out the corresponding Google code lab [here](https://codelabs.developers.google.com/codelabs/flutter/index.html?index=..%2F..%2Findex#0).
9 |
10 | # Demo
11 | 
12 |
13 | Watch the full video here
14 |
15 | ## Getting Started
16 | **Note:** Make sure your Flutter environment is setup.
17 |
18 | #### Installation
19 |
20 | In the command terminal, run the following commands:
21 |
22 | $ git clone git@github.com:rohan20/flutter-chat-app.git
23 | $ cd flutter-chat-app/
24 | $ flutter run
25 |
26 | # Simulate for iOS
27 | #### Method One
28 |
29 | Open the project in Xcode from ios/Runner.xcodeproj.
30 | Hit the play button.
31 |
32 | #### Method Two
33 |
34 | Run the following command in your terminal.
35 | $ open -a Simulator
36 | $ flutter run
37 |
38 | # Simulate for Android
39 |
40 | Make sure you have an Android emulator installed and running.
41 | Run the following command in your terminal.
42 | $ flutter run
43 |
44 | ##### Check out Flutter’s online [documentation](http://flutter.io/) for help getting start with your Flutter project.
45 |
46 | # License
47 |
48 | ```
49 | MIT License
50 |
51 | Copyright (c) 2018 Rohan Taneja
52 |
53 | Permission is hereby granted, free of charge, to any person obtaining a copy
54 | of this software and associated documentation files (the "Software"), to deal
55 | in the Software without restriction, including without limitation the rights
56 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
57 | copies of the Software, and to permit persons to whom the Software is
58 | furnished to do so, subject to the following conditions:
59 |
60 | The above copyright notice and this permission notice shall be included in all
61 | copies or substantial portions of the Software.
62 |
63 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
64 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
65 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
66 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
67 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
68 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
69 | SOFTWARE.
70 | ```
71 |
--------------------------------------------------------------------------------
/android.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/android/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | *.class
3 | .gradle
4 | /local.properties
5 | /.idea/workspace.xml
6 | /.idea/libraries
7 | .DS_Store
8 | /build
9 | /captures
10 | GeneratedPluginRegistrant.java
11 |
--------------------------------------------------------------------------------
/android/app/build.gradle:
--------------------------------------------------------------------------------
1 | def localProperties = new Properties()
2 | def localPropertiesFile = rootProject.file('local.properties')
3 | if (localPropertiesFile.exists()) {
4 | localPropertiesFile.withReader('UTF-8') { reader ->
5 | localProperties.load(reader)
6 | }
7 | }
8 |
9 | def flutterRoot = localProperties.getProperty('flutter.sdk')
10 | if (flutterRoot == null) {
11 | throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
12 | }
13 |
14 | apply plugin: 'com.android.application'
15 | apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
16 |
17 | android {
18 | compileSdkVersion 27
19 |
20 | lintOptions {
21 | disable 'InvalidPackage'
22 | }
23 |
24 | defaultConfig {
25 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
26 | applicationId "com.yourcompany.flutterchatapp"
27 | minSdkVersion 16
28 | targetSdkVersion 27
29 | versionCode 1
30 | versionName "1.0"
31 | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
32 | }
33 |
34 | buildTypes {
35 | release {
36 | // TODO: Add your own signing config for the release build.
37 | // Signing with the debug keys for now, so `flutter run --release` works.
38 | signingConfig signingConfigs.debug
39 | }
40 | }
41 | }
42 |
43 | flutter {
44 | source '../..'
45 | }
46 |
47 | dependencies {
48 | testImplementation 'junit:junit:4.12'
49 | androidTestImplementation 'com.android.support.test:runner:1.0.1'
50 | androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
51 | }
52 |
53 | apply plugin: 'com.google.gms.google-services'
--------------------------------------------------------------------------------
/android/app/google-services.json:
--------------------------------------------------------------------------------
1 | {
2 | "project_info": {
3 | "project_number": "434342727264",
4 | "firebase_url": "https://flutter-chat-app-1.firebaseio.com",
5 | "project_id": "flutter-chat-app-1",
6 | "storage_bucket": "flutter-chat-app-1.appspot.com"
7 | },
8 | "client": [
9 | {
10 | "client_info": {
11 | "mobilesdk_app_id": "1:434342727264:android:9da7418cd8aeb615",
12 | "android_client_info": {
13 | "package_name": "com.yourcompany.flutterchatapp"
14 | }
15 | },
16 | "oauth_client": [
17 | {
18 | "client_id": "434342727264-5mr6v5oecnkstm3em9pl0dkoolfeghsg.apps.googleusercontent.com",
19 | "client_type": 1,
20 | "android_info": {
21 | "package_name": "com.yourcompany.flutterchatapp",
22 | "certificate_hash": "dd1d5c5fa10ae0c36008857fe1153243913addfe"
23 | }
24 | },
25 | {
26 | "client_id": "434342727264-nbatms1aqla0737p5vfgfa0dahvjec48.apps.googleusercontent.com",
27 | "client_type": 3
28 | }
29 | ],
30 | "api_key": [
31 | {
32 | "current_key": "AIzaSyBhHpxI9tlQHLZRiLIypoAHJFuUs-Oukeo"
33 | }
34 | ],
35 | "services": {
36 | "analytics_service": {
37 | "status": 1
38 | },
39 | "appinvite_service": {
40 | "status": 2,
41 | "other_platform_oauth_client": [
42 | {
43 | "client_id": "434342727264-nbatms1aqla0737p5vfgfa0dahvjec48.apps.googleusercontent.com",
44 | "client_type": 3
45 | },
46 | {
47 | "client_id": "434342727264-rtbq6gdmcgml8bs0tl6cubkkktr1fo0j.apps.googleusercontent.com",
48 | "client_type": 2,
49 | "ios_info": {
50 | "bundle_id": "com.yourcompany.flutterChatApp"
51 | }
52 | }
53 | ]
54 | },
55 | "ads_service": {
56 | "status": 2
57 | }
58 | }
59 | }
60 | ],
61 | "configuration_version": "1"
62 | }
--------------------------------------------------------------------------------
/android/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
4 |
8 |
9 |
10 |
11 |
12 |
17 |
21 |
28 |
32 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/android/app/src/main/java/com/yourcompany/flutterchatapp/MainActivity.java:
--------------------------------------------------------------------------------
1 | package com.yourcompany.flutterchatapp;
2 |
3 | import android.os.Bundle;
4 |
5 | import io.flutter.app.FlutterActivity;
6 | import io.flutter.plugins.GeneratedPluginRegistrant;
7 |
8 | public class MainActivity extends FlutterActivity {
9 | @Override
10 | protected void onCreate(Bundle savedInstanceState) {
11 | super.onCreate(savedInstanceState);
12 | GeneratedPluginRegistrant.registerWith(this);
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable/launch_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
12 |
13 |
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rohan20/flutter-chat-app/da9d83bdf085f2d9ba59edde80495aa0b958fd46/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rohan20/flutter-chat-app/da9d83bdf085f2d9ba59edde80495aa0b958fd46/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rohan20/flutter-chat-app/da9d83bdf085f2d9ba59edde80495aa0b958fd46/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rohan20/flutter-chat-app/da9d83bdf085f2d9ba59edde80495aa0b958fd46/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rohan20/flutter-chat-app/da9d83bdf085f2d9ba59edde80495aa0b958fd46/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
9 |
--------------------------------------------------------------------------------
/android/build.gradle:
--------------------------------------------------------------------------------
1 | buildscript {
2 | repositories {
3 | google()
4 | jcenter()
5 | }
6 |
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:3.0.1'
9 | classpath 'com.google.gms:google-services:3.1.0'
10 | }
11 | }
12 |
13 | allprojects {
14 | repositories {
15 | google()
16 | jcenter()
17 | }
18 | }
19 |
20 | rootProject.buildDir = '../build'
21 | subprojects {
22 | project.buildDir = "${rootProject.buildDir}/${project.name}"
23 | }
24 | subprojects {
25 | project.evaluationDependsOn(':app')
26 | }
27 |
28 | task clean(type: Delete) {
29 | delete rootProject.buildDir
30 | }
--------------------------------------------------------------------------------
/android/gradle.properties:
--------------------------------------------------------------------------------
1 | org.gradle.jvmargs=-Xmx1536M
2 |
--------------------------------------------------------------------------------
/android/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rohan20/flutter-chat-app/da9d83bdf085f2d9ba59edde80495aa0b958fd46/android/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/android/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Fri Jun 23 08:50:38 CEST 2017
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip
7 |
--------------------------------------------------------------------------------
/android/gradlew:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | ##############################################################################
4 | ##
5 | ## Gradle start up script for UN*X
6 | ##
7 | ##############################################################################
8 |
9 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
10 | DEFAULT_JVM_OPTS=""
11 |
12 | APP_NAME="Gradle"
13 | APP_BASE_NAME=`basename "$0"`
14 |
15 | # Use the maximum available, or set MAX_FD != -1 to use that value.
16 | MAX_FD="maximum"
17 |
18 | warn ( ) {
19 | echo "$*"
20 | }
21 |
22 | die ( ) {
23 | echo
24 | echo "$*"
25 | echo
26 | exit 1
27 | }
28 |
29 | # OS specific support (must be 'true' or 'false').
30 | cygwin=false
31 | msys=false
32 | darwin=false
33 | case "`uname`" in
34 | CYGWIN* )
35 | cygwin=true
36 | ;;
37 | Darwin* )
38 | darwin=true
39 | ;;
40 | MINGW* )
41 | msys=true
42 | ;;
43 | esac
44 |
45 | # Attempt to set APP_HOME
46 | # Resolve links: $0 may be a link
47 | PRG="$0"
48 | # Need this for relative symlinks.
49 | while [ -h "$PRG" ] ; do
50 | ls=`ls -ld "$PRG"`
51 | link=`expr "$ls" : '.*-> \(.*\)$'`
52 | if expr "$link" : '/.*' > /dev/null; then
53 | PRG="$link"
54 | else
55 | PRG=`dirname "$PRG"`"/$link"
56 | fi
57 | done
58 | SAVED="`pwd`"
59 | cd "`dirname \"$PRG\"`/" >/dev/null
60 | APP_HOME="`pwd -P`"
61 | cd "$SAVED" >/dev/null
62 |
63 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
64 |
65 | # Determine the Java command to use to start the JVM.
66 | if [ -n "$JAVA_HOME" ] ; then
67 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
68 | # IBM's JDK on AIX uses strange locations for the executables
69 | JAVACMD="$JAVA_HOME/jre/sh/java"
70 | else
71 | JAVACMD="$JAVA_HOME/bin/java"
72 | fi
73 | if [ ! -x "$JAVACMD" ] ; then
74 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
75 |
76 | Please set the JAVA_HOME variable in your environment to match the
77 | location of your Java installation."
78 | fi
79 | else
80 | JAVACMD="java"
81 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
82 |
83 | Please set the JAVA_HOME variable in your environment to match the
84 | location of your Java installation."
85 | fi
86 |
87 | # Increase the maximum file descriptors if we can.
88 | if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
89 | MAX_FD_LIMIT=`ulimit -H -n`
90 | if [ $? -eq 0 ] ; then
91 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
92 | MAX_FD="$MAX_FD_LIMIT"
93 | fi
94 | ulimit -n $MAX_FD
95 | if [ $? -ne 0 ] ; then
96 | warn "Could not set maximum file descriptor limit: $MAX_FD"
97 | fi
98 | else
99 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
100 | fi
101 | fi
102 |
103 | # For Darwin, add options to specify how the application appears in the dock
104 | if $darwin; then
105 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
106 | fi
107 |
108 | # For Cygwin, switch paths to Windows format before running java
109 | if $cygwin ; then
110 | APP_HOME=`cygpath --path --mixed "$APP_HOME"`
111 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
112 | JAVACMD=`cygpath --unix "$JAVACMD"`
113 |
114 | # We build the pattern for arguments to be converted via cygpath
115 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
116 | SEP=""
117 | for dir in $ROOTDIRSRAW ; do
118 | ROOTDIRS="$ROOTDIRS$SEP$dir"
119 | SEP="|"
120 | done
121 | OURCYGPATTERN="(^($ROOTDIRS))"
122 | # Add a user-defined pattern to the cygpath arguments
123 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then
124 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
125 | fi
126 | # Now convert the arguments - kludge to limit ourselves to /bin/sh
127 | i=0
128 | for arg in "$@" ; do
129 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
130 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
131 |
132 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
133 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
134 | else
135 | eval `echo args$i`="\"$arg\""
136 | fi
137 | i=$((i+1))
138 | done
139 | case $i in
140 | (0) set -- ;;
141 | (1) set -- "$args0" ;;
142 | (2) set -- "$args0" "$args1" ;;
143 | (3) set -- "$args0" "$args1" "$args2" ;;
144 | (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
145 | (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
146 | (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
147 | (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
148 | (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
149 | (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
150 | esac
151 | fi
152 |
153 | # Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
154 | function splitJvmOpts() {
155 | JVM_OPTS=("$@")
156 | }
157 | eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
158 | JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
159 |
160 | exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
161 |
--------------------------------------------------------------------------------
/android/gradlew.bat:
--------------------------------------------------------------------------------
1 | @if "%DEBUG%" == "" @echo off
2 | @rem ##########################################################################
3 | @rem
4 | @rem Gradle startup script for Windows
5 | @rem
6 | @rem ##########################################################################
7 |
8 | @rem Set local scope for the variables with windows NT shell
9 | if "%OS%"=="Windows_NT" setlocal
10 |
11 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
12 | set DEFAULT_JVM_OPTS=
13 |
14 | set DIRNAME=%~dp0
15 | if "%DIRNAME%" == "" set DIRNAME=.
16 | set APP_BASE_NAME=%~n0
17 | set APP_HOME=%DIRNAME%
18 |
19 | @rem Find java.exe
20 | if defined JAVA_HOME goto findJavaFromJavaHome
21 |
22 | set JAVA_EXE=java.exe
23 | %JAVA_EXE% -version >NUL 2>&1
24 | if "%ERRORLEVEL%" == "0" goto init
25 |
26 | echo.
27 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
28 | echo.
29 | echo Please set the JAVA_HOME variable in your environment to match the
30 | echo location of your Java installation.
31 |
32 | goto fail
33 |
34 | :findJavaFromJavaHome
35 | set JAVA_HOME=%JAVA_HOME:"=%
36 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe
37 |
38 | if exist "%JAVA_EXE%" goto init
39 |
40 | echo.
41 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
42 | echo.
43 | echo Please set the JAVA_HOME variable in your environment to match the
44 | echo location of your Java installation.
45 |
46 | goto fail
47 |
48 | :init
49 | @rem Get command-line arguments, handling Windowz variants
50 |
51 | if not "%OS%" == "Windows_NT" goto win9xME_args
52 | if "%@eval[2+2]" == "4" goto 4NT_args
53 |
54 | :win9xME_args
55 | @rem Slurp the command line arguments.
56 | set CMD_LINE_ARGS=
57 | set _SKIP=2
58 |
59 | :win9xME_args_slurp
60 | if "x%~1" == "x" goto execute
61 |
62 | set CMD_LINE_ARGS=%*
63 | goto execute
64 |
65 | :4NT_args
66 | @rem Get arguments from the 4NT Shell from JP Software
67 | set CMD_LINE_ARGS=%$
68 |
69 | :execute
70 | @rem Setup the command line
71 |
72 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
73 |
74 | @rem Execute Gradle
75 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
76 |
77 | :end
78 | @rem End local scope for the variables with windows NT shell
79 | if "%ERRORLEVEL%"=="0" goto mainEnd
80 |
81 | :fail
82 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
83 | rem the _cmd.exe /c_ return code!
84 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
85 | exit /b 1
86 |
87 | :mainEnd
88 | if "%OS%"=="Windows_NT" endlocal
89 |
90 | :omega
91 |
--------------------------------------------------------------------------------
/android/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
3 | def flutterProjectRoot = rootProject.projectDir.parentFile.toPath()
4 |
5 | def plugins = new Properties()
6 | def pluginsFile = new File(flutterProjectRoot.toFile(), '.flutter-plugins')
7 | if (pluginsFile.exists()) {
8 | pluginsFile.withReader('UTF-8') { reader -> plugins.load(reader) }
9 | }
10 |
11 | plugins.each { name, path ->
12 | def pluginDirectory = flutterProjectRoot.resolve(path).resolve('android').toFile()
13 | include ":$name"
14 | project(":$name").projectDir = pluginDirectory
15 | }
16 |
--------------------------------------------------------------------------------
/flutter_chat_app.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
--------------------------------------------------------------------------------
/flutter_chat_app_android.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/ios/.gitignore:
--------------------------------------------------------------------------------
1 | .idea/
2 | .vagrant/
3 | .sconsign.dblite
4 | .svn/
5 |
6 | .DS_Store
7 | *.swp
8 | profile
9 |
10 | DerivedData/
11 | build/
12 | GeneratedPluginRegistrant.h
13 | GeneratedPluginRegistrant.m
14 |
15 | *.pbxuser
16 | *.mode1v3
17 | *.mode2v3
18 | *.perspectivev3
19 |
20 | !default.pbxuser
21 | !default.mode1v3
22 | !default.mode2v3
23 | !default.perspectivev3
24 |
25 | xcuserdata
26 |
27 | *.moved-aside
28 |
29 | *.pyc
30 | *sync/
31 | Icon?
32 | .tags*
33 |
34 | /Flutter/app.flx
35 | /Flutter/app.zip
36 | /Flutter/flutter_assets/
37 | /Flutter/App.framework
38 | /Flutter/Flutter.framework
39 | /Flutter/Generated.xcconfig
40 | /ServiceDefinitions.json
41 |
42 | Pods/
43 |
--------------------------------------------------------------------------------
/ios/Flutter/AppFrameworkInfo.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | App
9 | CFBundleIdentifier
10 | io.flutter.flutter.app
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | App
15 | CFBundlePackageType
16 | FMWK
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1.0
23 | UIRequiredDeviceCapabilities
24 |
25 | arm64
26 |
27 | MinimumOSVersion
28 | 8.0
29 |
30 |
31 |
--------------------------------------------------------------------------------
/ios/Flutter/Debug.xcconfig:
--------------------------------------------------------------------------------
1 | #include "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
2 | #include "Generated.xcconfig"
3 |
--------------------------------------------------------------------------------
/ios/Flutter/Release.xcconfig:
--------------------------------------------------------------------------------
1 | #include "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
2 | #include "Generated.xcconfig"
3 |
--------------------------------------------------------------------------------
/ios/Podfile:
--------------------------------------------------------------------------------
1 | # Uncomment this line to define a global platform for your project
2 | # platform :ios, '9.0'
3 |
4 | # CocoaPods analytics sends network stats synchronously affecting flutter build latency.
5 | ENV['COCOAPODS_DISABLE_STATS'] = 'true'
6 |
7 | def parse_KV_file(file, separator='=')
8 | file_abs_path = File.expand_path(file)
9 | if !File.exists? file_abs_path
10 | return [];
11 | end
12 | pods_ary = []
13 | skip_line_start_symbols = ["#", "/"]
14 | File.foreach(file_abs_path) { |line|
15 | next if skip_line_start_symbols.any? { |symbol| line =~ /^\s*#{symbol}/ }
16 | plugin = line.split(pattern=separator)
17 | if plugin.length == 2
18 | podname = plugin[0].strip()
19 | path = plugin[1].strip()
20 | podpath = File.expand_path("#{path}", file_abs_path)
21 | pods_ary.push({:name => podname, :path => podpath});
22 | else
23 | puts "Invalid plugin specification: #{line}"
24 | end
25 | }
26 | return pods_ary
27 | end
28 |
29 | target 'Runner' do
30 | # Prepare symlinks folder. We use symlinks to avoid having Podfile.lock
31 | # referring to absolute paths on developers' machines.
32 | system('rm -rf Pods/.symlinks')
33 | system('mkdir -p Pods/.symlinks/flutter')
34 | system('mkdir -p Pods/.symlinks/plugins')
35 |
36 | # Flutter Pods
37 | generated_xcode_build_settings = parse_KV_file('./Flutter/Generated.xcconfig')
38 | if generated_xcode_build_settings.empty?
39 | puts "Generated.xcconfig must exist. If you're running pod install manually, make sure flutter packages get is executed first."
40 | end
41 | generated_xcode_build_settings.map { |p|
42 | if p[:name] == 'FLUTTER_FRAMEWORK_DIR'
43 | symlink = File.join('Pods', '.symlinks', 'flutter', File.basename(p[:path]))
44 | File.symlink(p[:path], symlink)
45 | pod 'Flutter', :path => symlink
46 | end
47 | }
48 |
49 | # Plugin Pods
50 | plugin_pods = parse_KV_file('../.flutter-plugins')
51 | plugin_pods.map { |p|
52 | symlink = File.join('Pods', '.symlinks', 'plugins', File.basename(p[:path]))
53 | File.symlink(p[:path], symlink)
54 | pod p[:name], :path => File.join(symlink, 'ios')
55 | }
56 | end
57 |
58 | post_install do |installer|
59 | installer.pods_project.targets.each do |target|
60 | target.build_configurations.each do |config|
61 | config.build_settings['ENABLE_BITCODE'] = 'NO'
62 | end
63 | end
64 | end
65 |
--------------------------------------------------------------------------------
/ios/Podfile.lock:
--------------------------------------------------------------------------------
1 | PODS:
2 | - Firebase/Auth (3.17.0):
3 | - Firebase/Core
4 | - FirebaseAuth (= 3.1.1)
5 | - Firebase/Core (3.17.0):
6 | - FirebaseAnalytics (= 3.9.0)
7 | - FirebaseCore (= 3.6.0)
8 | - Firebase/Database (3.17.0):
9 | - Firebase/Core
10 | - FirebaseDatabase (= 3.1.2)
11 | - Firebase/Storage (3.17.0):
12 | - Firebase/Core
13 | - FirebaseStorage (= 1.1.0)
14 | - firebase_analytics (0.0.1):
15 | - Firebase/Core
16 | - Flutter
17 | - firebase_auth (0.0.1):
18 | - Firebase/Auth
19 | - Firebase/Core
20 | - FirebaseUI/Auth (~> 3.0)
21 | - FirebaseUI/Google
22 | - Flutter
23 | - Google/SignIn
24 | - firebase_database (0.0.1):
25 | - Firebase/Database
26 | - Flutter
27 | - firebase_storage (0.0.1):
28 | - Firebase/Storage
29 | - Flutter
30 | - FirebaseAnalytics (3.9.0):
31 | - FirebaseCore (~> 3.6)
32 | - FirebaseInstanceID (~> 1.0)
33 | - GoogleToolboxForMac/NSData+zlib (~> 2.1)
34 | - FirebaseAuth (3.1.1):
35 | - FirebaseAnalytics (~> 3.7)
36 | - GoogleToolboxForMac/NSDictionary+URLArguments (~> 2.1)
37 | - GTMSessionFetcher/Core (~> 1.1)
38 | - FirebaseCore (3.6.0):
39 | - GoogleToolboxForMac/NSData+zlib (~> 2.1)
40 | - FirebaseDatabase (3.1.2):
41 | - FirebaseAnalytics (~> 3.7)
42 | - FirebaseInstanceID (1.0.10):
43 | - FirebaseCore (~> 3.6)
44 | - FirebaseStorage (1.1.0):
45 | - FirebaseAnalytics (~> 3.7)
46 | - GTMSessionFetcher/Core (~> 1.1)
47 | - FirebaseUI/Auth (3.1.1):
48 | - Firebase/Auth
49 | - FirebaseUI/Google (3.1.1):
50 | - FirebaseUI/Auth
51 | - GoogleSignIn (~> 4.0)
52 | - Flutter (1.0.0)
53 | - Google/Core (3.1.0):
54 | - FirebaseAnalytics (~> 3.2)
55 | - Google/SignIn (3.1.0):
56 | - Google/Core
57 | - GoogleSignIn (~> 4.0)
58 | - google_sign_in (0.0.1):
59 | - Flutter
60 | - GoogleSignIn (~> 4.0)
61 | - GoogleSignIn (4.1.2):
62 | - GoogleToolboxForMac/NSDictionary+URLArguments (~> 2.1)
63 | - GoogleToolboxForMac/NSString+URLArguments (~> 2.1)
64 | - GTMOAuth2 (~> 1.0)
65 | - GTMSessionFetcher/Core (~> 1.1)
66 | - GoogleToolboxForMac/DebugUtils (2.1.3):
67 | - GoogleToolboxForMac/Defines (= 2.1.3)
68 | - GoogleToolboxForMac/Defines (2.1.3)
69 | - GoogleToolboxForMac/NSData+zlib (2.1.3):
70 | - GoogleToolboxForMac/Defines (= 2.1.3)
71 | - GoogleToolboxForMac/NSDictionary+URLArguments (2.1.3):
72 | - GoogleToolboxForMac/DebugUtils (= 2.1.3)
73 | - GoogleToolboxForMac/Defines (= 2.1.3)
74 | - GoogleToolboxForMac/NSString+URLArguments (= 2.1.3)
75 | - GoogleToolboxForMac/NSString+URLArguments (2.1.3)
76 | - GTMOAuth2 (1.1.6):
77 | - GTMSessionFetcher (~> 1.1)
78 | - GTMSessionFetcher (1.1.14):
79 | - GTMSessionFetcher/Full (= 1.1.14)
80 | - GTMSessionFetcher/Core (1.1.14)
81 | - GTMSessionFetcher/Full (1.1.14):
82 | - GTMSessionFetcher/Core (= 1.1.14)
83 | - image_picker (0.0.1):
84 | - Flutter
85 |
86 | DEPENDENCIES:
87 | - firebase_analytics (from `Pods/.symlinks/plugins/firebase_analytics-0.0.4/ios`)
88 | - firebase_auth (from `Pods/.symlinks/plugins/firebase_auth-0.2.0/ios`)
89 | - firebase_database (from `Pods/.symlinks/plugins/firebase_database-0.0.12/ios`)
90 | - firebase_storage (from `Pods/.symlinks/plugins/firebase_storage-0.0.5/ios`)
91 | - Flutter (from `Pods/.symlinks/flutter/ios`)
92 | - google_sign_in (from `Pods/.symlinks/plugins/google_sign_in-0.3.1/ios`)
93 | - image_picker (from `Pods/.symlinks/plugins/image_picker-0.1.1/ios`)
94 |
95 | EXTERNAL SOURCES:
96 | firebase_analytics:
97 | :path: Pods/.symlinks/plugins/firebase_analytics-0.0.4/ios
98 | firebase_auth:
99 | :path: Pods/.symlinks/plugins/firebase_auth-0.2.0/ios
100 | firebase_database:
101 | :path: Pods/.symlinks/plugins/firebase_database-0.0.12/ios
102 | firebase_storage:
103 | :path: Pods/.symlinks/plugins/firebase_storage-0.0.5/ios
104 | Flutter:
105 | :path: Pods/.symlinks/flutter/ios
106 | google_sign_in:
107 | :path: Pods/.symlinks/plugins/google_sign_in-0.3.1/ios
108 | image_picker:
109 | :path: Pods/.symlinks/plugins/image_picker-0.1.1/ios
110 |
111 | SPEC CHECKSUMS:
112 | Firebase: 4b66b5b59c43edac745b87f0c87e42cdd0279c13
113 | firebase_analytics: 8f2570c7175ac9e1138e0b6e3451860da0f76b5f
114 | firebase_auth: 3bd59bb0b230427fd396ebccdf7511a79329ed7b
115 | firebase_database: a5b2f9b0ebc0522135032c93000d0c1184116eb1
116 | firebase_storage: d160b0c01316d9c54e4c1d99e318cbbc638746d1
117 | FirebaseAnalytics: e5fe8486efc01bec33f6bf82e2fa9fce4b124052
118 | FirebaseAuth: cc8a1824170adbd351edb7f994490a3fb5c18be6
119 | FirebaseCore: 9691ee2ade70c098d7cf92440f4303f16d83ca75
120 | FirebaseDatabase: 05c96d7b43a7368dc91c07791adb49683e1738d1
121 | FirebaseInstanceID: b9eedd6846fb5e1f0f7279e1deaa7a7e4cf8392e
122 | FirebaseStorage: a5c55b23741a49a72af8f30f95b3bb5ddbeda12d
123 | FirebaseUI: 6e99ff95e369f5858232e4f65bff215458fe8469
124 | Flutter: 9d0fac939486c9aba2809b7982dfdbb47a7b0296
125 | Google: 98da4b1a60ed0beb80a290387a28333406a1eb90
126 | google_sign_in: 4efa54380d5ef07e98a58fb24c8a7f9c51867222
127 | GoogleSignIn: d9ef55b10f0aa401a5de2747f59b725e4b9732ac
128 | GoogleToolboxForMac: 2501e2ad72a52eb3dfe7bd9aee7dad11b858bd20
129 | GTMOAuth2: c77fe325e4acd453837e72d91e3b5f13116857b2
130 | GTMSessionFetcher: 390ea358e5a0d0133153806f744662dad933d06b
131 | image_picker: ee00aab0487cedc80a304085219503cc6d0f2e22
132 |
133 | PODFILE CHECKSUM: 0420ab312a523ae0eecfb1fc19ea51dd82cc17c7
134 |
135 | COCOAPODS: 1.4.0
136 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };
11 | 2D5378261FAA1A9400D5DBA9 /* flutter_assets in Resources */ = {isa = PBXBuildFile; fileRef = 2D5378251FAA1A9400D5DBA9 /* flutter_assets */; };
12 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
13 | 3B80C3941E831B6300D905FE /* App.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3B80C3931E831B6300D905FE /* App.framework */; };
14 | 3B80C3951E831B6300D905FE /* App.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 3B80C3931E831B6300D905FE /* App.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
15 | 770E33F72068BADB00F6E1EA /* Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 770E33F62068BADB00F6E1EA /* Info.plist */; };
16 | 77C8FAD120670EC600925D01 /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 77C8FAD020670EC600925D01 /* GoogleService-Info.plist */; };
17 | 9705A1C61CF904A100538489 /* Flutter.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9740EEBA1CF902C7004384FC /* Flutter.framework */; };
18 | 9705A1C71CF904A300538489 /* Flutter.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 9740EEBA1CF902C7004384FC /* Flutter.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
19 | 9740EEB41CF90195004384FC /* Debug.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 9740EEB21CF90195004384FC /* Debug.xcconfig */; };
20 | 9740EEB51CF90195004384FC /* Generated.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 9740EEB31CF90195004384FC /* Generated.xcconfig */; };
21 | 978B8F6F1D3862AE00F588F7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */; };
22 | 97C146F31CF9000F007C117D /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 97C146F21CF9000F007C117D /* main.m */; };
23 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
24 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
25 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
26 | 9C26DED6EDBF4195C497867D /* libPods-Runner.a in Frameworks */ = {isa = PBXBuildFile; fileRef = F087AF1CBEA5B0A7F1218D7B /* libPods-Runner.a */; };
27 | /* End PBXBuildFile section */
28 |
29 | /* Begin PBXCopyFilesBuildPhase section */
30 | 9705A1C41CF9048500538489 /* Embed Frameworks */ = {
31 | isa = PBXCopyFilesBuildPhase;
32 | buildActionMask = 2147483647;
33 | dstPath = "";
34 | dstSubfolderSpec = 10;
35 | files = (
36 | 3B80C3951E831B6300D905FE /* App.framework in Embed Frameworks */,
37 | 9705A1C71CF904A300538489 /* Flutter.framework in Embed Frameworks */,
38 | );
39 | name = "Embed Frameworks";
40 | runOnlyForDeploymentPostprocessing = 0;
41 | };
42 | /* End PBXCopyFilesBuildPhase section */
43 |
44 | /* Begin PBXFileReference section */
45 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; };
46 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; };
47 | 2D5378251FAA1A9400D5DBA9 /* flutter_assets */ = {isa = PBXFileReference; lastKnownFileType = folder; name = flutter_assets; path = Flutter/flutter_assets; sourceTree = SOURCE_ROOT; };
48 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; };
49 | 3B80C3931E831B6300D905FE /* App.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = App.framework; path = Flutter/App.framework; sourceTree = ""; };
50 | 770E33F62068BADB00F6E1EA /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = ../../../../Documents/Info.plist; sourceTree = ""; };
51 | 77C8FAD020670EC600925D01 /* GoogleService-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "GoogleService-Info.plist"; sourceTree = ""; };
52 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; };
53 | 7AFFD8ED1D35381100E5BB4D /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; };
54 | 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; };
55 | 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; };
56 | 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; };
57 | 9740EEBA1CF902C7004384FC /* Flutter.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Flutter.framework; path = Flutter/Flutter.framework; sourceTree = ""; };
58 | 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; };
59 | 97C146F21CF9000F007C117D /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; };
60 | 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
61 | 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
62 | 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; };
63 | F087AF1CBEA5B0A7F1218D7B /* libPods-Runner.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Runner.a"; sourceTree = BUILT_PRODUCTS_DIR; };
64 | /* End PBXFileReference section */
65 |
66 | /* Begin PBXFrameworksBuildPhase section */
67 | 97C146EB1CF9000F007C117D /* Frameworks */ = {
68 | isa = PBXFrameworksBuildPhase;
69 | buildActionMask = 2147483647;
70 | files = (
71 | 9705A1C61CF904A100538489 /* Flutter.framework in Frameworks */,
72 | 3B80C3941E831B6300D905FE /* App.framework in Frameworks */,
73 | 9C26DED6EDBF4195C497867D /* libPods-Runner.a in Frameworks */,
74 | );
75 | runOnlyForDeploymentPostprocessing = 0;
76 | };
77 | /* End PBXFrameworksBuildPhase section */
78 |
79 | /* Begin PBXGroup section */
80 | 9740EEB11CF90186004384FC /* Flutter */ = {
81 | isa = PBXGroup;
82 | children = (
83 | 2D5378251FAA1A9400D5DBA9 /* flutter_assets */,
84 | 3B80C3931E831B6300D905FE /* App.framework */,
85 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */,
86 | 9740EEBA1CF902C7004384FC /* Flutter.framework */,
87 | 9740EEB21CF90195004384FC /* Debug.xcconfig */,
88 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */,
89 | 9740EEB31CF90195004384FC /* Generated.xcconfig */,
90 | );
91 | name = Flutter;
92 | sourceTree = "";
93 | };
94 | 97C146E51CF9000F007C117D = {
95 | isa = PBXGroup;
96 | children = (
97 | 9740EEB11CF90186004384FC /* Flutter */,
98 | 97C146F01CF9000F007C117D /* Runner */,
99 | 97C146EF1CF9000F007C117D /* Products */,
100 | A78FA44B677BA6AE2C3FA664 /* Pods */,
101 | F7E2F66A854897F0C1439C23 /* Frameworks */,
102 | );
103 | sourceTree = "";
104 | };
105 | 97C146EF1CF9000F007C117D /* Products */ = {
106 | isa = PBXGroup;
107 | children = (
108 | 97C146EE1CF9000F007C117D /* Runner.app */,
109 | );
110 | name = Products;
111 | sourceTree = "";
112 | };
113 | 97C146F01CF9000F007C117D /* Runner */ = {
114 | isa = PBXGroup;
115 | children = (
116 | 7AFFD8ED1D35381100E5BB4D /* AppDelegate.h */,
117 | 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */,
118 | 97C146FA1CF9000F007C117D /* Main.storyboard */,
119 | 77C8FAD020670EC600925D01 /* GoogleService-Info.plist */,
120 | 97C146FD1CF9000F007C117D /* Assets.xcassets */,
121 | 770E33F62068BADB00F6E1EA /* Info.plist */,
122 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */,
123 | 97C146F11CF9000F007C117D /* Supporting Files */,
124 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */,
125 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */,
126 | );
127 | path = Runner;
128 | sourceTree = "";
129 | };
130 | 97C146F11CF9000F007C117D /* Supporting Files */ = {
131 | isa = PBXGroup;
132 | children = (
133 | 97C146F21CF9000F007C117D /* main.m */,
134 | );
135 | name = "Supporting Files";
136 | sourceTree = "";
137 | };
138 | A78FA44B677BA6AE2C3FA664 /* Pods */ = {
139 | isa = PBXGroup;
140 | children = (
141 | );
142 | name = Pods;
143 | sourceTree = "";
144 | };
145 | F7E2F66A854897F0C1439C23 /* Frameworks */ = {
146 | isa = PBXGroup;
147 | children = (
148 | F087AF1CBEA5B0A7F1218D7B /* libPods-Runner.a */,
149 | );
150 | name = Frameworks;
151 | sourceTree = "";
152 | };
153 | /* End PBXGroup section */
154 |
155 | /* Begin PBXNativeTarget section */
156 | 97C146ED1CF9000F007C117D /* Runner */ = {
157 | isa = PBXNativeTarget;
158 | buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
159 | buildPhases = (
160 | 6DEB19C0453046F88325792E /* [CP] Check Pods Manifest.lock */,
161 | 9740EEB61CF901F6004384FC /* Run Script */,
162 | 97C146EA1CF9000F007C117D /* Sources */,
163 | 97C146EB1CF9000F007C117D /* Frameworks */,
164 | 97C146EC1CF9000F007C117D /* Resources */,
165 | 9705A1C41CF9048500538489 /* Embed Frameworks */,
166 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */,
167 | 232FB2E3EDFB2DB7CE2B85C1 /* [CP] Embed Pods Frameworks */,
168 | EBD043DFC7190E7593447FB3 /* [CP] Copy Pods Resources */,
169 | );
170 | buildRules = (
171 | );
172 | dependencies = (
173 | );
174 | name = Runner;
175 | productName = Runner;
176 | productReference = 97C146EE1CF9000F007C117D /* Runner.app */;
177 | productType = "com.apple.product-type.application";
178 | };
179 | /* End PBXNativeTarget section */
180 |
181 | /* Begin PBXProject section */
182 | 97C146E61CF9000F007C117D /* Project object */ = {
183 | isa = PBXProject;
184 | attributes = {
185 | LastUpgradeCheck = 0910;
186 | ORGANIZATIONNAME = "The Chromium Authors";
187 | TargetAttributes = {
188 | 97C146ED1CF9000F007C117D = {
189 | CreatedOnToolsVersion = 7.3.1;
190 | };
191 | };
192 | };
193 | buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */;
194 | compatibilityVersion = "Xcode 3.2";
195 | developmentRegion = English;
196 | hasScannedForEncodings = 0;
197 | knownRegions = (
198 | en,
199 | Base,
200 | );
201 | mainGroup = 97C146E51CF9000F007C117D;
202 | productRefGroup = 97C146EF1CF9000F007C117D /* Products */;
203 | projectDirPath = "";
204 | projectRoot = "";
205 | targets = (
206 | 97C146ED1CF9000F007C117D /* Runner */,
207 | );
208 | };
209 | /* End PBXProject section */
210 |
211 | /* Begin PBXResourcesBuildPhase section */
212 | 97C146EC1CF9000F007C117D /* Resources */ = {
213 | isa = PBXResourcesBuildPhase;
214 | buildActionMask = 2147483647;
215 | files = (
216 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */,
217 | 77C8FAD120670EC600925D01 /* GoogleService-Info.plist in Resources */,
218 | 770E33F72068BADB00F6E1EA /* Info.plist in Resources */,
219 | 9740EEB51CF90195004384FC /* Generated.xcconfig in Resources */,
220 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */,
221 | 9740EEB41CF90195004384FC /* Debug.xcconfig in Resources */,
222 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */,
223 | 2D5378261FAA1A9400D5DBA9 /* flutter_assets in Resources */,
224 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */,
225 | );
226 | runOnlyForDeploymentPostprocessing = 0;
227 | };
228 | /* End PBXResourcesBuildPhase section */
229 |
230 | /* Begin PBXShellScriptBuildPhase section */
231 | 232FB2E3EDFB2DB7CE2B85C1 /* [CP] Embed Pods Frameworks */ = {
232 | isa = PBXShellScriptBuildPhase;
233 | buildActionMask = 2147483647;
234 | files = (
235 | );
236 | inputPaths = (
237 | "${SRCROOT}/Pods/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh",
238 | "${PODS_ROOT}/.symlinks/flutter/ios/Flutter.framework",
239 | );
240 | name = "[CP] Embed Pods Frameworks";
241 | outputPaths = (
242 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Flutter.framework",
243 | );
244 | runOnlyForDeploymentPostprocessing = 0;
245 | shellPath = /bin/sh;
246 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
247 | showEnvVarsInLog = 0;
248 | };
249 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
250 | isa = PBXShellScriptBuildPhase;
251 | buildActionMask = 2147483647;
252 | files = (
253 | );
254 | inputPaths = (
255 | );
256 | name = "Thin Binary";
257 | outputPaths = (
258 | );
259 | runOnlyForDeploymentPostprocessing = 0;
260 | shellPath = /bin/sh;
261 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" thin";
262 | };
263 | 6DEB19C0453046F88325792E /* [CP] Check Pods Manifest.lock */ = {
264 | isa = PBXShellScriptBuildPhase;
265 | buildActionMask = 2147483647;
266 | files = (
267 | );
268 | inputPaths = (
269 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
270 | "${PODS_ROOT}/Manifest.lock",
271 | );
272 | name = "[CP] Check Pods Manifest.lock";
273 | outputPaths = (
274 | "$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt",
275 | );
276 | runOnlyForDeploymentPostprocessing = 0;
277 | shellPath = /bin/sh;
278 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
279 | showEnvVarsInLog = 0;
280 | };
281 | 9740EEB61CF901F6004384FC /* Run Script */ = {
282 | isa = PBXShellScriptBuildPhase;
283 | buildActionMask = 2147483647;
284 | files = (
285 | );
286 | inputPaths = (
287 | );
288 | name = "Run Script";
289 | outputPaths = (
290 | );
291 | runOnlyForDeploymentPostprocessing = 0;
292 | shellPath = /bin/sh;
293 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
294 | };
295 | EBD043DFC7190E7593447FB3 /* [CP] Copy Pods Resources */ = {
296 | isa = PBXShellScriptBuildPhase;
297 | buildActionMask = 2147483647;
298 | files = (
299 | );
300 | inputPaths = (
301 | "${SRCROOT}/Pods/Target Support Files/Pods-Runner/Pods-Runner-resources.sh",
302 | "${PODS_ROOT}/FirebaseUI/FirebaseUIFrameworks/FirebaseAuthUI/Frameworks/FirebaseAuthUI.framework/FUIAuthPickerViewController.nib",
303 | "${PODS_ROOT}/FirebaseUI/FirebaseUIFrameworks/FirebaseAuthUI/Frameworks/FirebaseAuthUI.framework/FUIAuthTableViewCell.nib",
304 | "${PODS_ROOT}/FirebaseUI/FirebaseUIFrameworks/FirebaseAuthUI/Frameworks/FirebaseAuthUI.framework/FUIEmailEntryViewController.nib",
305 | "${PODS_ROOT}/FirebaseUI/FirebaseUIFrameworks/FirebaseAuthUI/Frameworks/FirebaseAuthUI.framework/FUIPasswordRecoveryViewController.nib",
306 | "${PODS_ROOT}/FirebaseUI/FirebaseUIFrameworks/FirebaseAuthUI/Frameworks/FirebaseAuthUI.framework/FUIPasswordSignInViewController.nib",
307 | "${PODS_ROOT}/FirebaseUI/FirebaseUIFrameworks/FirebaseAuthUI/Frameworks/FirebaseAuthUI.framework/FUIPasswordSignUpViewController.nib",
308 | "${PODS_ROOT}/FirebaseUI/FirebaseUIFrameworks/FirebaseAuthUI/Frameworks/FirebaseAuthUI.framework/FUIPasswordVerificationViewController.nib",
309 | "${PODS_ROOT}/FirebaseUI/FirebaseUIFrameworks/FirebaseAuthUI/Frameworks/FirebaseAuthUI.framework/ic_email.png",
310 | "${PODS_ROOT}/FirebaseUI/FirebaseUIFrameworks/FirebaseAuthUI/Frameworks/FirebaseAuthUI.framework/ic_email@2x.png",
311 | "${PODS_ROOT}/FirebaseUI/FirebaseUIFrameworks/FirebaseAuthUI/Frameworks/FirebaseAuthUI.framework/ic_email@3x.png",
312 | "${PODS_ROOT}/FirebaseUI/FirebaseUIFrameworks/FirebaseAuthUI/Frameworks/FirebaseAuthUI.framework/ic_visibility.png",
313 | "${PODS_ROOT}/FirebaseUI/FirebaseUIFrameworks/FirebaseAuthUI/Frameworks/FirebaseAuthUI.framework/ic_visibility@2x.png",
314 | "${PODS_ROOT}/FirebaseUI/FirebaseUIFrameworks/FirebaseAuthUI/Frameworks/FirebaseAuthUI.framework/ic_visibility@3x.png",
315 | "${PODS_ROOT}/FirebaseUI/FirebaseUIFrameworks/FirebaseAuthUI/Frameworks/FirebaseAuthUI.framework/ic_visibility_off.png",
316 | "${PODS_ROOT}/FirebaseUI/FirebaseUIFrameworks/FirebaseAuthUI/Frameworks/FirebaseAuthUI.framework/ic_visibility_off@2x.png",
317 | "${PODS_ROOT}/FirebaseUI/FirebaseUIFrameworks/FirebaseAuthUI/Frameworks/FirebaseAuthUI.framework/ic_visibility_off@3x.png",
318 | "${PODS_ROOT}/FirebaseUI/FirebaseUIFrameworks/FirebaseAuthUI/Frameworks/FirebaseAuthUI.framework/en.lproj",
319 | "${PODS_ROOT}/FirebaseUI/FirebaseUIFrameworks/FirebaseGoogleAuthUI/Frameworks/FirebaseGoogleAuthUI.framework/ic_google.png",
320 | "${PODS_ROOT}/FirebaseUI/FirebaseUIFrameworks/FirebaseGoogleAuthUI/Frameworks/FirebaseGoogleAuthUI.framework/ic_google@2x.png",
321 | "${PODS_ROOT}/FirebaseUI/FirebaseUIFrameworks/FirebaseGoogleAuthUI/Frameworks/FirebaseGoogleAuthUI.framework/ic_google@3x.png",
322 | "${PODS_ROOT}/FirebaseUI/FirebaseUIFrameworks/FirebaseGoogleAuthUI/Frameworks/FirebaseGoogleAuthUI.framework/en.lproj",
323 | "${PODS_ROOT}/GTMOAuth2/Source/Touch/GTMOAuth2ViewTouch.xib",
324 | "${PODS_ROOT}/GoogleSignIn/Resources/GoogleSignIn.bundle",
325 | );
326 | name = "[CP] Copy Pods Resources";
327 | outputPaths = (
328 | "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/FUIAuthPickerViewController.nib",
329 | "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/FUIAuthTableViewCell.nib",
330 | "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/FUIEmailEntryViewController.nib",
331 | "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/FUIPasswordRecoveryViewController.nib",
332 | "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/FUIPasswordSignInViewController.nib",
333 | "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/FUIPasswordSignUpViewController.nib",
334 | "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/FUIPasswordVerificationViewController.nib",
335 | "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/ic_email.png",
336 | "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/ic_email@2x.png",
337 | "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/ic_email@3x.png",
338 | "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/ic_visibility.png",
339 | "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/ic_visibility@2x.png",
340 | "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/ic_visibility@3x.png",
341 | "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/ic_visibility_off.png",
342 | "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/ic_visibility_off@2x.png",
343 | "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/ic_visibility_off@3x.png",
344 | "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/en.lproj",
345 | "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/ic_google.png",
346 | "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/ic_google@2x.png",
347 | "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/ic_google@3x.png",
348 | "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/GTMOAuth2ViewTouch.nib",
349 | "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/GoogleSignIn.bundle",
350 | );
351 | runOnlyForDeploymentPostprocessing = 0;
352 | shellPath = /bin/sh;
353 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-Runner/Pods-Runner-resources.sh\"\n";
354 | showEnvVarsInLog = 0;
355 | };
356 | /* End PBXShellScriptBuildPhase section */
357 |
358 | /* Begin PBXSourcesBuildPhase section */
359 | 97C146EA1CF9000F007C117D /* Sources */ = {
360 | isa = PBXSourcesBuildPhase;
361 | buildActionMask = 2147483647;
362 | files = (
363 | 978B8F6F1D3862AE00F588F7 /* AppDelegate.m in Sources */,
364 | 97C146F31CF9000F007C117D /* main.m in Sources */,
365 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */,
366 | );
367 | runOnlyForDeploymentPostprocessing = 0;
368 | };
369 | /* End PBXSourcesBuildPhase section */
370 |
371 | /* Begin PBXVariantGroup section */
372 | 97C146FA1CF9000F007C117D /* Main.storyboard */ = {
373 | isa = PBXVariantGroup;
374 | children = (
375 | 97C146FB1CF9000F007C117D /* Base */,
376 | );
377 | name = Main.storyboard;
378 | sourceTree = "";
379 | };
380 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = {
381 | isa = PBXVariantGroup;
382 | children = (
383 | 97C147001CF9000F007C117D /* Base */,
384 | );
385 | name = LaunchScreen.storyboard;
386 | sourceTree = "";
387 | };
388 | /* End PBXVariantGroup section */
389 |
390 | /* Begin XCBuildConfiguration section */
391 | 97C147031CF9000F007C117D /* Debug */ = {
392 | isa = XCBuildConfiguration;
393 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
394 | buildSettings = {
395 | ALWAYS_SEARCH_USER_PATHS = NO;
396 | CLANG_ANALYZER_NONNULL = YES;
397 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
398 | CLANG_CXX_LIBRARY = "libc++";
399 | CLANG_ENABLE_MODULES = YES;
400 | CLANG_ENABLE_OBJC_ARC = YES;
401 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
402 | CLANG_WARN_BOOL_CONVERSION = YES;
403 | CLANG_WARN_COMMA = YES;
404 | CLANG_WARN_CONSTANT_CONVERSION = YES;
405 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
406 | CLANG_WARN_EMPTY_BODY = YES;
407 | CLANG_WARN_ENUM_CONVERSION = YES;
408 | CLANG_WARN_INFINITE_RECURSION = YES;
409 | CLANG_WARN_INT_CONVERSION = YES;
410 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
411 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
412 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
413 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
414 | CLANG_WARN_STRICT_PROTOTYPES = YES;
415 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
416 | CLANG_WARN_UNREACHABLE_CODE = YES;
417 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
418 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
419 | COPY_PHASE_STRIP = NO;
420 | DEBUG_INFORMATION_FORMAT = dwarf;
421 | ENABLE_STRICT_OBJC_MSGSEND = YES;
422 | ENABLE_TESTABILITY = YES;
423 | GCC_C_LANGUAGE_STANDARD = gnu99;
424 | GCC_DYNAMIC_NO_PIC = NO;
425 | GCC_NO_COMMON_BLOCKS = YES;
426 | GCC_OPTIMIZATION_LEVEL = 0;
427 | GCC_PREPROCESSOR_DEFINITIONS = (
428 | "DEBUG=1",
429 | "$(inherited)",
430 | );
431 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
432 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
433 | GCC_WARN_UNDECLARED_SELECTOR = YES;
434 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
435 | GCC_WARN_UNUSED_FUNCTION = YES;
436 | GCC_WARN_UNUSED_VARIABLE = YES;
437 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
438 | MTL_ENABLE_DEBUG_INFO = YES;
439 | ONLY_ACTIVE_ARCH = YES;
440 | SDKROOT = iphoneos;
441 | TARGETED_DEVICE_FAMILY = "1,2";
442 | };
443 | name = Debug;
444 | };
445 | 97C147041CF9000F007C117D /* Release */ = {
446 | isa = XCBuildConfiguration;
447 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
448 | buildSettings = {
449 | ALWAYS_SEARCH_USER_PATHS = NO;
450 | CLANG_ANALYZER_NONNULL = YES;
451 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
452 | CLANG_CXX_LIBRARY = "libc++";
453 | CLANG_ENABLE_MODULES = YES;
454 | CLANG_ENABLE_OBJC_ARC = YES;
455 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
456 | CLANG_WARN_BOOL_CONVERSION = YES;
457 | CLANG_WARN_COMMA = YES;
458 | CLANG_WARN_CONSTANT_CONVERSION = YES;
459 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
460 | CLANG_WARN_EMPTY_BODY = YES;
461 | CLANG_WARN_ENUM_CONVERSION = YES;
462 | CLANG_WARN_INFINITE_RECURSION = YES;
463 | CLANG_WARN_INT_CONVERSION = YES;
464 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
465 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
466 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
467 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
468 | CLANG_WARN_STRICT_PROTOTYPES = YES;
469 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
470 | CLANG_WARN_UNREACHABLE_CODE = YES;
471 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
472 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
473 | COPY_PHASE_STRIP = NO;
474 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
475 | ENABLE_NS_ASSERTIONS = NO;
476 | ENABLE_STRICT_OBJC_MSGSEND = YES;
477 | GCC_C_LANGUAGE_STANDARD = gnu99;
478 | GCC_NO_COMMON_BLOCKS = YES;
479 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
480 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
481 | GCC_WARN_UNDECLARED_SELECTOR = YES;
482 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
483 | GCC_WARN_UNUSED_FUNCTION = YES;
484 | GCC_WARN_UNUSED_VARIABLE = YES;
485 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
486 | MTL_ENABLE_DEBUG_INFO = NO;
487 | SDKROOT = iphoneos;
488 | TARGETED_DEVICE_FAMILY = "1,2";
489 | VALIDATE_PRODUCT = YES;
490 | };
491 | name = Release;
492 | };
493 | 97C147061CF9000F007C117D /* Debug */ = {
494 | isa = XCBuildConfiguration;
495 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
496 | buildSettings = {
497 | ARCHS = arm64;
498 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
499 | ENABLE_BITCODE = NO;
500 | FRAMEWORK_SEARCH_PATHS = (
501 | "$(inherited)",
502 | "$(PROJECT_DIR)/Flutter",
503 | );
504 | INFOPLIST_FILE = Runner/Info.plist;
505 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
506 | LIBRARY_SEARCH_PATHS = (
507 | "$(inherited)",
508 | "$(PROJECT_DIR)/Flutter",
509 | );
510 | PRODUCT_BUNDLE_IDENTIFIER = com.yourcompany.flutterChatApp;
511 | PRODUCT_NAME = "$(TARGET_NAME)";
512 | };
513 | name = Debug;
514 | };
515 | 97C147071CF9000F007C117D /* Release */ = {
516 | isa = XCBuildConfiguration;
517 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
518 | buildSettings = {
519 | ARCHS = arm64;
520 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
521 | ENABLE_BITCODE = NO;
522 | FRAMEWORK_SEARCH_PATHS = (
523 | "$(inherited)",
524 | "$(PROJECT_DIR)/Flutter",
525 | );
526 | INFOPLIST_FILE = Runner/Info.plist;
527 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
528 | LIBRARY_SEARCH_PATHS = (
529 | "$(inherited)",
530 | "$(PROJECT_DIR)/Flutter",
531 | );
532 | PRODUCT_BUNDLE_IDENTIFIER = com.yourcompany.flutterChatApp;
533 | PRODUCT_NAME = "$(TARGET_NAME)";
534 | };
535 | name = Release;
536 | };
537 | /* End XCBuildConfiguration section */
538 |
539 | /* Begin XCConfigurationList section */
540 | 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = {
541 | isa = XCConfigurationList;
542 | buildConfigurations = (
543 | 97C147031CF9000F007C117D /* Debug */,
544 | 97C147041CF9000F007C117D /* Release */,
545 | );
546 | defaultConfigurationIsVisible = 0;
547 | defaultConfigurationName = Release;
548 | };
549 | 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = {
550 | isa = XCConfigurationList;
551 | buildConfigurations = (
552 | 97C147061CF9000F007C117D /* Debug */,
553 | 97C147071CF9000F007C117D /* Release */,
554 | );
555 | defaultConfigurationIsVisible = 0;
556 | defaultConfigurationName = Release;
557 | };
558 | /* End XCConfigurationList section */
559 | };
560 | rootObject = 97C146E61CF9000F007C117D /* Project object */;
561 | }
562 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
24 |
25 |
31 |
32 |
33 |
34 |
40 |
41 |
42 |
43 |
44 |
45 |
56 |
58 |
64 |
65 |
66 |
67 |
68 |
69 |
75 |
77 |
83 |
84 |
85 |
86 |
88 |
89 |
92 |
93 |
94 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/ios/Runner/AppDelegate.h:
--------------------------------------------------------------------------------
1 | #import
2 | #import
3 |
4 | @interface AppDelegate : FlutterAppDelegate
5 |
6 | @end
7 |
--------------------------------------------------------------------------------
/ios/Runner/AppDelegate.m:
--------------------------------------------------------------------------------
1 | #include "AppDelegate.h"
2 | #include "GeneratedPluginRegistrant.h"
3 |
4 | @implementation AppDelegate
5 |
6 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
7 | [GeneratedPluginRegistrant registerWithRegistry:self];
8 | // Override point for customization after application launch.
9 | return [super application:application didFinishLaunchingWithOptions:launchOptions];
10 | }
11 |
12 | @end
13 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "size" : "20x20",
5 | "idiom" : "iphone",
6 | "filename" : "Icon-App-20x20@2x.png",
7 | "scale" : "2x"
8 | },
9 | {
10 | "size" : "20x20",
11 | "idiom" : "iphone",
12 | "filename" : "Icon-App-20x20@3x.png",
13 | "scale" : "3x"
14 | },
15 | {
16 | "size" : "29x29",
17 | "idiom" : "iphone",
18 | "filename" : "Icon-App-29x29@1x.png",
19 | "scale" : "1x"
20 | },
21 | {
22 | "size" : "29x29",
23 | "idiom" : "iphone",
24 | "filename" : "Icon-App-29x29@2x.png",
25 | "scale" : "2x"
26 | },
27 | {
28 | "size" : "29x29",
29 | "idiom" : "iphone",
30 | "filename" : "Icon-App-29x29@3x.png",
31 | "scale" : "3x"
32 | },
33 | {
34 | "size" : "40x40",
35 | "idiom" : "iphone",
36 | "filename" : "Icon-App-40x40@2x.png",
37 | "scale" : "2x"
38 | },
39 | {
40 | "size" : "40x40",
41 | "idiom" : "iphone",
42 | "filename" : "Icon-App-40x40@3x.png",
43 | "scale" : "3x"
44 | },
45 | {
46 | "size" : "60x60",
47 | "idiom" : "iphone",
48 | "filename" : "Icon-App-60x60@2x.png",
49 | "scale" : "2x"
50 | },
51 | {
52 | "size" : "60x60",
53 | "idiom" : "iphone",
54 | "filename" : "Icon-App-60x60@3x.png",
55 | "scale" : "3x"
56 | },
57 | {
58 | "size" : "20x20",
59 | "idiom" : "ipad",
60 | "filename" : "Icon-App-20x20@1x.png",
61 | "scale" : "1x"
62 | },
63 | {
64 | "size" : "20x20",
65 | "idiom" : "ipad",
66 | "filename" : "Icon-App-20x20@2x.png",
67 | "scale" : "2x"
68 | },
69 | {
70 | "size" : "29x29",
71 | "idiom" : "ipad",
72 | "filename" : "Icon-App-29x29@1x.png",
73 | "scale" : "1x"
74 | },
75 | {
76 | "size" : "29x29",
77 | "idiom" : "ipad",
78 | "filename" : "Icon-App-29x29@2x.png",
79 | "scale" : "2x"
80 | },
81 | {
82 | "size" : "40x40",
83 | "idiom" : "ipad",
84 | "filename" : "Icon-App-40x40@1x.png",
85 | "scale" : "1x"
86 | },
87 | {
88 | "size" : "40x40",
89 | "idiom" : "ipad",
90 | "filename" : "Icon-App-40x40@2x.png",
91 | "scale" : "2x"
92 | },
93 | {
94 | "size" : "76x76",
95 | "idiom" : "ipad",
96 | "filename" : "Icon-App-76x76@1x.png",
97 | "scale" : "1x"
98 | },
99 | {
100 | "size" : "76x76",
101 | "idiom" : "ipad",
102 | "filename" : "Icon-App-76x76@2x.png",
103 | "scale" : "2x"
104 | },
105 | {
106 | "size" : "83.5x83.5",
107 | "idiom" : "ipad",
108 | "filename" : "Icon-App-83.5x83.5@2x.png",
109 | "scale" : "2x"
110 | },
111 | {
112 | "size" : "1024x1024",
113 | "idiom" : "ios-marketing",
114 | "filename" : "Icon-App-1024x1024@1x.png",
115 | "scale" : "1x"
116 | }
117 | ],
118 | "info" : {
119 | "version" : 1,
120 | "author" : "xcode"
121 | }
122 | }
123 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rohan20/flutter-chat-app/da9d83bdf085f2d9ba59edde80495aa0b958fd46/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rohan20/flutter-chat-app/da9d83bdf085f2d9ba59edde80495aa0b958fd46/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rohan20/flutter-chat-app/da9d83bdf085f2d9ba59edde80495aa0b958fd46/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rohan20/flutter-chat-app/da9d83bdf085f2d9ba59edde80495aa0b958fd46/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rohan20/flutter-chat-app/da9d83bdf085f2d9ba59edde80495aa0b958fd46/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rohan20/flutter-chat-app/da9d83bdf085f2d9ba59edde80495aa0b958fd46/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rohan20/flutter-chat-app/da9d83bdf085f2d9ba59edde80495aa0b958fd46/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rohan20/flutter-chat-app/da9d83bdf085f2d9ba59edde80495aa0b958fd46/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rohan20/flutter-chat-app/da9d83bdf085f2d9ba59edde80495aa0b958fd46/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rohan20/flutter-chat-app/da9d83bdf085f2d9ba59edde80495aa0b958fd46/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rohan20/flutter-chat-app/da9d83bdf085f2d9ba59edde80495aa0b958fd46/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rohan20/flutter-chat-app/da9d83bdf085f2d9ba59edde80495aa0b958fd46/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rohan20/flutter-chat-app/da9d83bdf085f2d9ba59edde80495aa0b958fd46/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rohan20/flutter-chat-app/da9d83bdf085f2d9ba59edde80495aa0b958fd46/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rohan20/flutter-chat-app/da9d83bdf085f2d9ba59edde80495aa0b958fd46/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "LaunchImage.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "filename" : "LaunchImage@2x.png",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "universal",
15 | "filename" : "LaunchImage@3x.png",
16 | "scale" : "3x"
17 | }
18 | ],
19 | "info" : {
20 | "version" : 1,
21 | "author" : "xcode"
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rohan20/flutter-chat-app/da9d83bdf085f2d9ba59edde80495aa0b958fd46/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rohan20/flutter-chat-app/da9d83bdf085f2d9ba59edde80495aa0b958fd46/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rohan20/flutter-chat-app/da9d83bdf085f2d9ba59edde80495aa0b958fd46/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md:
--------------------------------------------------------------------------------
1 | # Launch Screen Assets
2 |
3 | You can customize the launch screen with your own desired assets by replacing the image files in this directory.
4 |
5 | You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images.
--------------------------------------------------------------------------------
/ios/Runner/Base.lproj/LaunchScreen.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/ios/Runner/Base.lproj/Main.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/ios/Runner/GoogleService-Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | AD_UNIT_ID_FOR_BANNER_TEST
6 | ca-app-pub-3940256099942544/2934735716
7 | AD_UNIT_ID_FOR_INTERSTITIAL_TEST
8 | ca-app-pub-3940256099942544/4411468910
9 | CLIENT_ID
10 | 434342727264-rtbq6gdmcgml8bs0tl6cubkkktr1fo0j.apps.googleusercontent.com
11 | REVERSED_CLIENT_ID
12 | com.googleusercontent.apps.434342727264-rtbq6gdmcgml8bs0tl6cubkkktr1fo0j
13 | API_KEY
14 | AIzaSyB047yWF8es2sMroUtvunmlgk3PwjRJfLw
15 | GCM_SENDER_ID
16 | 434342727264
17 | PLIST_VERSION
18 | 1
19 | BUN3DLE_ID
20 | com.yourcompany.flutterChatApp
21 | PROJECT_ID
22 | flutter-chat-app-1
23 | STORAGE_BUCKET
24 | flutter-chat-app-1.appspot.com
25 | IS_ADS_ENABLED
26 |
27 | IS_ANALYTICS_ENABLED
28 |
29 | IS_APPINVITE_ENABLED
30 |
31 | IS_GCM_ENABLED
32 |
33 | IS_SIGNIN_ENABLED
34 |
35 | GOOGLE_APP_ID
36 | 1:434342727264:ios:43697402bbc8f441
37 | DATABASE_URL
38 | https://flutter-chat-app-1.firebaseio.com
39 |
40 |
--------------------------------------------------------------------------------
/ios/Runner/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | flutter_chat_app
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UIRequiredDeviceCapabilities
30 |
31 | arm64
32 |
33 | UISupportedInterfaceOrientations
34 |
35 | UIInterfaceOrientationPortrait
36 | UIInterfaceOrientationLandscapeLeft
37 | UIInterfaceOrientationLandscapeRight
38 |
39 | UISupportedInterfaceOrientations~ipad
40 |
41 | UIInterfaceOrientationPortrait
42 | UIInterfaceOrientationPortraitUpsideDown
43 | UIInterfaceOrientationLandscapeLeft
44 | UIInterfaceOrientationLandscapeRight
45 |
46 | UIViewControllerBasedStatusBarAppearance
47 |
48 | CFBundleURLTypes
49 |
50 |
51 | CFBundleTypeRole
52 | Editor
53 | CFBundleURLSchemes
54 |
55 | com.googleusercontent.apps.434342727264-rtbq6gdmcgml8bs0tl6cubkkktr1fo0j
56 | com.yourcompany.flutterChatApp
57 |
58 |
59 |
60 |
61 |
62 |
--------------------------------------------------------------------------------
/ios/Runner/main.m:
--------------------------------------------------------------------------------
1 | #import
2 | #import
3 | #import "AppDelegate.h"
4 |
5 | int main(int argc, char * argv[]) {
6 | @autoreleasepool {
7 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/lib/ChatMessageListItem.dart:
--------------------------------------------------------------------------------
1 | import 'package:firebase_database/firebase_database.dart';
2 | import 'package:flutter/material.dart';
3 |
4 | var currentUserEmail;
5 |
6 | class ChatMessageListItem extends StatelessWidget {
7 | final DataSnapshot messageSnapshot;
8 | final Animation animation;
9 |
10 | ChatMessageListItem({this.messageSnapshot, this.animation});
11 |
12 | @override
13 | Widget build(BuildContext context) {
14 | return new SizeTransition(
15 | sizeFactor:
16 | new CurvedAnimation(parent: animation, curve: Curves.decelerate),
17 | child: new Container(
18 | margin: const EdgeInsets.symmetric(vertical: 10.0),
19 | child: new Row(
20 | children: currentUserEmail == messageSnapshot.value['email']
21 | ? getSentMessageLayout()
22 | : getReceivedMessageLayout(),
23 | ),
24 | ),
25 | );
26 | }
27 |
28 | List getSentMessageLayout() {
29 | return [
30 | new Expanded(
31 | child: new Column(
32 | crossAxisAlignment: CrossAxisAlignment.end,
33 | children: [
34 | new Text(messageSnapshot.value['senderName'],
35 | style: new TextStyle(
36 | fontSize: 14.0,
37 | color: Colors.black,
38 | fontWeight: FontWeight.bold)),
39 | new Container(
40 | margin: const EdgeInsets.only(top: 5.0),
41 | child: messageSnapshot.value['imageUrl'] != null
42 | ? new Image.network(
43 | messageSnapshot.value['imageUrl'],
44 | width: 250.0,
45 | )
46 | : new Text(messageSnapshot.value['text']),
47 | ),
48 | ],
49 | ),
50 | ),
51 | new Column(
52 | crossAxisAlignment: CrossAxisAlignment.end,
53 | children: [
54 | new Container(
55 | margin: const EdgeInsets.only(left: 8.0),
56 | child: new CircleAvatar(
57 | backgroundImage:
58 | new NetworkImage(messageSnapshot.value['senderPhotoUrl']),
59 | )),
60 | ],
61 | ),
62 | ];
63 | }
64 |
65 | List getReceivedMessageLayout() {
66 | return [
67 | new Column(
68 | crossAxisAlignment: CrossAxisAlignment.start,
69 | children: [
70 | new Container(
71 | margin: const EdgeInsets.only(right: 8.0),
72 | child: new CircleAvatar(
73 | backgroundImage:
74 | new NetworkImage(messageSnapshot.value['senderPhotoUrl']),
75 | )),
76 | ],
77 | ),
78 | new Expanded(
79 | child: new Column(
80 | crossAxisAlignment: CrossAxisAlignment.start,
81 | children: [
82 | new Text(messageSnapshot.value['senderName'],
83 | style: new TextStyle(
84 | fontSize: 14.0,
85 | color: Colors.black,
86 | fontWeight: FontWeight.bold)),
87 | new Container(
88 | margin: const EdgeInsets.only(top: 5.0),
89 | child: messageSnapshot.value['imageUrl'] != null
90 | ? new Image.network(
91 | messageSnapshot.value['imageUrl'],
92 | width: 250.0,
93 | )
94 | : new Text(messageSnapshot.value['text']),
95 | ),
96 | ],
97 | ),
98 | ),
99 | ];
100 | }
101 | }
102 |
--------------------------------------------------------------------------------
/lib/ChatScreen.dart:
--------------------------------------------------------------------------------
1 | import 'dart:async';
2 | import 'dart:io';
3 |
4 | import 'package:firebase_analytics/firebase_analytics.dart';
5 | import 'package:firebase_auth/firebase_auth.dart';
6 | import 'package:firebase_database/firebase_database.dart';
7 | import 'package:firebase_database/ui/firebase_animated_list.dart';
8 | import 'package:firebase_storage/firebase_storage.dart';
9 | import 'package:flutter/cupertino.dart';
10 | import 'package:flutter/material.dart';
11 | import 'package:flutter_chat_app/ChatMessageListItem.dart';
12 | import 'package:google_sign_in/google_sign_in.dart';
13 | import 'package:image_picker/image_picker.dart';
14 |
15 | final googleSignIn = new GoogleSignIn();
16 | final analytics = new FirebaseAnalytics();
17 | final auth = FirebaseAuth.instance;
18 | var currentUserEmail;
19 | var _scaffoldContext;
20 |
21 | class ChatScreen extends StatefulWidget {
22 | @override
23 | ChatScreenState createState() {
24 | return new ChatScreenState();
25 | }
26 | }
27 |
28 | class ChatScreenState extends State {
29 | final TextEditingController _textEditingController =
30 | new TextEditingController();
31 | bool _isComposingMessage = false;
32 | final reference = FirebaseDatabase.instance.reference().child('messages');
33 |
34 | @override
35 | Widget build(BuildContext context) {
36 | return new Scaffold(
37 | appBar: new AppBar(
38 | title: new Text("Flutter Chat App"),
39 | elevation:
40 | Theme.of(context).platform == TargetPlatform.iOS ? 0.0 : 4.0,
41 | actions: [
42 | new IconButton(
43 | icon: new Icon(Icons.exit_to_app), onPressed: _signOut)
44 | ],
45 | ),
46 | body: new Container(
47 | child: new Column(
48 | children: [
49 | new Flexible(
50 | child: new FirebaseAnimatedList(
51 | query: reference,
52 | padding: const EdgeInsets.all(8.0),
53 | reverse: true,
54 | sort: (a, b) => b.key.compareTo(a.key),
55 | //comparing timestamp of messages to check which one would appear first
56 | itemBuilder: (_, DataSnapshot messageSnapshot,
57 | Animation animation) {
58 | return new ChatMessageListItem(
59 | messageSnapshot: messageSnapshot,
60 | animation: animation,
61 | );
62 | },
63 | ),
64 | ),
65 | new Divider(height: 1.0),
66 | new Container(
67 | decoration:
68 | new BoxDecoration(color: Theme.of(context).cardColor),
69 | child: _buildTextComposer(),
70 | ),
71 | new Builder(builder: (BuildContext context) {
72 | _scaffoldContext = context;
73 | return new Container(width: 0.0, height: 0.0);
74 | })
75 | ],
76 | ),
77 | decoration: Theme.of(context).platform == TargetPlatform.iOS
78 | ? new BoxDecoration(
79 | border: new Border(
80 | top: new BorderSide(
81 | color: Colors.grey[200],
82 | )))
83 | : null,
84 | ));
85 | }
86 |
87 | CupertinoButton getIOSSendButton() {
88 | return new CupertinoButton(
89 | child: new Text("Send"),
90 | onPressed: _isComposingMessage
91 | ? () => _textMessageSubmitted(_textEditingController.text)
92 | : null,
93 | );
94 | }
95 |
96 | IconButton getDefaultSendButton() {
97 | return new IconButton(
98 | icon: new Icon(Icons.send),
99 | onPressed: _isComposingMessage
100 | ? () => _textMessageSubmitted(_textEditingController.text)
101 | : null,
102 | );
103 | }
104 |
105 | Widget _buildTextComposer() {
106 | return new IconTheme(
107 | data: new IconThemeData(
108 | color: _isComposingMessage
109 | ? Theme.of(context).accentColor
110 | : Theme.of(context).disabledColor,
111 | ),
112 | child: new Container(
113 | margin: const EdgeInsets.symmetric(horizontal: 8.0),
114 | child: new Row(
115 | children: [
116 | new Container(
117 | margin: new EdgeInsets.symmetric(horizontal: 4.0),
118 | child: new IconButton(
119 | icon: new Icon(
120 | Icons.photo_camera,
121 | color: Theme.of(context).accentColor,
122 | ),
123 | onPressed: () async {
124 | await _ensureLoggedIn();
125 | File imageFile = await ImagePicker.pickImage();
126 | int timestamp = new DateTime.now().millisecondsSinceEpoch;
127 | StorageReference storageReference = FirebaseStorage
128 | .instance
129 | .ref()
130 | .child("img_" + timestamp.toString() + ".jpg");
131 | StorageUploadTask uploadTask =
132 | storageReference.put(imageFile);
133 | Uri downloadUrl = (await uploadTask.future).downloadUrl;
134 | _sendMessage(
135 | messageText: null, imageUrl: downloadUrl.toString());
136 | }),
137 | ),
138 | new Flexible(
139 | child: new TextField(
140 | controller: _textEditingController,
141 | onChanged: (String messageText) {
142 | setState(() {
143 | _isComposingMessage = messageText.length > 0;
144 | });
145 | },
146 | onSubmitted: _textMessageSubmitted,
147 | decoration:
148 | new InputDecoration.collapsed(hintText: "Send a message"),
149 | ),
150 | ),
151 | new Container(
152 | margin: const EdgeInsets.symmetric(horizontal: 4.0),
153 | child: Theme.of(context).platform == TargetPlatform.iOS
154 | ? getIOSSendButton()
155 | : getDefaultSendButton(),
156 | ),
157 | ],
158 | ),
159 | ));
160 | }
161 |
162 | Future _textMessageSubmitted(String text) async {
163 | _textEditingController.clear();
164 |
165 | setState(() {
166 | _isComposingMessage = false;
167 | });
168 |
169 | await _ensureLoggedIn();
170 | _sendMessage(messageText: text, imageUrl: null);
171 | }
172 |
173 | void _sendMessage({String messageText, String imageUrl}) {
174 | reference.push().set({
175 | 'text': messageText,
176 | 'email': googleSignIn.currentUser.email,
177 | 'imageUrl': imageUrl,
178 | 'senderName': googleSignIn.currentUser.displayName,
179 | 'senderPhotoUrl': googleSignIn.currentUser.photoUrl,
180 | });
181 |
182 | analytics.logEvent(name: 'send_message');
183 | }
184 |
185 | Future _ensureLoggedIn() async {
186 | GoogleSignInAccount signedInUser = googleSignIn.currentUser;
187 | if (signedInUser == null)
188 | signedInUser = await googleSignIn.signInSilently();
189 | if (signedInUser == null) {
190 | await googleSignIn.signIn();
191 | analytics.logLogin();
192 | }
193 |
194 | currentUserEmail = googleSignIn.currentUser.email;
195 |
196 | if (await auth.currentUser() == null) {
197 | GoogleSignInAuthentication credentials =
198 | await googleSignIn.currentUser.authentication;
199 | await auth.signInWithGoogle(
200 | idToken: credentials.idToken, accessToken: credentials.accessToken);
201 | }
202 | }
203 |
204 | Future _signOut() async {
205 | await auth.signOut();
206 | googleSignIn.signOut();
207 | Scaffold
208 | .of(_scaffoldContext)
209 | .showSnackBar(new SnackBar(content: new Text('User logged out')));
210 | }
211 | }
--------------------------------------------------------------------------------
/lib/main.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/cupertino.dart';
2 | import 'package:flutter/foundation.dart';
3 | import 'package:flutter/material.dart';
4 | import 'package:flutter_chat_app/ChatScreen.dart';
5 | import 'package:flutter_chat_app/util/Themes.dart';
6 |
7 | void main() => runApp(new FlutterChatApp());
8 |
9 | class FlutterChatApp extends StatelessWidget {
10 | @override
11 | Widget build(BuildContext context) {
12 | return new MaterialApp(
13 | debugShowCheckedModeBanner: false,
14 | title: "Flutter Chat App",
15 | theme: defaultTargetPlatform == TargetPlatform.iOS
16 | ? Themes.kIOSTheme
17 | : Themes.kDefaultTheme,
18 | home: new ChatScreen(),
19 | );
20 | }
21 | }
--------------------------------------------------------------------------------
/lib/util/Themes.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | class Themes {
4 |
5 | static ThemeData kIOSTheme = new ThemeData(
6 | primarySwatch: Colors.blue,
7 | primaryColor: Colors.grey[100],
8 | primaryColorBrightness: Brightness.light,
9 | );
10 |
11 | static ThemeData kDefaultTheme = new ThemeData(
12 | primarySwatch: Colors.blue,
13 | accentColor: Colors.blue[400],
14 | );
15 | }
--------------------------------------------------------------------------------
/pubspec.lock:
--------------------------------------------------------------------------------
1 | # Generated by pub
2 | # See https://www.dartlang.org/tools/pub/glossary#lockfile
3 | packages:
4 | analyzer:
5 | dependency: transitive
6 | description:
7 | name: analyzer
8 | url: "https://pub.dartlang.org"
9 | source: hosted
10 | version: "0.31.1"
11 | args:
12 | dependency: transitive
13 | description:
14 | name: args
15 | url: "https://pub.dartlang.org"
16 | source: hosted
17 | version: "1.4.2"
18 | async:
19 | dependency: transitive
20 | description:
21 | name: async
22 | url: "https://pub.dartlang.org"
23 | source: hosted
24 | version: "2.0.6"
25 | barback:
26 | dependency: transitive
27 | description:
28 | name: barback
29 | url: "https://pub.dartlang.org"
30 | source: hosted
31 | version: "0.15.2+15"
32 | boolean_selector:
33 | dependency: transitive
34 | description:
35 | name: boolean_selector
36 | url: "https://pub.dartlang.org"
37 | source: hosted
38 | version: "1.0.3"
39 | charcode:
40 | dependency: transitive
41 | description:
42 | name: charcode
43 | url: "https://pub.dartlang.org"
44 | source: hosted
45 | version: "1.1.1"
46 | cli_util:
47 | dependency: transitive
48 | description:
49 | name: cli_util
50 | url: "https://pub.dartlang.org"
51 | source: hosted
52 | version: "0.1.2+1"
53 | collection:
54 | dependency: transitive
55 | description:
56 | name: collection
57 | url: "https://pub.dartlang.org"
58 | source: hosted
59 | version: "1.14.6"
60 | convert:
61 | dependency: transitive
62 | description:
63 | name: convert
64 | url: "https://pub.dartlang.org"
65 | source: hosted
66 | version: "2.0.1"
67 | crypto:
68 | dependency: transitive
69 | description:
70 | name: crypto
71 | url: "https://pub.dartlang.org"
72 | source: hosted
73 | version: "2.0.2+1"
74 | csslib:
75 | dependency: transitive
76 | description:
77 | name: csslib
78 | url: "https://pub.dartlang.org"
79 | source: hosted
80 | version: "0.14.1"
81 | cupertino_icons:
82 | dependency: "direct main"
83 | description:
84 | name: cupertino_icons
85 | url: "https://pub.dartlang.org"
86 | source: hosted
87 | version: "0.1.1"
88 | firebase_analytics:
89 | dependency: "direct main"
90 | description:
91 | name: firebase_analytics
92 | url: "https://pub.dartlang.org"
93 | source: hosted
94 | version: "0.0.4"
95 | firebase_auth:
96 | dependency: "direct main"
97 | description:
98 | name: firebase_auth
99 | url: "https://pub.dartlang.org"
100 | source: hosted
101 | version: "0.2.0"
102 | firebase_database:
103 | dependency: "direct main"
104 | description:
105 | name: firebase_database
106 | url: "https://pub.dartlang.org"
107 | source: hosted
108 | version: "0.0.12"
109 | firebase_storage:
110 | dependency: "direct main"
111 | description:
112 | name: firebase_storage
113 | url: "https://pub.dartlang.org"
114 | source: hosted
115 | version: "0.0.5"
116 | flutter:
117 | dependency: "direct main"
118 | description: flutter
119 | source: sdk
120 | version: "0.0.0"
121 | flutter_test:
122 | dependency: "direct dev"
123 | description: flutter
124 | source: sdk
125 | version: "0.0.0"
126 | front_end:
127 | dependency: transitive
128 | description:
129 | name: front_end
130 | url: "https://pub.dartlang.org"
131 | source: hosted
132 | version: "0.1.0-alpha.9"
133 | glob:
134 | dependency: transitive
135 | description:
136 | name: glob
137 | url: "https://pub.dartlang.org"
138 | source: hosted
139 | version: "1.1.5"
140 | google_sign_in:
141 | dependency: "direct main"
142 | description:
143 | name: google_sign_in
144 | url: "https://pub.dartlang.org"
145 | source: hosted
146 | version: "0.3.1"
147 | html:
148 | dependency: transitive
149 | description:
150 | name: html
151 | url: "https://pub.dartlang.org"
152 | source: hosted
153 | version: "0.13.3"
154 | http:
155 | dependency: transitive
156 | description:
157 | name: http
158 | url: "https://pub.dartlang.org"
159 | source: hosted
160 | version: "0.11.3+16"
161 | http_multi_server:
162 | dependency: transitive
163 | description:
164 | name: http_multi_server
165 | url: "https://pub.dartlang.org"
166 | source: hosted
167 | version: "2.0.4"
168 | http_parser:
169 | dependency: transitive
170 | description:
171 | name: http_parser
172 | url: "https://pub.dartlang.org"
173 | source: hosted
174 | version: "3.1.1"
175 | image_picker:
176 | dependency: "direct main"
177 | description:
178 | name: image_picker
179 | url: "https://pub.dartlang.org"
180 | source: hosted
181 | version: "0.1.1"
182 | io:
183 | dependency: transitive
184 | description:
185 | name: io
186 | url: "https://pub.dartlang.org"
187 | source: hosted
188 | version: "0.3.2+1"
189 | isolate:
190 | dependency: transitive
191 | description:
192 | name: isolate
193 | url: "https://pub.dartlang.org"
194 | source: hosted
195 | version: "1.1.0"
196 | js:
197 | dependency: transitive
198 | description:
199 | name: js
200 | url: "https://pub.dartlang.org"
201 | source: hosted
202 | version: "0.6.1"
203 | kernel:
204 | dependency: transitive
205 | description:
206 | name: kernel
207 | url: "https://pub.dartlang.org"
208 | source: hosted
209 | version: "0.3.0-alpha.9"
210 | logging:
211 | dependency: transitive
212 | description:
213 | name: logging
214 | url: "https://pub.dartlang.org"
215 | source: hosted
216 | version: "0.11.3+1"
217 | matcher:
218 | dependency: transitive
219 | description:
220 | name: matcher
221 | url: "https://pub.dartlang.org"
222 | source: hosted
223 | version: "0.12.1+4"
224 | meta:
225 | dependency: transitive
226 | description:
227 | name: meta
228 | url: "https://pub.dartlang.org"
229 | source: hosted
230 | version: "1.1.2"
231 | mime:
232 | dependency: transitive
233 | description:
234 | name: mime
235 | url: "https://pub.dartlang.org"
236 | source: hosted
237 | version: "0.9.6"
238 | multi_server_socket:
239 | dependency: transitive
240 | description:
241 | name: multi_server_socket
242 | url: "https://pub.dartlang.org"
243 | source: hosted
244 | version: "1.0.1"
245 | node_preamble:
246 | dependency: transitive
247 | description:
248 | name: node_preamble
249 | url: "https://pub.dartlang.org"
250 | source: hosted
251 | version: "1.4.0"
252 | package_config:
253 | dependency: transitive
254 | description:
255 | name: package_config
256 | url: "https://pub.dartlang.org"
257 | source: hosted
258 | version: "1.0.3"
259 | package_resolver:
260 | dependency: transitive
261 | description:
262 | name: package_resolver
263 | url: "https://pub.dartlang.org"
264 | source: hosted
265 | version: "1.0.2"
266 | path:
267 | dependency: transitive
268 | description:
269 | name: path
270 | url: "https://pub.dartlang.org"
271 | source: hosted
272 | version: "1.5.1"
273 | plugin:
274 | dependency: transitive
275 | description:
276 | name: plugin
277 | url: "https://pub.dartlang.org"
278 | source: hosted
279 | version: "0.2.0+2"
280 | pool:
281 | dependency: transitive
282 | description:
283 | name: pool
284 | url: "https://pub.dartlang.org"
285 | source: hosted
286 | version: "1.3.4"
287 | pub_semver:
288 | dependency: transitive
289 | description:
290 | name: pub_semver
291 | url: "https://pub.dartlang.org"
292 | source: hosted
293 | version: "1.3.6"
294 | quiver:
295 | dependency: transitive
296 | description:
297 | name: quiver
298 | url: "https://pub.dartlang.org"
299 | source: hosted
300 | version: "0.29.0+1"
301 | shelf:
302 | dependency: transitive
303 | description:
304 | name: shelf
305 | url: "https://pub.dartlang.org"
306 | source: hosted
307 | version: "0.7.2"
308 | shelf_packages_handler:
309 | dependency: transitive
310 | description:
311 | name: shelf_packages_handler
312 | url: "https://pub.dartlang.org"
313 | source: hosted
314 | version: "1.0.3"
315 | shelf_static:
316 | dependency: transitive
317 | description:
318 | name: shelf_static
319 | url: "https://pub.dartlang.org"
320 | source: hosted
321 | version: "0.2.7"
322 | shelf_web_socket:
323 | dependency: transitive
324 | description:
325 | name: shelf_web_socket
326 | url: "https://pub.dartlang.org"
327 | source: hosted
328 | version: "0.2.2"
329 | sky_engine:
330 | dependency: transitive
331 | description: flutter
332 | source: sdk
333 | version: "0.0.99"
334 | source_map_stack_trace:
335 | dependency: transitive
336 | description:
337 | name: source_map_stack_trace
338 | url: "https://pub.dartlang.org"
339 | source: hosted
340 | version: "1.1.4"
341 | source_maps:
342 | dependency: transitive
343 | description:
344 | name: source_maps
345 | url: "https://pub.dartlang.org"
346 | source: hosted
347 | version: "0.10.4"
348 | source_span:
349 | dependency: transitive
350 | description:
351 | name: source_span
352 | url: "https://pub.dartlang.org"
353 | source: hosted
354 | version: "1.4.0"
355 | stack_trace:
356 | dependency: transitive
357 | description:
358 | name: stack_trace
359 | url: "https://pub.dartlang.org"
360 | source: hosted
361 | version: "1.9.2"
362 | stream_channel:
363 | dependency: transitive
364 | description:
365 | name: stream_channel
366 | url: "https://pub.dartlang.org"
367 | source: hosted
368 | version: "1.6.4"
369 | string_scanner:
370 | dependency: transitive
371 | description:
372 | name: string_scanner
373 | url: "https://pub.dartlang.org"
374 | source: hosted
375 | version: "1.0.2"
376 | term_glyph:
377 | dependency: transitive
378 | description:
379 | name: term_glyph
380 | url: "https://pub.dartlang.org"
381 | source: hosted
382 | version: "1.0.0"
383 | test:
384 | dependency: transitive
385 | description:
386 | name: test
387 | url: "https://pub.dartlang.org"
388 | source: hosted
389 | version: "0.12.34"
390 | typed_data:
391 | dependency: transitive
392 | description:
393 | name: typed_data
394 | url: "https://pub.dartlang.org"
395 | source: hosted
396 | version: "1.1.5"
397 | utf:
398 | dependency: transitive
399 | description:
400 | name: utf
401 | url: "https://pub.dartlang.org"
402 | source: hosted
403 | version: "0.9.0+4"
404 | vector_math:
405 | dependency: transitive
406 | description:
407 | name: vector_math
408 | url: "https://pub.dartlang.org"
409 | source: hosted
410 | version: "2.0.6"
411 | watcher:
412 | dependency: transitive
413 | description:
414 | name: watcher
415 | url: "https://pub.dartlang.org"
416 | source: hosted
417 | version: "0.9.7+7"
418 | web_socket_channel:
419 | dependency: transitive
420 | description:
421 | name: web_socket_channel
422 | url: "https://pub.dartlang.org"
423 | source: hosted
424 | version: "1.0.7"
425 | yaml:
426 | dependency: transitive
427 | description:
428 | name: yaml
429 | url: "https://pub.dartlang.org"
430 | source: hosted
431 | version: "2.1.13"
432 | sdks:
433 | dart: ">=2.0.0-dev.23.0 <=2.0.0-edge.0d5cf900b021bf5c9fa593ffa12b15bcd1cc5fe0"
434 |
--------------------------------------------------------------------------------
/pubspec.yaml:
--------------------------------------------------------------------------------
1 | name: flutter_chat_app
2 | description: One-to-one chat and Firebase auth
3 |
4 | dependencies:
5 | flutter:
6 | sdk: flutter
7 | image_picker: 0.1.1
8 | google_sign_in: 0.3.1
9 | firebase_analytics: 0.0.4
10 | firebase_auth: 0.2.0
11 | firebase_database: 0.0.12
12 | firebase_storage: 0.0.5
13 |
14 | # The following adds the Cupertino Icons font to your application.
15 | # Use with the CupertinoIcons class for iOS style icons.
16 | cupertino_icons: ^0.1.0
17 |
18 | dev_dependencies:
19 | flutter_test:
20 | sdk: flutter
21 |
22 |
23 | # For information on the generic Dart part of this file, see the
24 | # following page: https://www.dartlang.org/tools/pub/pubspec
25 |
26 | # The following section is specific to Flutter.
27 | flutter:
28 |
29 | # The following line ensures that the Material Icons font is
30 | # included with your application, so that you can use the icons in
31 | # the material Icons class.
32 | uses-material-design: true
33 |
34 | # To add assets to your application, add an assets section, like this:
35 | # assets:
36 | # - images/a_dot_burr.jpeg
37 | # - images/a_dot_ham.jpeg
38 |
39 | # An image asset can refer to one or more resolution-specific "variants", see
40 | # https://flutter.io/assets-and-images/#resolution-aware.
41 |
42 | # For details regarding adding assets from package dependencies, see
43 | # https://flutter.io/assets-and-images/#from-packages
44 |
45 | # To add custom fonts to your application, add a fonts section here,
46 | # in this "flutter" section. Each entry in this list should have a
47 | # "family" key with the font family name, and a "fonts" key with a
48 | # list giving the asset and other descriptors for the font. For
49 | # example:
50 | # fonts:
51 | # - family: Schyler
52 | # fonts:
53 | # - asset: fonts/Schyler-Regular.ttf
54 | # - asset: fonts/Schyler-Italic.ttf
55 | # style: italic
56 | # - family: Trajan Pro
57 | # fonts:
58 | # - asset: fonts/TrajanPro.ttf
59 | # - asset: fonts/TrajanPro_Bold.ttf
60 | # weight: 700
61 | #
62 | # For details regarding fonts from package dependencies,
63 | # see https://flutter.io/custom-fonts/#from-packages
64 |
--------------------------------------------------------------------------------
/screenshots/flutter_chat_app_gif.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rohan20/flutter-chat-app/da9d83bdf085f2d9ba59edde80495aa0b958fd46/screenshots/flutter_chat_app_gif.gif
--------------------------------------------------------------------------------
/screenshots/flutter_chat_app_video.mov:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rohan20/flutter-chat-app/da9d83bdf085f2d9ba59edde80495aa0b958fd46/screenshots/flutter_chat_app_video.mov
--------------------------------------------------------------------------------
/test/widget_test.dart:
--------------------------------------------------------------------------------
1 | // This is a basic Flutter widget test.
2 | // To perform an interaction with a widget in your test, use the WidgetTester utility that Flutter
3 | // provides. For example, you can send tap and scroll gestures. You can also use WidgetTester to
4 | // find child widgets in the widget tree, read text, and verify that the values of widget properties
5 | // are correct.
6 |
7 | import 'package:flutter/material.dart';
8 | import 'package:flutter_test/flutter_test.dart';
9 |
10 | import 'package:flutter_chat_app/main.dart';
11 |
12 | void main() {
13 | testWidgets('Counter increments smoke test', (WidgetTester tester) async {
14 | // Build our app and trigger a frame.
15 | await tester.pumpWidget(new FlutterChatApp());
16 |
17 | // Verify that our counter starts at 0.
18 | expect(find.text('0'), findsOneWidget);
19 | expect(find.text('1'), findsNothing);
20 |
21 | // Tap the '+' icon and trigger a frame.
22 | await tester.tap(find.byIcon(Icons.add));
23 | await tester.pump();
24 |
25 | // Verify that our counter has incremented.
26 | expect(find.text('0'), findsNothing);
27 | expect(find.text('1'), findsOneWidget);
28 | });
29 | }
30 |
--------------------------------------------------------------------------------