├── .gitignore ├── .metadata ├── LICENSE ├── README.md ├── android ├── app │ ├── build.gradle │ ├── google-services.json │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ └── com │ │ │ └── divyamjoshiflutter │ │ │ └── flutterfirebase │ │ │ └── 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.properties └── settings.gradle ├── assets ├── Quicksand-Bold.ttf ├── Quicksand-Light.ttf ├── Quicksand-Medium.ttf └── Quicksand-Regular.ttf ├── images ├── Hand-Watch.png ├── Keyboard.png ├── Logomark.png ├── best.png ├── bird.jpg ├── community.png ├── dart.png ├── dev.png ├── divyam1.jpg ├── flutter.png ├── flutter1.png ├── free.png ├── gates.png ├── google1.png ├── google2.gif ├── jobs.png ├── lee.png ├── mana-potion.png ├── monkey.gif ├── musk.png └── team.png ├── ios ├── Flutter │ ├── AppFrameworkInfo.plist │ ├── Debug.xcconfig │ └── Release.xcconfig ├── 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 │ ├── Info.plist │ └── main.m ├── lib ├── flutterteam.dart ├── homepage.dart ├── loginpage.dart ├── main.dart ├── people.dart ├── signup.dart └── userdb.dart ├── pubspec.yaml └── test └── widget_test.dart /.gitignore: -------------------------------------------------------------------------------- 1 | # Miscellaneous 2 | *.class 3 | *.lock 4 | *.log 5 | *.pyc 6 | *.swp 7 | .DS_Store 8 | .atom/ 9 | .buildlog/ 10 | .history 11 | .svn/ 12 | 13 | # IntelliJ related 14 | *.iml 15 | *.ipr 16 | *.iws 17 | .idea/ 18 | 19 | # Visual Studio Code related 20 | .vscode/ 21 | 22 | # Flutter/Dart/Pub related 23 | **/doc/api/ 24 | .dart_tool/ 25 | .flutter-plugins 26 | .packages 27 | .pub-cache/ 28 | .pub/ 29 | build/ 30 | 31 | # Android related 32 | **/android/**/gradle-wrapper.jar 33 | **/android/.gradle 34 | **/android/captures/ 35 | **/android/gradlew 36 | **/android/gradlew.bat 37 | **/android/local.properties 38 | **/android/**/GeneratedPluginRegistrant.java 39 | 40 | # iOS/XCode related 41 | **/ios/**/*.mode1v3 42 | **/ios/**/*.mode2v3 43 | **/ios/**/*.moved-aside 44 | **/ios/**/*.pbxuser 45 | **/ios/**/*.perspectivev3 46 | **/ios/**/*sync/ 47 | **/ios/**/.sconsign.dblite 48 | **/ios/**/.tags* 49 | **/ios/**/.vagrant/ 50 | **/ios/**/DerivedData/ 51 | **/ios/**/Icon? 52 | **/ios/**/Pods/ 53 | **/ios/**/.symlinks/ 54 | **/ios/**/profile 55 | **/ios/**/xcuserdata 56 | **/ios/.generated/ 57 | **/ios/Flutter/App.framework 58 | **/ios/Flutter/Flutter.framework 59 | **/ios/Flutter/Generated.xcconfig 60 | **/ios/Flutter/app.flx 61 | **/ios/Flutter/app.zip 62 | **/ios/Flutter/flutter_assets/ 63 | **/ios/ServiceDefinitions.json 64 | **/ios/Runner/GeneratedPluginRegistrant.* 65 | 66 | # Exceptions to above rules. 67 | !**/ios/**/default.mode1v3 68 | !**/ios/**/default.mode2v3 69 | !**/ios/**/default.pbxuser 70 | !**/ios/**/default.perspectivev3 71 | !/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages 72 | -------------------------------------------------------------------------------- /.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: 5391447fae6209bb21a89e6a5a6583cac1af9b4b 8 | channel: stable 9 | 10 | project_type: app 11 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "[]" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright [yyyy] [name of copyright owner] 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # flutter_firebase 2 | 3 | A new Flutter application. 4 | 5 | ## Getting Started 6 | 7 | This project is a starting point for a Flutter application. 8 | 9 | A few resources to get you started if this is your first Flutter project: 10 | 11 | - [Lab: Write your first Flutter app](https://flutter.io/docs/get-started/codelab) 12 | - [Cookbook: Useful Flutter samples](https://flutter.io/docs/cookbook) 13 | 14 | For help getting started with Flutter, view our 15 | [online documentation](https://flutter.io/docs), which offers tutorials, 16 | samples, guidance on mobile development, and a full API reference. 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 |
26 | Happy learning. :+1: 27 | If you found this project useful, then please consider giving it a :star: on Github and sharing it with your friends via social media. 28 | ### Show some :heart: and star the repo to support the project 29 | if you like my work support me 30 | ## Project Created & Maintained By 31 | 32 | ### divyam joshi 33 | # Donate 34 | 35 | > If you found this project helpful or you learned something from the source code and want to appreciate 36 | > 37 | > - [PayPal](https://paypal.me/divyamjoshi) 38 |
39 | 40 | ## License 41 | 42 | ``` 43 | Copyright [2018] [Divyam Joshi] 44 | 45 | Licensed under the Apache License, Version 2.0 (the "License"); 46 | you may not use this file except in compliance with the License. 47 | You may obtain a copy of the License at 48 | 49 | http://www.apache.org/licenses/LICENSE-2.0 50 | Unless required by applicable law or agreed to in writing, software 51 | distributed under the License is distributed on an "AS IS" BASIS, 52 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 53 | See the License for the specific language governing permissions and limitations under the License. 54 | -------------------------------------------------------------------------------- /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 | def flutterVersionCode = localProperties.getProperty('flutter.versionCode') 15 | if (flutterVersionCode == null) { 16 | flutterVersionCode = '1' 17 | } 18 | 19 | def flutterVersionName = localProperties.getProperty('flutter.versionName') 20 | if (flutterVersionName == null) { 21 | flutterVersionName = '1.0' 22 | } 23 | 24 | apply plugin: 'com.android.application' 25 | apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" 26 | 27 | android { 28 | compileSdkVersion 27 29 | 30 | lintOptions { 31 | disable 'InvalidPackage' 32 | } 33 | 34 | defaultConfig { 35 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). 36 | applicationId "com.divyamjoshiflutter.flutterfirebase" 37 | minSdkVersion 16 38 | targetSdkVersion 27 39 | versionCode flutterVersionCode.toInteger() 40 | versionName flutterVersionName 41 | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" 42 | } 43 | 44 | buildTypes { 45 | release { 46 | // TODO: Add your own signing config for the release build. 47 | // Signing with the debug keys for now, so `flutter run --release` works. 48 | signingConfig signingConfigs.debug 49 | } 50 | } 51 | } 52 | 53 | flutter { 54 | source '../..' 55 | } 56 | 57 | dependencies { 58 | testImplementation 'junit:junit:4.12' 59 | androidTestImplementation 'com.android.support.test:runner:1.0.2' 60 | androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' 61 | } 62 | apply plugin: 'com.google.gms.google-services' -------------------------------------------------------------------------------- /android/app/google-services.json: -------------------------------------------------------------------------------- 1 | { 2 | "project_info": { 3 | "project_number": "842761852361", 4 | "firebase_url": "https://flutterfirebaseauth-78ade.firebaseio.com", 5 | "project_id": "flutterfirebaseauth-78ade", 6 | "storage_bucket": "flutterfirebaseauth-78ade.appspot.com" 7 | }, 8 | "client": [ 9 | { 10 | "client_info": { 11 | "mobilesdk_app_id": "1:842761852361:android:85987042301b412a", 12 | "android_client_info": { 13 | "package_name": "com.divyamjoshiflutter.firebase" 14 | } 15 | }, 16 | "oauth_client": [ 17 | { 18 | "client_id": "842761852361-fuhlij3atej90ar34logd0dgheoas661.apps.googleusercontent.com", 19 | "client_type": 3 20 | } 21 | ], 22 | "api_key": [ 23 | { 24 | "current_key": "AIzaSyDRcvqCoPrMi37iG7XjWW_xV7XJV4FCFmI" 25 | } 26 | ], 27 | "services": { 28 | "analytics_service": { 29 | "status": 1 30 | }, 31 | "appinvite_service": { 32 | "status": 1, 33 | "other_platform_oauth_client": [] 34 | }, 35 | "ads_service": { 36 | "status": 2 37 | } 38 | } 39 | }, 40 | { 41 | "client_info": { 42 | "mobilesdk_app_id": "1:842761852361:android:fa16cb1add9f08da", 43 | "android_client_info": { 44 | "package_name": "com.divyamjoshiflutter.flutterfirebase" 45 | } 46 | }, 47 | "oauth_client": [ 48 | { 49 | "client_id": "842761852361-4dncc96uuah739vs5hlnintvecqjmaob.apps.googleusercontent.com", 50 | "client_type": 1, 51 | "android_info": { 52 | "package_name": "com.divyamjoshiflutter.flutterfirebase", 53 | "certificate_hash": "508125a1a4d921196a9547f9084105dba5f67cb6" 54 | } 55 | }, 56 | { 57 | "client_id": "842761852361-fuhlij3atej90ar34logd0dgheoas661.apps.googleusercontent.com", 58 | "client_type": 3 59 | } 60 | ], 61 | "api_key": [ 62 | { 63 | "current_key": "AIzaSyDRcvqCoPrMi37iG7XjWW_xV7XJV4FCFmI" 64 | } 65 | ], 66 | "services": { 67 | "analytics_service": { 68 | "status": 1 69 | }, 70 | "appinvite_service": { 71 | "status": 2, 72 | "other_platform_oauth_client": [ 73 | { 74 | "client_id": "842761852361-fuhlij3atej90ar34logd0dgheoas661.apps.googleusercontent.com", 75 | "client_type": 3 76 | } 77 | ] 78 | }, 79 | "ads_service": { 80 | "status": 2 81 | } 82 | } 83 | } 84 | ], 85 | "configuration_version": "1" 86 | } -------------------------------------------------------------------------------- /android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 8 | 9 | 10 | 15 | 19 | 26 | 30 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/divyamjoshiflutter/flutterfirebase/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.divyamjoshiflutter.flutterfirebase; 2 | 3 | import android.os.Bundle; 4 | import io.flutter.app.FlutterActivity; 5 | import io.flutter.plugins.GeneratedPluginRegistrant; 6 | 7 | public class MainActivity extends FlutterActivity { 8 | @Override 9 | protected void onCreate(Bundle savedInstanceState) { 10 | super.onCreate(savedInstanceState); 11 | GeneratedPluginRegistrant.registerWith(this); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /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/dvmjoshi/flutter_firebase/033f38d0817c327afb6d3fb8fd7efb41d3031031/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dvmjoshi/flutter_firebase/033f38d0817c327afb6d3fb8fd7efb41d3031031/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dvmjoshi/flutter_firebase/033f38d0817c327afb6d3fb8fd7efb41d3031031/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dvmjoshi/flutter_firebase/033f38d0817c327afb6d3fb8fd7efb41d3031031/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dvmjoshi/flutter_firebase/033f38d0817c327afb6d3fb8fd7efb41d3031031/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.2.1' 9 | classpath 'com.google.gms:google-services:4.0.1' 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 | } 31 | -------------------------------------------------------------------------------- /android/gradle.properties: -------------------------------------------------------------------------------- 1 | org.gradle.jvmargs=-Xmx1536M 2 | -------------------------------------------------------------------------------- /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.10.2-all.zip 7 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /assets/Quicksand-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dvmjoshi/flutter_firebase/033f38d0817c327afb6d3fb8fd7efb41d3031031/assets/Quicksand-Bold.ttf -------------------------------------------------------------------------------- /assets/Quicksand-Light.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dvmjoshi/flutter_firebase/033f38d0817c327afb6d3fb8fd7efb41d3031031/assets/Quicksand-Light.ttf -------------------------------------------------------------------------------- /assets/Quicksand-Medium.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dvmjoshi/flutter_firebase/033f38d0817c327afb6d3fb8fd7efb41d3031031/assets/Quicksand-Medium.ttf -------------------------------------------------------------------------------- /assets/Quicksand-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dvmjoshi/flutter_firebase/033f38d0817c327afb6d3fb8fd7efb41d3031031/assets/Quicksand-Regular.ttf -------------------------------------------------------------------------------- /images/Hand-Watch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dvmjoshi/flutter_firebase/033f38d0817c327afb6d3fb8fd7efb41d3031031/images/Hand-Watch.png -------------------------------------------------------------------------------- /images/Keyboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dvmjoshi/flutter_firebase/033f38d0817c327afb6d3fb8fd7efb41d3031031/images/Keyboard.png -------------------------------------------------------------------------------- /images/Logomark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dvmjoshi/flutter_firebase/033f38d0817c327afb6d3fb8fd7efb41d3031031/images/Logomark.png -------------------------------------------------------------------------------- /images/best.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dvmjoshi/flutter_firebase/033f38d0817c327afb6d3fb8fd7efb41d3031031/images/best.png -------------------------------------------------------------------------------- /images/bird.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dvmjoshi/flutter_firebase/033f38d0817c327afb6d3fb8fd7efb41d3031031/images/bird.jpg -------------------------------------------------------------------------------- /images/community.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dvmjoshi/flutter_firebase/033f38d0817c327afb6d3fb8fd7efb41d3031031/images/community.png -------------------------------------------------------------------------------- /images/dart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dvmjoshi/flutter_firebase/033f38d0817c327afb6d3fb8fd7efb41d3031031/images/dart.png -------------------------------------------------------------------------------- /images/dev.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dvmjoshi/flutter_firebase/033f38d0817c327afb6d3fb8fd7efb41d3031031/images/dev.png -------------------------------------------------------------------------------- /images/divyam1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dvmjoshi/flutter_firebase/033f38d0817c327afb6d3fb8fd7efb41d3031031/images/divyam1.jpg -------------------------------------------------------------------------------- /images/flutter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dvmjoshi/flutter_firebase/033f38d0817c327afb6d3fb8fd7efb41d3031031/images/flutter.png -------------------------------------------------------------------------------- /images/flutter1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dvmjoshi/flutter_firebase/033f38d0817c327afb6d3fb8fd7efb41d3031031/images/flutter1.png -------------------------------------------------------------------------------- /images/free.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dvmjoshi/flutter_firebase/033f38d0817c327afb6d3fb8fd7efb41d3031031/images/free.png -------------------------------------------------------------------------------- /images/gates.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dvmjoshi/flutter_firebase/033f38d0817c327afb6d3fb8fd7efb41d3031031/images/gates.png -------------------------------------------------------------------------------- /images/google1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dvmjoshi/flutter_firebase/033f38d0817c327afb6d3fb8fd7efb41d3031031/images/google1.png -------------------------------------------------------------------------------- /images/google2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dvmjoshi/flutter_firebase/033f38d0817c327afb6d3fb8fd7efb41d3031031/images/google2.gif -------------------------------------------------------------------------------- /images/jobs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dvmjoshi/flutter_firebase/033f38d0817c327afb6d3fb8fd7efb41d3031031/images/jobs.png -------------------------------------------------------------------------------- /images/lee.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dvmjoshi/flutter_firebase/033f38d0817c327afb6d3fb8fd7efb41d3031031/images/lee.png -------------------------------------------------------------------------------- /images/mana-potion.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dvmjoshi/flutter_firebase/033f38d0817c327afb6d3fb8fd7efb41d3031031/images/mana-potion.png -------------------------------------------------------------------------------- /images/monkey.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dvmjoshi/flutter_firebase/033f38d0817c327afb6d3fb8fd7efb41d3031031/images/monkey.gif -------------------------------------------------------------------------------- /images/musk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dvmjoshi/flutter_firebase/033f38d0817c327afb6d3fb8fd7efb41d3031031/images/musk.png -------------------------------------------------------------------------------- /images/team.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dvmjoshi/flutter_firebase/033f38d0817c327afb6d3fb8fd7efb41d3031031/images/team.png -------------------------------------------------------------------------------- /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 | MinimumOSVersion 24 | 8.0 25 | 26 | 27 | -------------------------------------------------------------------------------- /ios/Flutter/Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Generated.xcconfig" 2 | -------------------------------------------------------------------------------- /ios/Flutter/Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Generated.xcconfig" 2 | -------------------------------------------------------------------------------- /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 | 9705A1C61CF904A100538489 /* Flutter.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9740EEBA1CF902C7004384FC /* Flutter.framework */; }; 16 | 9705A1C71CF904A300538489 /* Flutter.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 9740EEBA1CF902C7004384FC /* Flutter.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; 17 | 9740EEB41CF90195004384FC /* Debug.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 9740EEB21CF90195004384FC /* Debug.xcconfig */; }; 18 | 978B8F6F1D3862AE00F588F7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */; }; 19 | 97C146F31CF9000F007C117D /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 97C146F21CF9000F007C117D /* main.m */; }; 20 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; }; 21 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; }; 22 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; }; 23 | /* End PBXBuildFile section */ 24 | 25 | /* Begin PBXCopyFilesBuildPhase section */ 26 | 9705A1C41CF9048500538489 /* Embed Frameworks */ = { 27 | isa = PBXCopyFilesBuildPhase; 28 | buildActionMask = 2147483647; 29 | dstPath = ""; 30 | dstSubfolderSpec = 10; 31 | files = ( 32 | 3B80C3951E831B6300D905FE /* App.framework in Embed Frameworks */, 33 | 9705A1C71CF904A300538489 /* Flutter.framework in Embed Frameworks */, 34 | ); 35 | name = "Embed Frameworks"; 36 | runOnlyForDeploymentPostprocessing = 0; 37 | }; 38 | /* End PBXCopyFilesBuildPhase section */ 39 | 40 | /* Begin PBXFileReference section */ 41 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; }; 42 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; }; 43 | 2D5378251FAA1A9400D5DBA9 /* flutter_assets */ = {isa = PBXFileReference; lastKnownFileType = folder; name = flutter_assets; path = Flutter/flutter_assets; sourceTree = SOURCE_ROOT; }; 44 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; }; 45 | 3B80C3931E831B6300D905FE /* App.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = App.framework; path = Flutter/App.framework; sourceTree = ""; }; 46 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; }; 47 | 7AFFD8ED1D35381100E5BB4D /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; 48 | 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; 49 | 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; }; 50 | 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; }; 51 | 9740EEBA1CF902C7004384FC /* Flutter.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Flutter.framework; path = Flutter/Flutter.framework; sourceTree = ""; }; 52 | 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; }; 53 | 97C146F21CF9000F007C117D /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 54 | 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 55 | 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 56 | 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 57 | 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 58 | /* End PBXFileReference section */ 59 | 60 | /* Begin PBXFrameworksBuildPhase section */ 61 | 97C146EB1CF9000F007C117D /* Frameworks */ = { 62 | isa = PBXFrameworksBuildPhase; 63 | buildActionMask = 2147483647; 64 | files = ( 65 | 9705A1C61CF904A100538489 /* Flutter.framework in Frameworks */, 66 | 3B80C3941E831B6300D905FE /* App.framework in Frameworks */, 67 | ); 68 | runOnlyForDeploymentPostprocessing = 0; 69 | }; 70 | /* End PBXFrameworksBuildPhase section */ 71 | 72 | /* Begin PBXGroup section */ 73 | 9740EEB11CF90186004384FC /* Flutter */ = { 74 | isa = PBXGroup; 75 | children = ( 76 | 2D5378251FAA1A9400D5DBA9 /* flutter_assets */, 77 | 3B80C3931E831B6300D905FE /* App.framework */, 78 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */, 79 | 9740EEBA1CF902C7004384FC /* Flutter.framework */, 80 | 9740EEB21CF90195004384FC /* Debug.xcconfig */, 81 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */, 82 | 9740EEB31CF90195004384FC /* Generated.xcconfig */, 83 | ); 84 | name = Flutter; 85 | sourceTree = ""; 86 | }; 87 | 97C146E51CF9000F007C117D = { 88 | isa = PBXGroup; 89 | children = ( 90 | 9740EEB11CF90186004384FC /* Flutter */, 91 | 97C146F01CF9000F007C117D /* Runner */, 92 | 97C146EF1CF9000F007C117D /* Products */, 93 | CF3B75C9A7D2FA2A4C99F110 /* Frameworks */, 94 | ); 95 | sourceTree = ""; 96 | }; 97 | 97C146EF1CF9000F007C117D /* Products */ = { 98 | isa = PBXGroup; 99 | children = ( 100 | 97C146EE1CF9000F007C117D /* Runner.app */, 101 | ); 102 | name = Products; 103 | sourceTree = ""; 104 | }; 105 | 97C146F01CF9000F007C117D /* Runner */ = { 106 | isa = PBXGroup; 107 | children = ( 108 | 7AFFD8ED1D35381100E5BB4D /* AppDelegate.h */, 109 | 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */, 110 | 97C146FA1CF9000F007C117D /* Main.storyboard */, 111 | 97C146FD1CF9000F007C117D /* Assets.xcassets */, 112 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */, 113 | 97C147021CF9000F007C117D /* Info.plist */, 114 | 97C146F11CF9000F007C117D /* Supporting Files */, 115 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */, 116 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */, 117 | ); 118 | path = Runner; 119 | sourceTree = ""; 120 | }; 121 | 97C146F11CF9000F007C117D /* Supporting Files */ = { 122 | isa = PBXGroup; 123 | children = ( 124 | 97C146F21CF9000F007C117D /* main.m */, 125 | ); 126 | name = "Supporting Files"; 127 | sourceTree = ""; 128 | }; 129 | /* End PBXGroup section */ 130 | 131 | /* Begin PBXNativeTarget section */ 132 | 97C146ED1CF9000F007C117D /* Runner */ = { 133 | isa = PBXNativeTarget; 134 | buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */; 135 | buildPhases = ( 136 | 9740EEB61CF901F6004384FC /* Run Script */, 137 | 97C146EA1CF9000F007C117D /* Sources */, 138 | 97C146EB1CF9000F007C117D /* Frameworks */, 139 | 97C146EC1CF9000F007C117D /* Resources */, 140 | 9705A1C41CF9048500538489 /* Embed Frameworks */, 141 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */, 142 | ); 143 | buildRules = ( 144 | ); 145 | dependencies = ( 146 | ); 147 | name = Runner; 148 | productName = Runner; 149 | productReference = 97C146EE1CF9000F007C117D /* Runner.app */; 150 | productType = "com.apple.product-type.application"; 151 | }; 152 | /* End PBXNativeTarget section */ 153 | 154 | /* Begin PBXProject section */ 155 | 97C146E61CF9000F007C117D /* Project object */ = { 156 | isa = PBXProject; 157 | attributes = { 158 | LastUpgradeCheck = 0910; 159 | ORGANIZATIONNAME = "The Chromium Authors"; 160 | TargetAttributes = { 161 | 97C146ED1CF9000F007C117D = { 162 | CreatedOnToolsVersion = 7.3.1; 163 | }; 164 | }; 165 | }; 166 | buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */; 167 | compatibilityVersion = "Xcode 3.2"; 168 | developmentRegion = English; 169 | hasScannedForEncodings = 0; 170 | knownRegions = ( 171 | en, 172 | Base, 173 | ); 174 | mainGroup = 97C146E51CF9000F007C117D; 175 | productRefGroup = 97C146EF1CF9000F007C117D /* Products */; 176 | projectDirPath = ""; 177 | projectRoot = ""; 178 | targets = ( 179 | 97C146ED1CF9000F007C117D /* Runner */, 180 | ); 181 | }; 182 | /* End PBXProject section */ 183 | 184 | /* Begin PBXResourcesBuildPhase section */ 185 | 97C146EC1CF9000F007C117D /* Resources */ = { 186 | isa = PBXResourcesBuildPhase; 187 | buildActionMask = 2147483647; 188 | files = ( 189 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */, 190 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */, 191 | 9740EEB41CF90195004384FC /* Debug.xcconfig in Resources */, 192 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */, 193 | 2D5378261FAA1A9400D5DBA9 /* flutter_assets in Resources */, 194 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */, 195 | ); 196 | runOnlyForDeploymentPostprocessing = 0; 197 | }; 198 | /* End PBXResourcesBuildPhase section */ 199 | 200 | /* Begin PBXShellScriptBuildPhase section */ 201 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { 202 | isa = PBXShellScriptBuildPhase; 203 | buildActionMask = 2147483647; 204 | files = ( 205 | ); 206 | inputPaths = ( 207 | ); 208 | name = "Thin Binary"; 209 | outputPaths = ( 210 | ); 211 | runOnlyForDeploymentPostprocessing = 0; 212 | shellPath = /bin/sh; 213 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" thin"; 214 | }; 215 | 9740EEB61CF901F6004384FC /* Run Script */ = { 216 | isa = PBXShellScriptBuildPhase; 217 | buildActionMask = 2147483647; 218 | files = ( 219 | ); 220 | inputPaths = ( 221 | ); 222 | name = "Run Script"; 223 | outputPaths = ( 224 | ); 225 | runOnlyForDeploymentPostprocessing = 0; 226 | shellPath = /bin/sh; 227 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build"; 228 | }; 229 | /* End PBXShellScriptBuildPhase section */ 230 | 231 | /* Begin PBXSourcesBuildPhase section */ 232 | 97C146EA1CF9000F007C117D /* Sources */ = { 233 | isa = PBXSourcesBuildPhase; 234 | buildActionMask = 2147483647; 235 | files = ( 236 | 978B8F6F1D3862AE00F588F7 /* AppDelegate.m in Sources */, 237 | 97C146F31CF9000F007C117D /* main.m in Sources */, 238 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */, 239 | ); 240 | runOnlyForDeploymentPostprocessing = 0; 241 | }; 242 | /* End PBXSourcesBuildPhase section */ 243 | 244 | /* Begin PBXVariantGroup section */ 245 | 97C146FA1CF9000F007C117D /* Main.storyboard */ = { 246 | isa = PBXVariantGroup; 247 | children = ( 248 | 97C146FB1CF9000F007C117D /* Base */, 249 | ); 250 | name = Main.storyboard; 251 | sourceTree = ""; 252 | }; 253 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = { 254 | isa = PBXVariantGroup; 255 | children = ( 256 | 97C147001CF9000F007C117D /* Base */, 257 | ); 258 | name = LaunchScreen.storyboard; 259 | sourceTree = ""; 260 | }; 261 | /* End PBXVariantGroup section */ 262 | 263 | /* Begin XCBuildConfiguration section */ 264 | 249021D3217E4FDB00AE95B9 /* Profile */ = { 265 | isa = XCBuildConfiguration; 266 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 267 | buildSettings = { 268 | ALWAYS_SEARCH_USER_PATHS = NO; 269 | CLANG_ANALYZER_NONNULL = YES; 270 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 271 | CLANG_CXX_LIBRARY = "libc++"; 272 | CLANG_ENABLE_MODULES = YES; 273 | CLANG_ENABLE_OBJC_ARC = YES; 274 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 275 | CLANG_WARN_BOOL_CONVERSION = YES; 276 | CLANG_WARN_COMMA = YES; 277 | CLANG_WARN_CONSTANT_CONVERSION = YES; 278 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 279 | CLANG_WARN_EMPTY_BODY = YES; 280 | CLANG_WARN_ENUM_CONVERSION = YES; 281 | CLANG_WARN_INFINITE_RECURSION = YES; 282 | CLANG_WARN_INT_CONVERSION = YES; 283 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 284 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 285 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 286 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 287 | CLANG_WARN_STRICT_PROTOTYPES = YES; 288 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 289 | CLANG_WARN_UNREACHABLE_CODE = YES; 290 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 291 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 292 | COPY_PHASE_STRIP = NO; 293 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 294 | ENABLE_NS_ASSERTIONS = NO; 295 | ENABLE_STRICT_OBJC_MSGSEND = YES; 296 | GCC_C_LANGUAGE_STANDARD = gnu99; 297 | GCC_NO_COMMON_BLOCKS = YES; 298 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 299 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 300 | GCC_WARN_UNDECLARED_SELECTOR = YES; 301 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 302 | GCC_WARN_UNUSED_FUNCTION = YES; 303 | GCC_WARN_UNUSED_VARIABLE = YES; 304 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 305 | MTL_ENABLE_DEBUG_INFO = NO; 306 | SDKROOT = iphoneos; 307 | TARGETED_DEVICE_FAMILY = "1,2"; 308 | VALIDATE_PRODUCT = YES; 309 | }; 310 | name = Profile; 311 | }; 312 | 249021D4217E4FDB00AE95B9 /* Profile */ = { 313 | isa = XCBuildConfiguration; 314 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 315 | buildSettings = { 316 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 317 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 318 | DEVELOPMENT_TEAM = S8QB4VV633; 319 | ENABLE_BITCODE = NO; 320 | FRAMEWORK_SEARCH_PATHS = ( 321 | "$(inherited)", 322 | "$(PROJECT_DIR)/Flutter", 323 | ); 324 | INFOPLIST_FILE = Runner/Info.plist; 325 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 326 | LIBRARY_SEARCH_PATHS = ( 327 | "$(inherited)", 328 | "$(PROJECT_DIR)/Flutter", 329 | ); 330 | PRODUCT_BUNDLE_IDENTIFIER = com.divyamjoshiflutter.flutterFirebase; 331 | PRODUCT_NAME = "$(TARGET_NAME)"; 332 | VERSIONING_SYSTEM = "apple-generic"; 333 | }; 334 | name = Profile; 335 | }; 336 | 97C147031CF9000F007C117D /* Debug */ = { 337 | isa = XCBuildConfiguration; 338 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; 339 | buildSettings = { 340 | ALWAYS_SEARCH_USER_PATHS = NO; 341 | CLANG_ANALYZER_NONNULL = YES; 342 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 343 | CLANG_CXX_LIBRARY = "libc++"; 344 | CLANG_ENABLE_MODULES = YES; 345 | CLANG_ENABLE_OBJC_ARC = YES; 346 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 347 | CLANG_WARN_BOOL_CONVERSION = YES; 348 | CLANG_WARN_COMMA = YES; 349 | CLANG_WARN_CONSTANT_CONVERSION = YES; 350 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 351 | CLANG_WARN_EMPTY_BODY = YES; 352 | CLANG_WARN_ENUM_CONVERSION = YES; 353 | CLANG_WARN_INFINITE_RECURSION = YES; 354 | CLANG_WARN_INT_CONVERSION = YES; 355 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 356 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 357 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 358 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 359 | CLANG_WARN_STRICT_PROTOTYPES = YES; 360 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 361 | CLANG_WARN_UNREACHABLE_CODE = YES; 362 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 363 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 364 | COPY_PHASE_STRIP = NO; 365 | DEBUG_INFORMATION_FORMAT = dwarf; 366 | ENABLE_STRICT_OBJC_MSGSEND = YES; 367 | ENABLE_TESTABILITY = YES; 368 | GCC_C_LANGUAGE_STANDARD = gnu99; 369 | GCC_DYNAMIC_NO_PIC = NO; 370 | GCC_NO_COMMON_BLOCKS = YES; 371 | GCC_OPTIMIZATION_LEVEL = 0; 372 | GCC_PREPROCESSOR_DEFINITIONS = ( 373 | "DEBUG=1", 374 | "$(inherited)", 375 | ); 376 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 377 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 378 | GCC_WARN_UNDECLARED_SELECTOR = YES; 379 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 380 | GCC_WARN_UNUSED_FUNCTION = YES; 381 | GCC_WARN_UNUSED_VARIABLE = YES; 382 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 383 | MTL_ENABLE_DEBUG_INFO = YES; 384 | ONLY_ACTIVE_ARCH = YES; 385 | SDKROOT = iphoneos; 386 | TARGETED_DEVICE_FAMILY = "1,2"; 387 | }; 388 | name = Debug; 389 | }; 390 | 97C147041CF9000F007C117D /* Release */ = { 391 | isa = XCBuildConfiguration; 392 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 393 | buildSettings = { 394 | ALWAYS_SEARCH_USER_PATHS = NO; 395 | CLANG_ANALYZER_NONNULL = YES; 396 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 397 | CLANG_CXX_LIBRARY = "libc++"; 398 | CLANG_ENABLE_MODULES = YES; 399 | CLANG_ENABLE_OBJC_ARC = YES; 400 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 401 | CLANG_WARN_BOOL_CONVERSION = YES; 402 | CLANG_WARN_COMMA = YES; 403 | CLANG_WARN_CONSTANT_CONVERSION = YES; 404 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 405 | CLANG_WARN_EMPTY_BODY = YES; 406 | CLANG_WARN_ENUM_CONVERSION = YES; 407 | CLANG_WARN_INFINITE_RECURSION = YES; 408 | CLANG_WARN_INT_CONVERSION = YES; 409 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 410 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 411 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 412 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 413 | CLANG_WARN_STRICT_PROTOTYPES = YES; 414 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 415 | CLANG_WARN_UNREACHABLE_CODE = YES; 416 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 417 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 418 | COPY_PHASE_STRIP = NO; 419 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 420 | ENABLE_NS_ASSERTIONS = NO; 421 | ENABLE_STRICT_OBJC_MSGSEND = YES; 422 | GCC_C_LANGUAGE_STANDARD = gnu99; 423 | GCC_NO_COMMON_BLOCKS = YES; 424 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 425 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 426 | GCC_WARN_UNDECLARED_SELECTOR = YES; 427 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 428 | GCC_WARN_UNUSED_FUNCTION = YES; 429 | GCC_WARN_UNUSED_VARIABLE = YES; 430 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 431 | MTL_ENABLE_DEBUG_INFO = NO; 432 | SDKROOT = iphoneos; 433 | TARGETED_DEVICE_FAMILY = "1,2"; 434 | VALIDATE_PRODUCT = YES; 435 | }; 436 | name = Release; 437 | }; 438 | 97C147061CF9000F007C117D /* Debug */ = { 439 | isa = XCBuildConfiguration; 440 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; 441 | buildSettings = { 442 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 443 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 444 | ENABLE_BITCODE = NO; 445 | FRAMEWORK_SEARCH_PATHS = ( 446 | "$(inherited)", 447 | "$(PROJECT_DIR)/Flutter", 448 | ); 449 | INFOPLIST_FILE = Runner/Info.plist; 450 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 451 | LIBRARY_SEARCH_PATHS = ( 452 | "$(inherited)", 453 | "$(PROJECT_DIR)/Flutter", 454 | ); 455 | PRODUCT_BUNDLE_IDENTIFIER = com.divyamjoshiflutter.flutterFirebase; 456 | PRODUCT_NAME = "$(TARGET_NAME)"; 457 | VERSIONING_SYSTEM = "apple-generic"; 458 | }; 459 | name = Debug; 460 | }; 461 | 97C147071CF9000F007C117D /* Release */ = { 462 | isa = XCBuildConfiguration; 463 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 464 | buildSettings = { 465 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 466 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 467 | ENABLE_BITCODE = NO; 468 | FRAMEWORK_SEARCH_PATHS = ( 469 | "$(inherited)", 470 | "$(PROJECT_DIR)/Flutter", 471 | ); 472 | INFOPLIST_FILE = Runner/Info.plist; 473 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 474 | LIBRARY_SEARCH_PATHS = ( 475 | "$(inherited)", 476 | "$(PROJECT_DIR)/Flutter", 477 | ); 478 | PRODUCT_BUNDLE_IDENTIFIER = com.divyamjoshiflutter.flutterFirebase; 479 | PRODUCT_NAME = "$(TARGET_NAME)"; 480 | VERSIONING_SYSTEM = "apple-generic"; 481 | }; 482 | name = Release; 483 | }; 484 | /* End XCBuildConfiguration section */ 485 | 486 | /* Begin XCConfigurationList section */ 487 | 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = { 488 | isa = XCConfigurationList; 489 | buildConfigurations = ( 490 | 97C147031CF9000F007C117D /* Debug */, 491 | 97C147041CF9000F007C117D /* Release */, 492 | 249021D3217E4FDB00AE95B9 /* Profile */, 493 | ); 494 | defaultConfigurationIsVisible = 0; 495 | defaultConfigurationName = Release; 496 | }; 497 | 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = { 498 | isa = XCConfigurationList; 499 | buildConfigurations = ( 500 | 97C147061CF9000F007C117D /* Debug */, 501 | 97C147071CF9000F007C117D /* Release */, 502 | 249021D4217E4FDB00AE95B9 /* Profile */, 503 | ); 504 | defaultConfigurationIsVisible = 0; 505 | defaultConfigurationName = Release; 506 | }; 507 | /* End XCConfigurationList section */ 508 | }; 509 | rootObject = 97C146E61CF9000F007C117D /* Project object */; 510 | } 511 | -------------------------------------------------------------------------------- /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 | 8 | -------------------------------------------------------------------------------- /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 7 | didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { 8 | [GeneratedPluginRegistrant registerWithRegistry:self]; 9 | // Override point for customization after application launch. 10 | return [super application:application didFinishLaunchingWithOptions:launchOptions]; 11 | } 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /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/dvmjoshi/flutter_firebase/033f38d0817c327afb6d3fb8fd7efb41d3031031/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/dvmjoshi/flutter_firebase/033f38d0817c327afb6d3fb8fd7efb41d3031031/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/dvmjoshi/flutter_firebase/033f38d0817c327afb6d3fb8fd7efb41d3031031/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/dvmjoshi/flutter_firebase/033f38d0817c327afb6d3fb8fd7efb41d3031031/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/dvmjoshi/flutter_firebase/033f38d0817c327afb6d3fb8fd7efb41d3031031/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/dvmjoshi/flutter_firebase/033f38d0817c327afb6d3fb8fd7efb41d3031031/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/dvmjoshi/flutter_firebase/033f38d0817c327afb6d3fb8fd7efb41d3031031/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/dvmjoshi/flutter_firebase/033f38d0817c327afb6d3fb8fd7efb41d3031031/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/dvmjoshi/flutter_firebase/033f38d0817c327afb6d3fb8fd7efb41d3031031/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/dvmjoshi/flutter_firebase/033f38d0817c327afb6d3fb8fd7efb41d3031031/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/dvmjoshi/flutter_firebase/033f38d0817c327afb6d3fb8fd7efb41d3031031/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/dvmjoshi/flutter_firebase/033f38d0817c327afb6d3fb8fd7efb41d3031031/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/dvmjoshi/flutter_firebase/033f38d0817c327afb6d3fb8fd7efb41d3031031/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/dvmjoshi/flutter_firebase/033f38d0817c327afb6d3fb8fd7efb41d3031031/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/dvmjoshi/flutter_firebase/033f38d0817c327afb6d3fb8fd7efb41d3031031/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/dvmjoshi/flutter_firebase/033f38d0817c327afb6d3fb8fd7efb41d3031031/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dvmjoshi/flutter_firebase/033f38d0817c327afb6d3fb8fd7efb41d3031031/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dvmjoshi/flutter_firebase/033f38d0817c327afb6d3fb8fd7efb41d3031031/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/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_firebase 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | $(FLUTTER_BUILD_NAME) 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | $(FLUTTER_BUILD_NUMBER) 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIMainStoryboardFile 28 | Main 29 | UISupportedInterfaceOrientations 30 | 31 | UIInterfaceOrientationPortrait 32 | UIInterfaceOrientationLandscapeLeft 33 | UIInterfaceOrientationLandscapeRight 34 | 35 | UISupportedInterfaceOrientations~ipad 36 | 37 | UIInterfaceOrientationPortrait 38 | UIInterfaceOrientationPortraitUpsideDown 39 | UIInterfaceOrientationLandscapeLeft 40 | UIInterfaceOrientationLandscapeRight 41 | 42 | UIViewControllerBasedStatusBarAppearance 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /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/flutterteam.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | 4 | class MyApp extends StatelessWidget { 5 | // This widget is the root of your application. 6 | @override 7 | Widget build(BuildContext context) { 8 | return MaterialApp( 9 | debugShowCheckedModeBanner: false, 10 | home: MyHomePage(), 11 | ); 12 | } 13 | } 14 | 15 | class MyHomePage extends StatefulWidget { 16 | @override 17 | _MyHomePageState createState() => _MyHomePageState(); 18 | } 19 | 20 | class _MyHomePageState extends State 21 | with SingleTickerProviderStateMixin { 22 | TabController controller; 23 | 24 | 25 | 26 | @override 27 | Widget build(BuildContext context) { 28 | return Scaffold( 29 | body: SafeArea( 30 | bottom: true, 31 | child: ListView( 32 | shrinkWrap: true, 33 | children: [ 34 | SafeArea( 35 | bottom: true, 36 | child: Column( 37 | children: [ 38 | Padding( 39 | padding: const EdgeInsets.all(8.0), 40 | child: Row( 41 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 42 | children: [ 43 | Text( 44 | 'Imagine ', 45 | style: TextStyle( 46 | color: Colors.grey, 47 | fontFamily: 'Quicksand', 48 | fontWeight: FontWeight.bold, 49 | fontSize: 12.0), 50 | ), 51 | Text( 52 | 'with flutter', 53 | style: TextStyle( 54 | color: Colors.blue, 55 | fontFamily: 'Quicksand', 56 | fontWeight: FontWeight.bold, 57 | fontSize: 12.0), 58 | ) 59 | ], 60 | ), 61 | ), 62 | itemCard('Flutter Team', 'images/best.png', false), 63 | itemCard('Hot Reload', 'images/free.png', false), 64 | itemCard('Community', 'images/community.png', false), 65 | itemCard('Widgets', 'images/team.png', false), 66 | SizedBox(height: 22.0,) 67 | 68 | ], 69 | ), 70 | 71 | ), 72 | 73 | ], 74 | ), 75 | ), 76 | 77 | ); 78 | } 79 | 80 | Widget itemCard(String title, String imgPath, bool isFavorite) { 81 | return Container( 82 | height: 200.0, 83 | width: double.infinity, 84 | color: Colors.white, 85 | child: Row( 86 | children: [ 87 | Padding( 88 | padding: const EdgeInsets.all(8.0), 89 | child: Container( 90 | width: 150.0, 91 | height: 150.0, 92 | decoration: BoxDecoration( 93 | image: DecorationImage( 94 | image: AssetImage(imgPath), fit: BoxFit.contain)), 95 | ), 96 | ), 97 | SizedBox(width: 30.0), 98 | Column( 99 | children: [ 100 | Row( 101 | children: [ 102 | Text( 103 | title, 104 | style: TextStyle( 105 | fontFamily: 'Quicksand', 106 | fontSize: 17.0, 107 | fontWeight: FontWeight.bold), 108 | ), 109 | SizedBox(width: 45.0), 110 | Material( 111 | elevation: isFavorite ? 0.0 : 2.0, 112 | borderRadius: BorderRadius.circular(20.0), 113 | child: Container( 114 | height: 40.0, 115 | width: 40.0, 116 | decoration: BoxDecoration( 117 | borderRadius: BorderRadius.circular(20.0), 118 | color: isFavorite 119 | ? Colors.grey.withOpacity(0.2) 120 | : Colors.white), 121 | child: Center( 122 | child: isFavorite 123 | ? Icon(Icons.favorite_border) 124 | : Icon(Icons.favorite, color: Colors.red), 125 | ), 126 | ), 127 | ) 128 | ], 129 | ), 130 | SizedBox(height: 5.0), 131 | Container( 132 | width: 175.0, 133 | child: Text( 134 | 'Flutter allows you to build beautiful native apps on iOS and Android from a single codebase', 135 | textAlign: TextAlign.left, 136 | style: TextStyle( 137 | fontFamily: 'Quicksand', 138 | color: Colors.grey, 139 | fontSize: 12.0), 140 | ), 141 | ), 142 | SizedBox(height: 5.0), 143 | Row( 144 | children: [ 145 | SizedBox(width: 35.0), 146 | Container( 147 | height: 40.0, 148 | width: 50.0, 149 | color: Colors.grey, 150 | child: Center( 151 | child: Text( 152 | 'Flutter', 153 | style: TextStyle( 154 | color: Colors.white, 155 | fontFamily: 'Quicksand', 156 | fontWeight: FontWeight.bold), 157 | ), 158 | ), 159 | ), 160 | Container( 161 | height: 40.0, 162 | width: 100.0, 163 | color: Colors.grey, 164 | child: Center( 165 | child: Text( 166 | '/1.0', 167 | style: TextStyle( 168 | color: Colors.white, 169 | fontFamily: 'Quicksand', 170 | fontWeight: FontWeight.bold), 171 | ), 172 | ), 173 | ) 174 | ], 175 | ) 176 | ], 177 | ) 178 | ], 179 | ), 180 | ); 181 | } 182 | } -------------------------------------------------------------------------------- /lib/homepage.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | import 'package:firebase_auth/firebase_auth.dart'; 4 | import 'package:flutter_firebase/flutterteam.dart'; 5 | import 'package:flutter_firebase/loginpage.dart'; 6 | import 'package:flutter_firebase/people.dart'; 7 | import 'package:flutter_firebase/signup.dart'; 8 | 9 | class Page extends StatefulWidget { 10 | @override 11 | _FlutterPageState createState() => _FlutterPageState(); 12 | } 13 | 14 | class _FlutterPageState extends State with SingleTickerProviderStateMixin{ 15 | AnimationController animationController; 16 | Animation animation; 17 | @override 18 | void initState(){ 19 | animationController =new AnimationController(duration: Duration(seconds: 10),vsync: this); 20 | animation=IntTween(begin: 0,end:photos.length-1 ).animate(animationController) 21 | ..addListener((){ 22 | setState(() { 23 | photoindex=animation.value; 24 | }); 25 | }); 26 | animationController.repeat(); 27 | } 28 | @override 29 | void dispose() 30 | { 31 | super.dispose(); 32 | animationController.dispose(); 33 | } 34 | int photoindex=0; 35 | Listphotos=[ 36 | "images/flutter1.png", 37 | "images/Logomark.png", 38 | "images/google1.png", 39 | "images/dart.png", 40 | "images/bird.jpg" 41 | 42 | 43 | ]; 44 | void _previousImage() { 45 | setState(() { 46 | photoindex = photoindex > 0 ? photoindex - 1 : 0; 47 | }); 48 | } 49 | 50 | void _nextImage() { 51 | setState(() { 52 | photoindex = photoindex < photos.length - 1 ? photoindex + 1 : photoindex; 53 | }); 54 | } 55 | @override 56 | Widget build(BuildContext context) { 57 | // TODO: implement build 58 | return new Scaffold( 59 | appBar: AppBar( 60 | title: Image(image:AssetImage("images/flutter1.png",),height: 30.0,fit: BoxFit.fitHeight,), 61 | elevation: 0.0, 62 | centerTitle: true, 63 | backgroundColor: Colors.transparent, 64 | leading: IconButton(icon: Icon(Icons.arrow_back),color: Colors.grey, onPressed: (){ 65 | Navigator.of(context).pushReplacementNamed("/loginpage"); 66 | }), 67 | actions: [ 68 | IconButton(icon: Icon(Icons.menu,color: Colors.grey,), 69 | onPressed:(){ 70 | showModalBottomSheet( 71 | context: context, 72 | builder: (BuildContext context) { 73 | return new Container( 74 | child: new Padding( 75 | padding: const EdgeInsets.all(32.0), 76 | child: new Text( 77 | 'made with love .via Divyam joshi ' 78 | 'if you like my work star my repo and thats motivate me ', 79 | textAlign: TextAlign.center, 80 | style: TextStyle( 81 | color: Colors.grey, 82 | fontFamily: 'Quicksand', 83 | fontWeight: FontWeight.bold, 84 | fontSize: 14.0)))); 85 | }); 86 | }) 87 | ], 88 | ), 89 | body: new ListView( 90 | shrinkWrap: true, 91 | children: [ 92 | Stack( 93 | children: [ 94 | 95 | Container( 96 | height: 210.0, 97 | decoration: BoxDecoration( 98 | image: DecorationImage( 99 | image: AssetImage(photos[photoindex]), 100 | fit: BoxFit.scaleDown)), 101 | ), 102 | 103 | /* GestureDetector( 104 | child: Container( 105 | height: 210.0, 106 | width: MediaQuery.of(context).size.width, 107 | color: Colors.transparent, 108 | ), 109 | onTap: _nextImage, 110 | ), 111 | GestureDetector( 112 | child: Container( 113 | height: 210.0, 114 | width: MediaQuery.of(context).size.width / 2, 115 | color: Colors.transparent, 116 | ), 117 | onTap: _previousImage, 118 | ),*/ 119 | Positioned( 120 | top: 180.0, 121 | left: 5.0, 122 | child: Row( 123 | children: [ 124 | 125 | SizedBox(width: 2.0), 126 | Text( 127 | '4.0', 128 | style: TextStyle( 129 | color: Colors.white, fontWeight: FontWeight.bold), 130 | ), 131 | SizedBox(width: 4.0), 132 | SelectedPhoto( 133 | photoIndex: photoindex, numberOfDots: photos.length) 134 | ], 135 | ), 136 | ), 137 | 138 | 139 | ], 140 | 141 | ), 142 | Container( 143 | margin: EdgeInsets.fromLTRB(0.0, 0.0, 0.0, 0.0), 144 | decoration: BoxDecoration( 145 | color: Colors.white, 146 | borderRadius: BorderRadius.circular(20.0), 147 | boxShadow: [ 148 | BoxShadow(blurRadius: 2.0, color: Colors.grey) 149 | ]), 150 | child: Row( 151 | crossAxisAlignment: CrossAxisAlignment.center, 152 | children: [ 153 | Stack( 154 | children: [ 155 | Container( 156 | padding: EdgeInsets.fromLTRB(25.0, 25.0, 5.0, 5.0), 157 | child: Text( 158 | 'WELCOME to Flutter', 159 | style: TextStyle( 160 | color: Colors.grey, 161 | fontFamily: 'Quicksand', 162 | fontWeight: FontWeight.bold, 163 | fontSize: 14.0), 164 | ), 165 | ), 166 | Container( 167 | padding: EdgeInsets.fromLTRB(25.0, 40.0, 5.0, 25.0), 168 | child: Text( 169 | '1.0', 170 | style: TextStyle( 171 | color: Colors.black, 172 | fontFamily: 'Quicksand', 173 | fontWeight: FontWeight.bold, 174 | fontSize: 40.0), 175 | ), 176 | ) 177 | ], 178 | ), 179 | SizedBox(width: 50.0), 180 | Container( 181 | height: 60.0, 182 | width: 125.0, 183 | decoration: BoxDecoration( 184 | color: Colors.greenAccent[100].withOpacity(0.5), 185 | borderRadius: BorderRadius.circular(10.0)), 186 | child: GestureDetector( 187 | child: Center( 188 | child: Text('Logout', 189 | style: TextStyle( 190 | fontFamily: 'Quicksand', 191 | fontWeight: FontWeight.bold, 192 | color: Colors.green),), 193 | 194 | ), 195 | onTap: (){ 196 | FirebaseAuth.instance.signOut().then((action) { 197 | Navigator 198 | .of(context) 199 | .pushReplacementNamed('/loginpage'); 200 | }).catchError((e) { 201 | print(e); 202 | }); 203 | 204 | }, 205 | ), 206 | ) 207 | ], 208 | ), 209 | ), 210 | SizedBox(height: 2.0,), 211 | Container( 212 | height: 500.0, 213 | width: double.infinity, 214 | child: PageView( 215 | children: [ 216 | MyApp(), 217 | People() 218 | ], 219 | ), 220 | ) 221 | ], 222 | 223 | ), 224 | ); 225 | 226 | } 227 | 228 | } 229 | class SelectedPhoto extends StatelessWidget { 230 | final int numberOfDots; 231 | final int photoIndex; 232 | 233 | SelectedPhoto({this.numberOfDots, this.photoIndex}); 234 | 235 | Widget _inactivePhoto() { 236 | return new Container( 237 | child: new Padding( 238 | padding: const EdgeInsets.only(left: 3.0, right: 3.0), 239 | child: Container( 240 | height: 8.0, 241 | width: 8.0, 242 | decoration: BoxDecoration( 243 | color: Colors.grey, borderRadius: BorderRadius.circular(4.0)), 244 | ), 245 | )); 246 | } 247 | 248 | Widget _activePhoto() { 249 | return Container( 250 | child: Padding( 251 | padding: EdgeInsets.only(left: 3.0, right: 3.0), 252 | child: Container( 253 | height: 10.0, 254 | width: 10.0, 255 | decoration: BoxDecoration( 256 | color: Colors.white, 257 | borderRadius: BorderRadius.circular(5.0), 258 | boxShadow: [ 259 | BoxShadow( 260 | color: Colors.grey, spreadRadius: 0.0, blurRadius: 2.0) 261 | ]), 262 | ), 263 | ), 264 | ); 265 | } 266 | 267 | List _buildDots() { 268 | List dots = []; 269 | 270 | for (int i = 0; i < numberOfDots; ++i) { 271 | dots.add(i == photoIndex ? _activePhoto() : _inactivePhoto()); 272 | } 273 | 274 | return dots; 275 | } 276 | 277 | @override 278 | Widget build(BuildContext context) { 279 | return new Center( 280 | child: Row( 281 | mainAxisAlignment: MainAxisAlignment.center, 282 | children: _buildDots(), 283 | ), 284 | ); 285 | } 286 | } 287 | -------------------------------------------------------------------------------- /lib/loginpage.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:firebase_auth/firebase_auth.dart'; 3 | import 'package:google_sign_in/google_sign_in.dart'; 4 | class LoginPage extends StatefulWidget{ 5 | @override 6 | _LoginPageSate createState()=>_LoginPageSate(); 7 | } 8 | class _LoginPageSate extends State{ 9 | String _email; 10 | String _password; 11 | //google sign 12 | GoogleSignIn googleauth = new GoogleSignIn(); 13 | final formkey=new GlobalKey(); 14 | checkFields(){ 15 | final form=formkey.currentState; 16 | if(form.validate()){ 17 | form.save(); 18 | return true; 19 | } 20 | return false; 21 | } 22 | 23 | 24 | 25 | LoginUser(){ 26 | if (checkFields()){ 27 | FirebaseAuth.instance.signInWithEmailAndPassword(email: _email, password: _password) 28 | .then((user){ 29 | print("signed in as ${user.uid}"); 30 | Navigator.of(context).pushReplacementNamed('/userpage'); 31 | }).catchError((e){ 32 | print(e); 33 | }); 34 | } 35 | } 36 | 37 | @override 38 | Widget build(BuildContext context) { 39 | // TODO: implement build 40 | return new Scaffold( 41 | 42 | appBar: AppBar( 43 | title: Image(image:AssetImage("images/flutter1.png",),height: 30.0,fit: BoxFit.fitHeight,), 44 | 45 | elevation: 0.0, 46 | 47 | centerTitle: true, 48 | backgroundColor: Colors.transparent, 49 | 50 | ), 51 | body: 52 | ListView( 53 | shrinkWrap: true, 54 | children: [ 55 | Container( 56 | height: 220.0, 57 | width: 110.0, 58 | decoration: BoxDecoration( 59 | image: DecorationImage( 60 | image: AssetImage('images/monkey.gif'), 61 | fit: BoxFit.cover), 62 | borderRadius: BorderRadius.only 63 | ( 64 | bottomLeft: Radius.circular(500.0), 65 | bottomRight: Radius.circular(500.0) 66 | ), 67 | ), 68 | ), 69 | Center( 70 | child: Padding( 71 | padding: const EdgeInsets.all(28.0), 72 | child: Center( 73 | child: Form( 74 | key: formkey, 75 | child: Center( 76 | child: ListView( 77 | shrinkWrap: true, 78 | children: [ 79 | 80 | _input("required email",false,"Email",'Enter your Email',(value) => _email = value), 81 | SizedBox(width: 20.0,height: 20.0,), 82 | _input("required password",true,"Password",'Password',(value) => _password = value), 83 | new Padding(padding: EdgeInsets.all(8.0), 84 | child: Center( 85 | child: Padding( 86 | padding: const EdgeInsets.all(8.0), 87 | child: Column( 88 | children: [ 89 | Row( 90 | children: [ 91 | Expanded( 92 | child: OutlineButton( 93 | child: Text("Login "), 94 | onPressed:LoginUser 95 | ), 96 | flex: 1, 97 | ), 98 | SizedBox(height: 18.0,width: 18.0,), 99 | 100 | SizedBox(height: 18.0,width: 18.0,), 101 | Expanded( 102 | flex: 1, 103 | child: OutlineButton( 104 | //child: Text("login with google"), 105 | // child: ImageIcon(AssetImage("images/google1.png"),semanticLabel: "login",), 106 | child: Image(image: AssetImage("images/google1.png"),height:28.0,fit: BoxFit.fitHeight), 107 | onPressed: (){ 108 | googleauth.signIn().then((result){result.authentication.then((googleuser){ 109 | FirebaseAuth.instance.signInWithGoogle 110 | (idToken: googleuser.idToken, accessToken: googleuser.accessToken). 111 | then((user){ 112 | print("Signedin user ${user.displayName}"); 113 | Navigator.of(context).pushReplacementNamed("/userpage"); 114 | }).catchError((e){ 115 | print(e); 116 | }); 117 | }).catchError((e){ 118 | print(e); 119 | });}).catchError((e){ 120 | print(e); 121 | }); 122 | }), 123 | ) 124 | 125 | ], 126 | ), 127 | SizedBox(height: 15.0), 128 | Row( 129 | mainAxisAlignment: MainAxisAlignment.center, 130 | children: [ 131 | Text( 132 | 'New login with google?', 133 | style: TextStyle(fontFamily: 'Montserrat'), 134 | ), 135 | SizedBox(width: 5.0), 136 | InkWell( 137 | child: Text( 138 | 'create new account', 139 | style: TextStyle( 140 | color: Colors.blue, 141 | fontFamily: 'Montserrat', 142 | fontWeight: FontWeight.bold, 143 | decoration: TextDecoration.underline), 144 | ), 145 | ) 146 | ], 147 | ), 148 | OutlineButton( 149 | child: Text("signup"), 150 | onPressed: (){ 151 | Navigator.of(context).pushNamed('/signup'); 152 | }), 153 | OutlineButton( 154 | child: Text("ui"), 155 | onPressed: (){ 156 | Navigator.of(context).pushNamed('/userpage'); 157 | }) 158 | ], 159 | 160 | ), 161 | 162 | ), 163 | ),), 164 | 165 | ], 166 | 167 | ), 168 | ), 169 | ) 170 | ), 171 | ), 172 | ), 173 | ], 174 | ) , 175 | ); 176 | } 177 | Widget _input(String validation,bool ,String label,String hint, save ){ 178 | 179 | return new TextFormField( 180 | decoration: InputDecoration( 181 | hintText: hint, 182 | labelText: label, 183 | contentPadding: EdgeInsets.fromLTRB(20.0, 10.0, 20.0, 20.0), 184 | border: OutlineInputBorder( 185 | borderRadius: BorderRadius.circular(20.0) 186 | ), 187 | 188 | ), 189 | obscureText: bool, 190 | validator: (value)=> 191 | value.isEmpty ? validation: null, 192 | onSaved: save , 193 | 194 | ); 195 | 196 | } 197 | } 198 | 199 | -------------------------------------------------------------------------------- /lib/main.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:flutter_firebase/homepage.dart'; 3 | import 'package:flutter_firebase/loginpage.dart'; 4 | import 'package:flutter_firebase/signup.dart'; 5 | //import 'package:firebase_auth/firebase_auth.dart'; 6 | void main()=>runApp(FireAuth()); 7 | 8 | class FireAuth extends StatelessWidget{ 9 | @override 10 | Widget build(BuildContext context) { 11 | // TODO: implement build 12 | return new MaterialApp( 13 | title: "Firebase Auth", 14 | debugShowCheckedModeBanner: false, 15 | theme: ThemeData(primarySwatch: Colors.blue), 16 | home:LoginPage(), 17 | routes: { 18 | "/userpage":(BuildContext context)=>new Page(), 19 | "/loginpage":(BuildContext context)=>new LoginPage(), 20 | "/signup":(BuildContext context)=>new SignUpPage() 21 | 22 | }, 23 | ); 24 | } 25 | } -------------------------------------------------------------------------------- /lib/people.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | 4 | 5 | class People extends StatelessWidget { 6 | @override 7 | Widget build(BuildContext context) { 8 | return new MaterialApp( 9 | debugShowCheckedModeBanner: false, 10 | home: new Page(), 11 | ); 12 | } 13 | } 14 | 15 | class Page extends StatefulWidget { 16 | @override 17 | _MyPage createState() => new _MyPage(); 18 | } 19 | 20 | class _MyPage extends State { 21 | @override 22 | Widget build(BuildContext context) { 23 | return new Scaffold( 24 | 25 | body: ListView( 26 | shrinkWrap: true, 27 | children: [ 28 | Container( 29 | child: Padding( 30 | padding: const EdgeInsets.all(8.0), 31 | child: Row( 32 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 33 | children: [ 34 | Text( 35 | 'People', 36 | style: TextStyle( 37 | color: Colors.grey, 38 | fontFamily: 'Quicksand', 39 | fontWeight: FontWeight.bold, 40 | fontSize: 12.0), 41 | ), 42 | Text( 43 | 'that inspire you', 44 | style: TextStyle( 45 | color: Colors.blue, 46 | fontFamily: 'Quicksand', 47 | fontWeight: FontWeight.bold, 48 | fontSize: 12.0), 49 | ) 50 | ], 51 | ), 52 | )), 53 | SizedBox(height: 10.0), 54 | GridView.count( 55 | crossAxisCount: 2, 56 | primary: false, 57 | crossAxisSpacing: 2.0, 58 | mainAxisSpacing: 4.0, 59 | shrinkWrap: true, 60 | children: [ 61 | _buildCard('Stan lee', 'the great', 1,"images/lee.png"), 62 | _buildCard('Steve jobs', 'Visionary', 2,"images/jobs.png"), 63 | _buildCard('Elon Musk', 'space settlement', 3,"images/musk.png"), 64 | _buildCard('Google dev', 'inspire', 4,"images/dev.png"), 65 | 66 | SizedBox(height: 10.0,) 67 | ], 68 | ) 69 | ], 70 | ), 71 | ); 72 | } 73 | 74 | Widget _buildCard(String name, String status, int cardIndex,String images) { 75 | return Card( 76 | shape: RoundedRectangleBorder( 77 | borderRadius: BorderRadius.circular(10.0) 78 | ), 79 | elevation: 7.0, 80 | child: Column( 81 | children: [ 82 | SizedBox(height: 12.0), 83 | Stack( 84 | children: [ 85 | Container( 86 | height: 125.0, 87 | width: 125.0, 88 | decoration: BoxDecoration( 89 | borderRadius: BorderRadius.circular(30.0), 90 | color: Colors.blueGrey, 91 | image: DecorationImage( 92 | image: AssetImage(images) 93 | ) 94 | ), 95 | ), 96 | 97 | ]), 98 | SizedBox(height: 8.0), 99 | Text( 100 | name, 101 | style: TextStyle( 102 | fontFamily: 'Quicksand', 103 | fontWeight: FontWeight.bold, 104 | fontSize: 15.0, 105 | ), 106 | ), 107 | SizedBox(height: 5.0), 108 | Text( 109 | status, 110 | style: TextStyle( 111 | fontFamily: 'Quicksand', 112 | fontWeight: FontWeight.bold, 113 | fontSize: 12.0, 114 | color: Colors.grey 115 | ), 116 | ), 117 | 118 | 119 | ], 120 | ), 121 | margin: cardIndex.isEven? EdgeInsets.fromLTRB(10.0, 0.0, 25.0, 10.0):EdgeInsets.fromLTRB(25.0, 0.0, 5.0, 10.0) 122 | ); 123 | } 124 | 125 | } 126 | -------------------------------------------------------------------------------- /lib/signup.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:firebase_auth/firebase_auth.dart'; 3 | import 'dart:async'; 4 | 5 | class SignUpPage extends StatefulWidget{ 6 | @override 7 | _SignupPageSate createState()=>_SignupPageSate(); 8 | } 9 | class _SignupPageSate extends State{ 10 | String _email; 11 | String _password; 12 | final formkey=new GlobalKey(); 13 | checkFields(){ 14 | final form=formkey.currentState; 15 | if(form.validate()){ 16 | form.save(); 17 | return true; 18 | } 19 | return false; 20 | } 21 | 22 | 23 | 24 | createUser()async{ 25 | if (checkFields()){ 26 | await FirebaseAuth.instance.createUserWithEmailAndPassword(email: _email, password: _password) 27 | .then((user){ 28 | print('signed in as ${user.uid}'); 29 | 30 | Navigator.of(context).pop(); 31 | Navigator.of(context).pushNamed('/userpage'); 32 | }).catchError((e){ 33 | print(e); 34 | }); 35 | } 36 | } 37 | 38 | @override 39 | Widget build(BuildContext context) { 40 | // TODO: implement build 41 | return new Scaffold( 42 | 43 | appBar: AppBar( 44 | title: Image(image:AssetImage("images/flutter1.png",), 45 | height: 30.0, 46 | fit: BoxFit.fitHeight,), 47 | elevation: 0.0, 48 | 49 | centerTitle: true, 50 | backgroundColor: Colors.black12, 51 | 52 | ), 53 | body:ListView( 54 | shrinkWrap: true, 55 | children: [ 56 | Container( 57 | height: 210.0, 58 | decoration: BoxDecoration( 59 | image: DecorationImage( 60 | image: AssetImage('images/google2.gif'), 61 | fit: BoxFit.contain), 62 | borderRadius: BorderRadius.only 63 | ( 64 | bottomLeft: Radius.circular(500.0), 65 | bottomRight: Radius.circular(500.0) 66 | )), 67 | ), 68 | Center( 69 | child: Padding( 70 | padding: const EdgeInsets.all(28.0), 71 | child: Center( 72 | child: new Form( 73 | key: formkey, 74 | child: Center( 75 | child: new ListView( 76 | shrinkWrap: true, 77 | children: [ 78 | 79 | _input("required email",false,"Email",'Enter your Email',(value) => _email = value), 80 | SizedBox(width: 20.0,height: 20.0,), 81 | _input("required password",true,"Password",'Password',(value) => _password = value), 82 | 83 | Center( 84 | child: Padding( 85 | padding: EdgeInsets.only(left: 138.0,top: 8.0), 86 | child: Row( 87 | children: [ 88 | OutlineButton( 89 | child: Text("Register"), 90 | onPressed: createUser, 91 | ), 92 | SizedBox(height: 18.0,width: 18.0,), 93 | 94 | 95 | ], 96 | ), 97 | ), 98 | ), 99 | 100 | ], 101 | ), 102 | ), 103 | ) 104 | ), 105 | ), 106 | ), 107 | ], 108 | ) , 109 | ); 110 | } 111 | Widget _input(String validation,bool ,String label,String hint, save ){ 112 | 113 | return new TextFormField( 114 | decoration: InputDecoration( 115 | hintText: hint, 116 | labelText: label, 117 | contentPadding: EdgeInsets.fromLTRB(20.0, 10.0, 20.0, 20.0), 118 | border: OutlineInputBorder( 119 | borderRadius: BorderRadius.circular(20.0) 120 | ), 121 | 122 | 123 | ), 124 | obscureText: bool, 125 | validator: (value)=> 126 | value.isEmpty ? validation: null, 127 | onSaved: save , 128 | 129 | ); 130 | 131 | } 132 | } 133 | 134 | -------------------------------------------------------------------------------- /lib/userdb.dart: -------------------------------------------------------------------------------- 1 | /*import 'package:flutter/widgets.dart'; 2 | import 'package:cloud_firestore/cloud_firestore.dart'; 3 | class userdb { 4 | newUser(user,context){ 5 | Firestore.instance.collection('/users').add({ 6 | 'emial':user.email, 7 | 'uid':user.uid 8 | }).then((value){ 9 | Navigator.of(context).pop(); 10 | Navigator.of(context).pushReplacementNamed('/homepage'); 11 | }).catchError((e){ 12 | print(e); 13 | }); 14 | } 15 | 16 | }*/ -------------------------------------------------------------------------------- /pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: flutter_firebase 2 | description: A new Flutter application. 3 | 4 | # The following defines the version and build number for your application. 5 | # A version number is three numbers separated by dots, like 1.2.43 6 | # followed by an optional build number separated by a +. 7 | # Both the version and the builder number may be overridden in flutter 8 | # build by specifying --build-name and --build-number, respectively. 9 | # Read more about versioning at semver.org. 10 | version: 1.0.0+1 11 | 12 | environment: 13 | sdk: ">=2.0.0-dev.68.0 <3.0.0" 14 | 15 | dependencies: 16 | firebase_auth: 17 | google_sign_in: 18 | # cloud_firestore: 19 | flutter: 20 | sdk: flutter 21 | 22 | 23 | 24 | # The following adds the Cupertino Icons font to your application. 25 | # Use with the CupertinoIcons class for iOS style icons. 26 | cupertino_icons: ^0.1.2 27 | 28 | dev_dependencies: 29 | flutter_test: 30 | sdk: flutter 31 | 32 | 33 | # For information on the generic Dart part of this file, see the 34 | # following page: https://www.dartlang.org/tools/pub/pubspec 35 | 36 | # The following section is specific to Flutter. 37 | flutter: 38 | 39 | # The following line ensures that the Material Icons font is 40 | # included with your application, so that you can use the icons in 41 | # the material Icons class. 42 | uses-material-design: true 43 | assets: 44 | - images/flutter1.png 45 | - images/google1.png 46 | - images/dart.png 47 | - images/google2.gif 48 | - images/monkey.gif 49 | - images/bird.jpg 50 | - images/musk.png 51 | - images/lee.png 52 | - images/dev.png 53 | - images/jobs.png 54 | - images/gates.png 55 | - images/Logomark.png 56 | - images/best.png 57 | - images/community.png 58 | - images/free.png 59 | - images/team.png 60 | 61 | 62 | # An image asset can refer to one or more resolution-specific "variants", see 63 | # https://flutter.io/assets-and-images/#resolution-aware. 64 | 65 | # For details regarding adding assets from package dependencies, see 66 | # https://flutter.io/assets-and-images/#from-packages 67 | #divyam joshi 68 | # To add custom fonts to your application, add a fonts section here, 69 | # in this "flutter" section. Each entry in this list should have a 70 | # "family" key with the font family name, and a "fonts" key with a 71 | # list giving the asset and other descriptors for the font. For 72 | # example: 73 | # fonts: 74 | # - family: Schyler 75 | # fonts: 76 | # - asset: fonts/Schyler-Regular.ttf 77 | # - asset: fonts/Schyler-Italic.ttf 78 | # style: italic 79 | # - family: Trajan Pro 80 | # fonts: 81 | # - asset: fonts/TrajanPro.ttf 82 | # - asset: fonts/TrajanPro_Bold.ttf 83 | # weight: 700 84 | # 85 | fonts: 86 | - family: Quicksand 87 | fonts: 88 | - asset: assets/Quicksand-Medium.ttf 89 | - asset: assets/Quicksand-Bold.ttf 90 | weight: 700 91 | # For details regarding fonts from package dependencies, 92 | # see https://flutter.io/custom-fonts/#from-packages 93 | -------------------------------------------------------------------------------- /test/widget_test.dart: -------------------------------------------------------------------------------- 1 | // This is a basic Flutter widget test. 2 | // 3 | // To perform an interaction with a widget in your test, use the WidgetTester 4 | // utility that Flutter provides. For example, you can send tap and scroll 5 | // gestures. You can also use WidgetTester to find child widgets in the widget 6 | // tree, read text, and verify that the values of widget properties are correct. 7 | 8 | import 'package:flutter/material.dart'; 9 | import 'package:flutter_test/flutter_test.dart'; 10 | 11 | import 'package:flutter_firebase/main.dart'; 12 | 13 | void main() { 14 | testWidgets('Counter increments smoke test', (WidgetTester tester) async { 15 | // Build our app and trigger a frame. 16 | // await tester.pumpWidget(MyApp()); 17 | 18 | // Verify that our counter starts at 0. 19 | expect(find.text('0'), findsOneWidget); 20 | expect(find.text('1'), findsNothing); 21 | 22 | // Tap the '+' icon and trigger a frame. 23 | await tester.tap(find.byIcon(Icons.add)); 24 | await tester.pump(); 25 | 26 | // Verify that our counter has incremented. 27 | expect(find.text('0'), findsNothing); 28 | expect(find.text('1'), findsOneWidget); 29 | }); 30 | } 31 | --------------------------------------------------------------------------------