├── .gitignore ├── .metadata ├── .vscode └── launch.json ├── LICENSE ├── README.md ├── android ├── .gitignore ├── app │ ├── build.gradle │ └── src │ │ ├── debug │ │ └── AndroidManifest.xml │ │ ├── main │ │ ├── AndroidManifest.xml │ │ ├── kotlin │ │ │ └── com │ │ │ │ └── example │ │ │ │ └── day35 │ │ │ │ └── MainActivity.kt │ │ └── res │ │ │ ├── drawable-v21 │ │ │ └── launch_background.xml │ │ │ ├── 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-night │ │ │ └── styles.xml │ │ │ └── values │ │ │ └── styles.xml │ │ └── profile │ │ └── AndroidManifest.xml ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties └── settings.gradle ├── assets └── screenshots │ ├── cleaning-page.png │ ├── date-and-time-page.png │ ├── home-page.png │ ├── select-service-page.png │ └── start-page.png ├── ios ├── .gitignore ├── Flutter │ ├── AppFrameworkInfo.plist │ ├── Debug.xcconfig │ └── Release.xcconfig ├── Runner.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcshareddata │ │ │ ├── IDEWorkspaceChecks.plist │ │ │ └── WorkspaceSettings.xcsettings │ └── xcshareddata │ │ └── xcschemes │ │ └── Runner.xcscheme ├── Runner.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ ├── IDEWorkspaceChecks.plist │ │ └── WorkspaceSettings.xcsettings └── Runner │ ├── AppDelegate.swift │ ├── 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 │ └── Runner-Bridging-Header.h ├── lib ├── animation │ └── FadeAnimation.dart ├── main.dart ├── models │ └── service.dart └── pages │ ├── cleaning.dart │ ├── date_time.dart │ ├── home.dart │ ├── select_service.dart │ └── start.dart ├── pubspec.lock ├── pubspec.yaml ├── test └── widget_test.dart └── web ├── favicon.png ├── icons ├── Icon-192.png └── Icon-512.png ├── index.html └── manifest.json /.gitignore: -------------------------------------------------------------------------------- 1 | # Miscellaneous 2 | *.class 3 | *.log 4 | *.pyc 5 | *.swp 6 | .DS_Store 7 | .atom/ 8 | .buildlog/ 9 | .history 10 | .svn/ 11 | 12 | # IntelliJ related 13 | *.iml 14 | *.ipr 15 | *.iws 16 | .idea/ 17 | 18 | # The .vscode folder contains launch configuration and tasks you configure in 19 | # VS Code which you may wish to be included in version control, so this line 20 | # is commented out by default. 21 | #.vscode/ 22 | 23 | # Flutter/Dart/Pub related 24 | **/doc/api/ 25 | **/ios/Flutter/.last_build_id 26 | .dart_tool/ 27 | .flutter-plugins 28 | .flutter-plugins-dependencies 29 | .packages 30 | .pub-cache/ 31 | .pub/ 32 | /build/ 33 | 34 | # Web related 35 | lib/generated_plugin_registrant.dart 36 | 37 | # Symbolication related 38 | app.*.symbols 39 | 40 | # Obfuscation related 41 | app.*.map.json 42 | 43 | # Android Studio will place build artifacts here 44 | /android/app/debug 45 | /android/app/profile 46 | /android/app/release 47 | -------------------------------------------------------------------------------- /.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: d79295af24c3ed621c33713ecda14ad196fd9c31 8 | channel: stable 9 | 10 | project_type: app 11 | -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- 1 | { 2 | // Use IntelliSense to learn about possible attributes. 3 | // Hover to view descriptions of existing attributes. 4 | // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 5 | "version": "0.2.0", 6 | "configurations": [ 7 | { 8 | "name": "day35", 9 | "request": "launch", 10 | "type": "dart", 11 | "args": [ 12 | "--no-sound-null-safety" 13 | ] 14 | }, 15 | { 16 | "name": "day35 (profile mode)", 17 | "request": "launch", 18 | "type": "dart", 19 | "flutterMode": "profile", 20 | "args": [ 21 | "--no-sound-null-safety" 22 | ] 23 | } 24 | ] 25 | } -------------------------------------------------------------------------------- /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 Home Service Application Example - Day 35 2 | 3 | ```dart 4 | class Afgprogrammer extends Flutter100DaysOfCode { 5 | video() { 6 | return { 7 | "title": "Flutter Home Service Application Example", 8 | "description": "Let’s make a home service application.", 9 | "day": 35, 10 | } 11 | } 12 | } 13 | ``` 14 | 15 | Assets 16 | * [icon8](https://icons8.com) 17 | 18 | ## Previous Designs 19 | [Checkout my Youtube channel](https://youtube.com/afgprogrammer) 20 | 21 | 22 | ## Development Setup 23 | Clone the repository and run the following commands: 24 | ``` 25 | flutter pub get 26 | flutter run 27 | ``` 28 | 29 | ## Screenshots 30 | ### Select Service Page 31 | 32 | 33 | ### Cleaning Page 34 | 35 | 36 | ### Date & Time Page 37 | 38 | 39 | ### Home Page 40 | 41 | 42 | ## Links 43 | 44 | * [Website](https://afgprogrammer.com) 45 | * [Youtube channel](https://youtube.com/afgprogrammer) 46 | * [Twitter](https://twitter.com/afgprogrammer) 47 | * [Instagram](https://instagram.com/afgprogrammer) 48 | -------------------------------------------------------------------------------- /android/.gitignore: -------------------------------------------------------------------------------- 1 | gradle-wrapper.jar 2 | /.gradle 3 | /captures/ 4 | /gradlew 5 | /gradlew.bat 6 | /local.properties 7 | GeneratedPluginRegistrant.java 8 | 9 | # Remember to never publicly share your keystore. 10 | # See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app 11 | key.properties 12 | -------------------------------------------------------------------------------- /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 plugin: 'kotlin-android' 26 | apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" 27 | 28 | android { 29 | compileSdkVersion 30 30 | 31 | sourceSets { 32 | main.java.srcDirs += 'src/main/kotlin' 33 | } 34 | 35 | defaultConfig { 36 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). 37 | applicationId "com.example.day35" 38 | minSdkVersion 16 39 | targetSdkVersion 30 40 | versionCode flutterVersionCode.toInteger() 41 | versionName flutterVersionName 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 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" 59 | } 60 | -------------------------------------------------------------------------------- /android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 6 | 13 | 17 | 21 | 26 | 30 | 31 | 32 | 33 | 34 | 35 | 37 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /android/app/src/main/kotlin/com/example/day35/MainActivity.kt: -------------------------------------------------------------------------------- 1 | package com.example.day35 2 | 3 | import io.flutter.embedding.android.FlutterActivity 4 | 5 | class MainActivity: FlutterActivity() { 6 | } 7 | -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-v21/launch_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /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/afgprogrammer/Flutter-home-service-app/98e43dc76ba65bb03a0b4e95d0a6539164b8a894/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afgprogrammer/Flutter-home-service-app/98e43dc76ba65bb03a0b4e95d0a6539164b8a894/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afgprogrammer/Flutter-home-service-app/98e43dc76ba65bb03a0b4e95d0a6539164b8a894/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afgprogrammer/Flutter-home-service-app/98e43dc76ba65bb03a0b4e95d0a6539164b8a894/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afgprogrammer/Flutter-home-service-app/98e43dc76ba65bb03a0b4e95d0a6539164b8a894/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/values-night/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 15 | 18 | 19 | -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 15 | 18 | 19 | -------------------------------------------------------------------------------- /android/app/src/profile/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /android/build.gradle: -------------------------------------------------------------------------------- 1 | buildscript { 2 | ext.kotlin_version = '1.3.50' 3 | repositories { 4 | google() 5 | jcenter() 6 | } 7 | 8 | dependencies { 9 | classpath 'com.android.tools.build:gradle:4.1.0' 10 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" 11 | } 12 | } 13 | 14 | allprojects { 15 | repositories { 16 | google() 17 | jcenter() 18 | } 19 | } 20 | 21 | rootProject.buildDir = '../build' 22 | subprojects { 23 | project.buildDir = "${rootProject.buildDir}/${project.name}" 24 | project.evaluationDependsOn(':app') 25 | } 26 | 27 | task clean(type: Delete) { 28 | delete rootProject.buildDir 29 | } 30 | -------------------------------------------------------------------------------- /android/gradle.properties: -------------------------------------------------------------------------------- 1 | org.gradle.jvmargs=-Xmx1536M 2 | android.useAndroidX=true 3 | android.enableJetifier=true 4 | -------------------------------------------------------------------------------- /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-6.7-all.zip 7 | -------------------------------------------------------------------------------- /android/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | 3 | def localPropertiesFile = new File(rootProject.projectDir, "local.properties") 4 | def properties = new Properties() 5 | 6 | assert localPropertiesFile.exists() 7 | localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) } 8 | 9 | def flutterSdkPath = properties.getProperty("flutter.sdk") 10 | assert flutterSdkPath != null, "flutter.sdk not set in local.properties" 11 | apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle" 12 | -------------------------------------------------------------------------------- /assets/screenshots/cleaning-page.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afgprogrammer/Flutter-home-service-app/98e43dc76ba65bb03a0b4e95d0a6539164b8a894/assets/screenshots/cleaning-page.png -------------------------------------------------------------------------------- /assets/screenshots/date-and-time-page.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afgprogrammer/Flutter-home-service-app/98e43dc76ba65bb03a0b4e95d0a6539164b8a894/assets/screenshots/date-and-time-page.png -------------------------------------------------------------------------------- /assets/screenshots/home-page.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afgprogrammer/Flutter-home-service-app/98e43dc76ba65bb03a0b4e95d0a6539164b8a894/assets/screenshots/home-page.png -------------------------------------------------------------------------------- /assets/screenshots/select-service-page.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afgprogrammer/Flutter-home-service-app/98e43dc76ba65bb03a0b4e95d0a6539164b8a894/assets/screenshots/select-service-page.png -------------------------------------------------------------------------------- /assets/screenshots/start-page.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afgprogrammer/Flutter-home-service-app/98e43dc76ba65bb03a0b4e95d0a6539164b8a894/assets/screenshots/start-page.png -------------------------------------------------------------------------------- /ios/.gitignore: -------------------------------------------------------------------------------- 1 | *.mode1v3 2 | *.mode2v3 3 | *.moved-aside 4 | *.pbxuser 5 | *.perspectivev3 6 | **/*sync/ 7 | .sconsign.dblite 8 | .tags* 9 | **/.vagrant/ 10 | **/DerivedData/ 11 | Icon? 12 | **/Pods/ 13 | **/.symlinks/ 14 | profile 15 | xcuserdata 16 | **/.generated/ 17 | Flutter/App.framework 18 | Flutter/Flutter.framework 19 | Flutter/Flutter.podspec 20 | Flutter/Generated.xcconfig 21 | Flutter/ephemeral/ 22 | Flutter/app.flx 23 | Flutter/app.zip 24 | Flutter/flutter_assets/ 25 | Flutter/flutter_export_environment.sh 26 | ServiceDefinitions.json 27 | Runner/GeneratedPluginRegistrant.* 28 | 29 | # Exceptions to above rules. 30 | !default.mode1v3 31 | !default.mode2v3 32 | !default.pbxuser 33 | !default.perspectivev3 34 | -------------------------------------------------------------------------------- /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 | 12.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 = 54; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; }; 11 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; }; 12 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; }; 13 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; }; 14 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; }; 15 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; }; 16 | /* End PBXBuildFile section */ 17 | 18 | /* Begin PBXCopyFilesBuildPhase section */ 19 | 9705A1C41CF9048500538489 /* Embed Frameworks */ = { 20 | isa = PBXCopyFilesBuildPhase; 21 | buildActionMask = 2147483647; 22 | dstPath = ""; 23 | dstSubfolderSpec = 10; 24 | files = ( 25 | ); 26 | name = "Embed Frameworks"; 27 | runOnlyForDeploymentPostprocessing = 0; 28 | }; 29 | /* End PBXCopyFilesBuildPhase section */ 30 | 31 | /* Begin PBXFileReference section */ 32 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; }; 33 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; }; 34 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; }; 35 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; }; 36 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 37 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; }; 38 | 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; }; 39 | 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; }; 40 | 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; }; 41 | 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 42 | 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 43 | 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 44 | 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 45 | /* End PBXFileReference section */ 46 | 47 | /* Begin PBXFrameworksBuildPhase section */ 48 | 97C146EB1CF9000F007C117D /* Frameworks */ = { 49 | isa = PBXFrameworksBuildPhase; 50 | buildActionMask = 2147483647; 51 | files = ( 52 | ); 53 | runOnlyForDeploymentPostprocessing = 0; 54 | }; 55 | /* End PBXFrameworksBuildPhase section */ 56 | 57 | /* Begin PBXGroup section */ 58 | 9740EEB11CF90186004384FC /* Flutter */ = { 59 | isa = PBXGroup; 60 | children = ( 61 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */, 62 | 9740EEB21CF90195004384FC /* Debug.xcconfig */, 63 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */, 64 | 9740EEB31CF90195004384FC /* Generated.xcconfig */, 65 | ); 66 | name = Flutter; 67 | sourceTree = ""; 68 | }; 69 | 97C146E51CF9000F007C117D = { 70 | isa = PBXGroup; 71 | children = ( 72 | 9740EEB11CF90186004384FC /* Flutter */, 73 | 97C146F01CF9000F007C117D /* Runner */, 74 | 97C146EF1CF9000F007C117D /* Products */, 75 | ); 76 | sourceTree = ""; 77 | }; 78 | 97C146EF1CF9000F007C117D /* Products */ = { 79 | isa = PBXGroup; 80 | children = ( 81 | 97C146EE1CF9000F007C117D /* Runner.app */, 82 | ); 83 | name = Products; 84 | sourceTree = ""; 85 | }; 86 | 97C146F01CF9000F007C117D /* Runner */ = { 87 | isa = PBXGroup; 88 | children = ( 89 | 97C146FA1CF9000F007C117D /* Main.storyboard */, 90 | 97C146FD1CF9000F007C117D /* Assets.xcassets */, 91 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */, 92 | 97C147021CF9000F007C117D /* Info.plist */, 93 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */, 94 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */, 95 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */, 96 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */, 97 | ); 98 | path = Runner; 99 | sourceTree = ""; 100 | }; 101 | /* End PBXGroup section */ 102 | 103 | /* Begin PBXNativeTarget section */ 104 | 97C146ED1CF9000F007C117D /* Runner */ = { 105 | isa = PBXNativeTarget; 106 | buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */; 107 | buildPhases = ( 108 | 9740EEB61CF901F6004384FC /* Run Script */, 109 | 97C146EA1CF9000F007C117D /* Sources */, 110 | 97C146EB1CF9000F007C117D /* Frameworks */, 111 | 97C146EC1CF9000F007C117D /* Resources */, 112 | 9705A1C41CF9048500538489 /* Embed Frameworks */, 113 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */, 114 | ); 115 | buildRules = ( 116 | ); 117 | dependencies = ( 118 | ); 119 | name = Runner; 120 | productName = Runner; 121 | productReference = 97C146EE1CF9000F007C117D /* Runner.app */; 122 | productType = "com.apple.product-type.application"; 123 | }; 124 | /* End PBXNativeTarget section */ 125 | 126 | /* Begin PBXProject section */ 127 | 97C146E61CF9000F007C117D /* Project object */ = { 128 | isa = PBXProject; 129 | attributes = { 130 | LastUpgradeCheck = 1510; 131 | ORGANIZATIONNAME = ""; 132 | TargetAttributes = { 133 | 97C146ED1CF9000F007C117D = { 134 | CreatedOnToolsVersion = 7.3.1; 135 | LastSwiftMigration = 1100; 136 | }; 137 | }; 138 | }; 139 | buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */; 140 | compatibilityVersion = "Xcode 9.3"; 141 | developmentRegion = en; 142 | hasScannedForEncodings = 0; 143 | knownRegions = ( 144 | en, 145 | Base, 146 | ); 147 | mainGroup = 97C146E51CF9000F007C117D; 148 | productRefGroup = 97C146EF1CF9000F007C117D /* Products */; 149 | projectDirPath = ""; 150 | projectRoot = ""; 151 | targets = ( 152 | 97C146ED1CF9000F007C117D /* Runner */, 153 | ); 154 | }; 155 | /* End PBXProject section */ 156 | 157 | /* Begin PBXResourcesBuildPhase section */ 158 | 97C146EC1CF9000F007C117D /* Resources */ = { 159 | isa = PBXResourcesBuildPhase; 160 | buildActionMask = 2147483647; 161 | files = ( 162 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */, 163 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */, 164 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */, 165 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */, 166 | ); 167 | runOnlyForDeploymentPostprocessing = 0; 168 | }; 169 | /* End PBXResourcesBuildPhase section */ 170 | 171 | /* Begin PBXShellScriptBuildPhase section */ 172 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { 173 | isa = PBXShellScriptBuildPhase; 174 | alwaysOutOfDate = 1; 175 | buildActionMask = 2147483647; 176 | files = ( 177 | ); 178 | inputPaths = ( 179 | "${TARGET_BUILD_DIR}/${INFOPLIST_PATH}", 180 | ); 181 | name = "Thin Binary"; 182 | outputPaths = ( 183 | ); 184 | runOnlyForDeploymentPostprocessing = 0; 185 | shellPath = /bin/sh; 186 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin"; 187 | }; 188 | 9740EEB61CF901F6004384FC /* Run Script */ = { 189 | isa = PBXShellScriptBuildPhase; 190 | alwaysOutOfDate = 1; 191 | buildActionMask = 2147483647; 192 | files = ( 193 | ); 194 | inputPaths = ( 195 | ); 196 | name = "Run Script"; 197 | outputPaths = ( 198 | ); 199 | runOnlyForDeploymentPostprocessing = 0; 200 | shellPath = /bin/sh; 201 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build"; 202 | }; 203 | /* End PBXShellScriptBuildPhase section */ 204 | 205 | /* Begin PBXSourcesBuildPhase section */ 206 | 97C146EA1CF9000F007C117D /* Sources */ = { 207 | isa = PBXSourcesBuildPhase; 208 | buildActionMask = 2147483647; 209 | files = ( 210 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */, 211 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */, 212 | ); 213 | runOnlyForDeploymentPostprocessing = 0; 214 | }; 215 | /* End PBXSourcesBuildPhase section */ 216 | 217 | /* Begin PBXVariantGroup section */ 218 | 97C146FA1CF9000F007C117D /* Main.storyboard */ = { 219 | isa = PBXVariantGroup; 220 | children = ( 221 | 97C146FB1CF9000F007C117D /* Base */, 222 | ); 223 | name = Main.storyboard; 224 | sourceTree = ""; 225 | }; 226 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = { 227 | isa = PBXVariantGroup; 228 | children = ( 229 | 97C147001CF9000F007C117D /* Base */, 230 | ); 231 | name = LaunchScreen.storyboard; 232 | sourceTree = ""; 233 | }; 234 | /* End PBXVariantGroup section */ 235 | 236 | /* Begin XCBuildConfiguration section */ 237 | 249021D3217E4FDB00AE95B9 /* Profile */ = { 238 | isa = XCBuildConfiguration; 239 | buildSettings = { 240 | ALWAYS_SEARCH_USER_PATHS = NO; 241 | CLANG_ANALYZER_NONNULL = YES; 242 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 243 | CLANG_CXX_LIBRARY = "libc++"; 244 | CLANG_ENABLE_MODULES = YES; 245 | CLANG_ENABLE_OBJC_ARC = YES; 246 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 247 | CLANG_WARN_BOOL_CONVERSION = YES; 248 | CLANG_WARN_COMMA = YES; 249 | CLANG_WARN_CONSTANT_CONVERSION = YES; 250 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 251 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 252 | CLANG_WARN_EMPTY_BODY = YES; 253 | CLANG_WARN_ENUM_CONVERSION = YES; 254 | CLANG_WARN_INFINITE_RECURSION = YES; 255 | CLANG_WARN_INT_CONVERSION = YES; 256 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 257 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 258 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 259 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 260 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 261 | CLANG_WARN_STRICT_PROTOTYPES = YES; 262 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 263 | CLANG_WARN_UNREACHABLE_CODE = YES; 264 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 265 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 266 | COPY_PHASE_STRIP = NO; 267 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 268 | ENABLE_NS_ASSERTIONS = NO; 269 | ENABLE_STRICT_OBJC_MSGSEND = YES; 270 | GCC_C_LANGUAGE_STANDARD = gnu99; 271 | GCC_NO_COMMON_BLOCKS = YES; 272 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 273 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 274 | GCC_WARN_UNDECLARED_SELECTOR = YES; 275 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 276 | GCC_WARN_UNUSED_FUNCTION = YES; 277 | GCC_WARN_UNUSED_VARIABLE = YES; 278 | IPHONEOS_DEPLOYMENT_TARGET = 12.0; 279 | MTL_ENABLE_DEBUG_INFO = NO; 280 | SDKROOT = iphoneos; 281 | SUPPORTED_PLATFORMS = iphoneos; 282 | TARGETED_DEVICE_FAMILY = "1,2"; 283 | VALIDATE_PRODUCT = YES; 284 | }; 285 | name = Profile; 286 | }; 287 | 249021D4217E4FDB00AE95B9 /* Profile */ = { 288 | isa = XCBuildConfiguration; 289 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 290 | buildSettings = { 291 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 292 | CLANG_ENABLE_MODULES = YES; 293 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 294 | ENABLE_BITCODE = NO; 295 | INFOPLIST_FILE = Runner/Info.plist; 296 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 297 | PRODUCT_BUNDLE_IDENTIFIER = com.example.day35; 298 | PRODUCT_NAME = "$(TARGET_NAME)"; 299 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 300 | SWIFT_VERSION = 5.0; 301 | VERSIONING_SYSTEM = "apple-generic"; 302 | }; 303 | name = Profile; 304 | }; 305 | 97C147031CF9000F007C117D /* Debug */ = { 306 | isa = XCBuildConfiguration; 307 | buildSettings = { 308 | ALWAYS_SEARCH_USER_PATHS = NO; 309 | CLANG_ANALYZER_NONNULL = YES; 310 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 311 | CLANG_CXX_LIBRARY = "libc++"; 312 | CLANG_ENABLE_MODULES = YES; 313 | CLANG_ENABLE_OBJC_ARC = YES; 314 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 315 | CLANG_WARN_BOOL_CONVERSION = YES; 316 | CLANG_WARN_COMMA = YES; 317 | CLANG_WARN_CONSTANT_CONVERSION = YES; 318 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 319 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 320 | CLANG_WARN_EMPTY_BODY = YES; 321 | CLANG_WARN_ENUM_CONVERSION = YES; 322 | CLANG_WARN_INFINITE_RECURSION = YES; 323 | CLANG_WARN_INT_CONVERSION = YES; 324 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 325 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 326 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 327 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 328 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 329 | CLANG_WARN_STRICT_PROTOTYPES = YES; 330 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 331 | CLANG_WARN_UNREACHABLE_CODE = YES; 332 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 333 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 334 | COPY_PHASE_STRIP = NO; 335 | DEBUG_INFORMATION_FORMAT = dwarf; 336 | ENABLE_STRICT_OBJC_MSGSEND = YES; 337 | ENABLE_TESTABILITY = YES; 338 | GCC_C_LANGUAGE_STANDARD = gnu99; 339 | GCC_DYNAMIC_NO_PIC = NO; 340 | GCC_NO_COMMON_BLOCKS = YES; 341 | GCC_OPTIMIZATION_LEVEL = 0; 342 | GCC_PREPROCESSOR_DEFINITIONS = ( 343 | "DEBUG=1", 344 | "$(inherited)", 345 | ); 346 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 347 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 348 | GCC_WARN_UNDECLARED_SELECTOR = YES; 349 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 350 | GCC_WARN_UNUSED_FUNCTION = YES; 351 | GCC_WARN_UNUSED_VARIABLE = YES; 352 | IPHONEOS_DEPLOYMENT_TARGET = 12.0; 353 | MTL_ENABLE_DEBUG_INFO = YES; 354 | ONLY_ACTIVE_ARCH = YES; 355 | SDKROOT = iphoneos; 356 | TARGETED_DEVICE_FAMILY = "1,2"; 357 | }; 358 | name = Debug; 359 | }; 360 | 97C147041CF9000F007C117D /* Release */ = { 361 | isa = XCBuildConfiguration; 362 | buildSettings = { 363 | ALWAYS_SEARCH_USER_PATHS = NO; 364 | CLANG_ANALYZER_NONNULL = YES; 365 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 366 | CLANG_CXX_LIBRARY = "libc++"; 367 | CLANG_ENABLE_MODULES = YES; 368 | CLANG_ENABLE_OBJC_ARC = YES; 369 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 370 | CLANG_WARN_BOOL_CONVERSION = YES; 371 | CLANG_WARN_COMMA = YES; 372 | CLANG_WARN_CONSTANT_CONVERSION = YES; 373 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 374 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 375 | CLANG_WARN_EMPTY_BODY = YES; 376 | CLANG_WARN_ENUM_CONVERSION = YES; 377 | CLANG_WARN_INFINITE_RECURSION = YES; 378 | CLANG_WARN_INT_CONVERSION = YES; 379 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 380 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 381 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 382 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 383 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 384 | CLANG_WARN_STRICT_PROTOTYPES = YES; 385 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 386 | CLANG_WARN_UNREACHABLE_CODE = YES; 387 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 388 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 389 | COPY_PHASE_STRIP = NO; 390 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 391 | ENABLE_NS_ASSERTIONS = NO; 392 | ENABLE_STRICT_OBJC_MSGSEND = YES; 393 | GCC_C_LANGUAGE_STANDARD = gnu99; 394 | GCC_NO_COMMON_BLOCKS = YES; 395 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 396 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 397 | GCC_WARN_UNDECLARED_SELECTOR = YES; 398 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 399 | GCC_WARN_UNUSED_FUNCTION = YES; 400 | GCC_WARN_UNUSED_VARIABLE = YES; 401 | IPHONEOS_DEPLOYMENT_TARGET = 12.0; 402 | MTL_ENABLE_DEBUG_INFO = NO; 403 | SDKROOT = iphoneos; 404 | SUPPORTED_PLATFORMS = iphoneos; 405 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 406 | TARGETED_DEVICE_FAMILY = "1,2"; 407 | VALIDATE_PRODUCT = YES; 408 | }; 409 | name = Release; 410 | }; 411 | 97C147061CF9000F007C117D /* Debug */ = { 412 | isa = XCBuildConfiguration; 413 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; 414 | buildSettings = { 415 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 416 | CLANG_ENABLE_MODULES = YES; 417 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 418 | ENABLE_BITCODE = NO; 419 | INFOPLIST_FILE = Runner/Info.plist; 420 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 421 | PRODUCT_BUNDLE_IDENTIFIER = com.example.day35; 422 | PRODUCT_NAME = "$(TARGET_NAME)"; 423 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 424 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 425 | SWIFT_VERSION = 5.0; 426 | VERSIONING_SYSTEM = "apple-generic"; 427 | }; 428 | name = Debug; 429 | }; 430 | 97C147071CF9000F007C117D /* Release */ = { 431 | isa = XCBuildConfiguration; 432 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 433 | buildSettings = { 434 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 435 | CLANG_ENABLE_MODULES = YES; 436 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 437 | ENABLE_BITCODE = NO; 438 | INFOPLIST_FILE = Runner/Info.plist; 439 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 440 | PRODUCT_BUNDLE_IDENTIFIER = com.example.day35; 441 | PRODUCT_NAME = "$(TARGET_NAME)"; 442 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 443 | SWIFT_VERSION = 5.0; 444 | VERSIONING_SYSTEM = "apple-generic"; 445 | }; 446 | name = Release; 447 | }; 448 | /* End XCBuildConfiguration section */ 449 | 450 | /* Begin XCConfigurationList section */ 451 | 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = { 452 | isa = XCConfigurationList; 453 | buildConfigurations = ( 454 | 97C147031CF9000F007C117D /* Debug */, 455 | 97C147041CF9000F007C117D /* Release */, 456 | 249021D3217E4FDB00AE95B9 /* Profile */, 457 | ); 458 | defaultConfigurationIsVisible = 0; 459 | defaultConfigurationName = Release; 460 | }; 461 | 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = { 462 | isa = XCConfigurationList; 463 | buildConfigurations = ( 464 | 97C147061CF9000F007C117D /* Debug */, 465 | 97C147071CF9000F007C117D /* Release */, 466 | 249021D4217E4FDB00AE95B9 /* Profile */, 467 | ); 468 | defaultConfigurationIsVisible = 0; 469 | defaultConfigurationName = Release; 470 | }; 471 | /* End XCConfigurationList section */ 472 | }; 473 | rootObject = 97C146E61CF9000F007C117D /* Project object */; 474 | } 475 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 39 | 40 | 41 | 42 | 43 | 44 | 54 | 56 | 62 | 63 | 64 | 65 | 66 | 67 | 73 | 75 | 81 | 82 | 83 | 84 | 86 | 87 | 90 | 91 | 92 | -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/Runner/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | import Flutter 3 | 4 | @main 5 | @objc class AppDelegate: FlutterAppDelegate { 6 | override func application( 7 | _ application: UIApplication, 8 | didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? 9 | ) -> Bool { 10 | GeneratedPluginRegistrant.register(with: self) 11 | return super.application(application, didFinishLaunchingWithOptions: launchOptions) 12 | } 13 | } 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/afgprogrammer/Flutter-home-service-app/98e43dc76ba65bb03a0b4e95d0a6539164b8a894/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/afgprogrammer/Flutter-home-service-app/98e43dc76ba65bb03a0b4e95d0a6539164b8a894/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/afgprogrammer/Flutter-home-service-app/98e43dc76ba65bb03a0b4e95d0a6539164b8a894/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/afgprogrammer/Flutter-home-service-app/98e43dc76ba65bb03a0b4e95d0a6539164b8a894/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/afgprogrammer/Flutter-home-service-app/98e43dc76ba65bb03a0b4e95d0a6539164b8a894/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/afgprogrammer/Flutter-home-service-app/98e43dc76ba65bb03a0b4e95d0a6539164b8a894/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/afgprogrammer/Flutter-home-service-app/98e43dc76ba65bb03a0b4e95d0a6539164b8a894/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/afgprogrammer/Flutter-home-service-app/98e43dc76ba65bb03a0b4e95d0a6539164b8a894/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/afgprogrammer/Flutter-home-service-app/98e43dc76ba65bb03a0b4e95d0a6539164b8a894/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/afgprogrammer/Flutter-home-service-app/98e43dc76ba65bb03a0b4e95d0a6539164b8a894/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/afgprogrammer/Flutter-home-service-app/98e43dc76ba65bb03a0b4e95d0a6539164b8a894/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/afgprogrammer/Flutter-home-service-app/98e43dc76ba65bb03a0b4e95d0a6539164b8a894/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/afgprogrammer/Flutter-home-service-app/98e43dc76ba65bb03a0b4e95d0a6539164b8a894/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/afgprogrammer/Flutter-home-service-app/98e43dc76ba65bb03a0b4e95d0a6539164b8a894/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/afgprogrammer/Flutter-home-service-app/98e43dc76ba65bb03a0b4e95d0a6539164b8a894/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/afgprogrammer/Flutter-home-service-app/98e43dc76ba65bb03a0b4e95d0a6539164b8a894/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afgprogrammer/Flutter-home-service-app/98e43dc76ba65bb03a0b4e95d0a6539164b8a894/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afgprogrammer/Flutter-home-service-app/98e43dc76ba65bb03a0b4e95d0a6539164b8a894/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 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | day35 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 | CADisableMinimumFrameDurationOnPhone 45 | 46 | UIApplicationSupportsIndirectInputEvents 47 | 48 | 49 | 50 | -------------------------------------------------------------------------------- /ios/Runner/Runner-Bridging-Header.h: -------------------------------------------------------------------------------- 1 | #import "GeneratedPluginRegistrant.h" 2 | -------------------------------------------------------------------------------- /lib/animation/FadeAnimation.dart: -------------------------------------------------------------------------------- 1 | // import 'package:flutter/material.dart'; 2 | // import 'package:simple_animations/simple_animations.dart'; 3 | 4 | // class FadeAnimation extends StatelessWidget { 5 | // final double delay; 6 | // final Widget child; 7 | 8 | // FadeAnimation(this.delay, this.child); 9 | 10 | // @override 11 | // Widget build(BuildContext context) { 12 | // final tween = MultiTrackTween([ 13 | // Track("opacity").add(Duration(milliseconds: 500), Tween(begin: 0.0, end: 1.0)), 14 | // Track("translateY").add( 15 | // Duration(milliseconds: 500), Tween(begin: -30.0, end: 0.0), 16 | // curve: Curves.easeOut) 17 | // ]); 18 | 19 | // return ControlledAnimation( 20 | // delay: Duration(milliseconds: (500 * delay).round()), 21 | // duration: tween.duration, 22 | // tween: tween, 23 | // child: child, 24 | // builderWithChild: (context, child, animation) => Opacity( 25 | // opacity: (animation as Map)["opacity"], 26 | // child: Transform.translate( 27 | // offset: Offset(0, animation["translateY"]), 28 | // child: child 29 | // ), 30 | // ), 31 | // ); 32 | // } 33 | // } -------------------------------------------------------------------------------- /lib/main.dart: -------------------------------------------------------------------------------- 1 | import 'package:day35/pages/home.dart'; 2 | import 'package:day35/pages/select_service.dart'; 3 | import 'package:day35/pages/start.dart'; 4 | import 'package:flutter/material.dart'; 5 | 6 | void main () { 7 | runApp(MaterialApp( 8 | home: StartPage(), 9 | debugShowCheckedModeBanner: false, 10 | )); 11 | } 12 | -------------------------------------------------------------------------------- /lib/models/service.dart: -------------------------------------------------------------------------------- 1 | class Service { 2 | final String name; 3 | final String imageURL; 4 | 5 | Service(this.name, this.imageURL); 6 | } 7 | -------------------------------------------------------------------------------- /lib/pages/cleaning.dart: -------------------------------------------------------------------------------- 1 | import 'package:animate_do/animate_do.dart'; 2 | import 'package:day35/pages/date_time.dart'; 3 | import 'package:flutter/material.dart'; 4 | 5 | class CleaningPage extends StatefulWidget { 6 | const CleaningPage({ Key? key }) : super(key: key); 7 | 8 | @override 9 | _CleaningPageState createState() => _CleaningPageState(); 10 | } 11 | 12 | class _CleaningPageState extends State { 13 | // Rooms to clean 14 | List _rooms =[ 15 | ['Living Room', 'https://img.icons8.com/officel/2x/living-room.png', Colors.red, 0], 16 | ['Bedroom', 'https://img.icons8.com/fluency/2x/bedroom.png', Colors.orange, 1], 17 | ['Bathroom', 'https://img.icons8.com/color/2x/bath.png', Colors.blue, 1], 18 | ['Kitchen', 'https://img.icons8.com/dusk/2x/kitchen.png', Colors.purple, 0], 19 | ['Office', 'https://img.icons8.com/color/2x/office.png', Colors.green, 0] 20 | ]; 21 | 22 | List _selectedRooms = []; 23 | 24 | @override 25 | Widget build(BuildContext context) { 26 | return Scaffold( 27 | backgroundColor: Colors.white, 28 | floatingActionButton: _selectedRooms.length > 0 ? FloatingActionButton( 29 | onPressed: () { 30 | Navigator.push( 31 | context, 32 | MaterialPageRoute( 33 | builder: (context) => DateAndTime() 34 | ), 35 | ); 36 | }, 37 | child: Row( 38 | mainAxisAlignment: MainAxisAlignment.center, 39 | children: [ 40 | Text('${_selectedRooms.length}', style: TextStyle(fontSize: 16, fontWeight: FontWeight.bold)), 41 | SizedBox(width: 2), 42 | Icon(Icons.arrow_forward_ios, size: 18,), 43 | ], 44 | ), 45 | backgroundColor: Colors.blue, 46 | ) : null, 47 | body: NestedScrollView( 48 | headerSliverBuilder: (BuildContext context, bool innerBoxIsScrolled) { 49 | return [ 50 | SliverToBoxAdapter( 51 | child: FadeInUp(child: Padding( 52 | padding: EdgeInsets.only(top: 120.0, right: 20.0, left: 20.0), 53 | child: Text( 54 | 'Where do you want \ncleaned?', 55 | style: TextStyle( 56 | fontSize: 35, 57 | color: Colors.grey.shade900, 58 | fontWeight: FontWeight.bold, 59 | ), 60 | ), 61 | ), 62 | )) 63 | ]; 64 | }, 65 | body: Padding( 66 | padding: EdgeInsets.all(20.0), 67 | child: ListView.builder( 68 | physics: NeverScrollableScrollPhysics(), 69 | itemCount: _rooms.length, 70 | itemBuilder: (BuildContext context, int index) { 71 | return FadeInUp( 72 | delay: Duration(milliseconds: 500 * index), 73 | duration: Duration(milliseconds: 500), 74 | child: room(_rooms[index], index)); 75 | } 76 | ), 77 | ), 78 | ) 79 | ); 80 | } 81 | 82 | room(List room, int index) { 83 | return GestureDetector( 84 | onTap: () { 85 | setState(() { 86 | if (_selectedRooms.contains(index)) 87 | _selectedRooms.remove(index); 88 | else 89 | _selectedRooms.add(index); 90 | }); 91 | }, 92 | child: Container( 93 | padding: EdgeInsets.symmetric(horizontal: 20.0, vertical: 10), 94 | margin: EdgeInsets.only(bottom: 20.0), 95 | decoration: BoxDecoration( 96 | borderRadius: BorderRadius.circular(10.0), 97 | color: _selectedRooms.contains(index) ? room[2].shade50.withOpacity(0.5) : Colors.grey.shade100, 98 | ), 99 | child: Column( 100 | mainAxisAlignment: MainAxisAlignment.start, 101 | crossAxisAlignment: CrossAxisAlignment.start, 102 | children: [ 103 | Row( 104 | children: [ 105 | Row( 106 | children: [ 107 | Image.network(room[1], width: 35, height: 35,), 108 | SizedBox(width: 10.0,), 109 | Text(room[0], style: TextStyle(fontSize: 18, fontWeight: FontWeight.w600),), 110 | ], 111 | ), 112 | Spacer(), 113 | _selectedRooms.contains(index) ? 114 | Container( 115 | padding: EdgeInsets.all(5.0), 116 | decoration: BoxDecoration( 117 | color: Colors.greenAccent.shade100.withOpacity(0.3), 118 | borderRadius: BorderRadius.circular(10.0), 119 | ), 120 | child: Icon(Icons.check, color: Colors.green, size: 20,) 121 | ) : 122 | SizedBox() 123 | ], 124 | ), 125 | (_selectedRooms.contains(index) && room[3] >= 1) ? 126 | Container( 127 | child: Column( 128 | crossAxisAlignment: CrossAxisAlignment.start, 129 | children: [ 130 | SizedBox(height: 20.0,), 131 | Text("How many ${room[0]}s?", style: TextStyle(fontSize: 15),), 132 | SizedBox(height: 10.0,), 133 | Container( 134 | height: 45, 135 | child: ListView.builder( 136 | scrollDirection: Axis.horizontal, 137 | itemCount: 4, 138 | itemBuilder: (BuildContext context, int index) { 139 | return GestureDetector( 140 | onTap: () { 141 | setState(() { 142 | room[3] = index + 1; 143 | }); 144 | }, 145 | child: Container( 146 | margin: EdgeInsets.only(right: 10.0), 147 | padding: EdgeInsets.all(10.0), 148 | width: 50, 149 | decoration: BoxDecoration( 150 | borderRadius: BorderRadius.circular(10.0), 151 | color: room[3] == index + 1 ? room[2].withOpacity(0.5) : room[2].shade200.withOpacity(0.5), 152 | ), 153 | child: Center(child: Text((index + 1).toString() , style: TextStyle(fontSize: 22, color: Colors.white),)), 154 | ), 155 | ); 156 | } 157 | ), 158 | ) 159 | ], 160 | ), 161 | ) : SizedBox() 162 | ], 163 | ) 164 | ), 165 | ); 166 | } 167 | } -------------------------------------------------------------------------------- /lib/pages/date_time.dart: -------------------------------------------------------------------------------- 1 | import 'package:animate_do/animate_do.dart'; 2 | import 'package:day35/pages/home.dart'; 3 | import 'package:flutter/material.dart'; 4 | import 'package:scrollable_positioned_list/scrollable_positioned_list.dart'; 5 | 6 | class DateAndTime extends StatefulWidget { 7 | const DateAndTime({ Key? key }) : super(key: key); 8 | 9 | @override 10 | _DateAndTimeState createState() => _DateAndTimeState(); 11 | } 12 | 13 | class _DateAndTimeState extends State { 14 | int _selectedDay = 2; 15 | int _selectedRepeat = 0; 16 | String _selectedHour = '13:30'; 17 | List _selectedExteraCleaning = []; 18 | 19 | ItemScrollController _scrollController = ItemScrollController(); 20 | 21 | final List _days = [ 22 | [1, 'Fri'], 23 | [2, 'Sat'], 24 | [3, 'Sun'], 25 | [4, 'Mon'], 26 | [5, 'Tue'], 27 | [6, 'Wed'], 28 | [7, 'Thu'], 29 | [8, 'Fri'], 30 | [9, 'Sat'], 31 | [10, 'Sun'], 32 | [11, 'Mon'], 33 | [12, 'Tue'], 34 | [13, 'Wed'], 35 | [14, 'Thu'], 36 | [15, 'Fri'], 37 | [16, 'Sat'], 38 | [17, 'Sun'], 39 | [18, 'Mon'], 40 | [19, 'Tue'], 41 | [20, 'Wed'], 42 | [21, 'Thu'], 43 | [22, 'Fri'], 44 | [23, 'Sat'], 45 | [24, 'Sun'], 46 | [25, 'Mon'], 47 | [26, 'Tue'], 48 | [27, 'Wed'], 49 | [28, 'Thu'], 50 | [29, 'Fri'], 51 | [30, 'Sat'], 52 | [31, 'Sun'] 53 | ]; 54 | 55 | final List _hours = [ 56 | '01:00', 57 | '01:30', 58 | '02:00', 59 | '02:30', 60 | '03:00', 61 | '03:30', 62 | '04:00', 63 | '04:30', 64 | '05:00', 65 | '05:30', 66 | '06:00', 67 | '06:30', 68 | '07:00', 69 | '07:30', 70 | '08:00', 71 | '08:30', 72 | '09:00', 73 | '09:30', 74 | '10:00', 75 | '10:30', 76 | '11:00', 77 | '11:30', 78 | '12:00', 79 | '12:30', 80 | '13:00', 81 | '13:30', 82 | '14:00', 83 | '14:30', 84 | '15:00', 85 | '15:30', 86 | '16:00', 87 | '16:30', 88 | '17:00', 89 | '17:30', 90 | '18:00', 91 | '18:30', 92 | '19:00', 93 | '19:30', 94 | '20:00', 95 | '20:30', 96 | '21:00', 97 | '21:30', 98 | '22:00', 99 | '22:30', 100 | '23:00', 101 | '23:30', 102 | ]; 103 | 104 | final List _repeat = [ 105 | 'No repeat', 106 | 'Every day', 107 | 'Every week', 108 | 'Every month' 109 | ]; 110 | 111 | final List _exteraCleaning = [ 112 | ['Washing', 'https://img.icons8.com/office/2x/washing-machine.png', '10'], 113 | ['Fridge', 'https://img.icons8.com/cotton/2x/fridge.png', '8'], 114 | ['Oven', 'https://img.icons8.com/external-becris-lineal-color-becris/2x/external-oven-kitchen-cooking-becris-lineal-color-becris.png', '8'], 115 | ['Vehicle', 'https://img.icons8.com/external-vitaliy-gorbachev-blue-vitaly-gorbachev/2x/external-bycicle-carnival-vitaliy-gorbachev-blue-vitaly-gorbachev.png', '20'], 116 | ['Windows', 'https://img.icons8.com/external-kiranshastry-lineal-color-kiranshastry/2x/external-window-interiors-kiranshastry-lineal-color-kiranshastry-1.png', '20'], 117 | ]; 118 | 119 | @override 120 | void initState() { 121 | Future.delayed(Duration(milliseconds: 500), () { 122 | _scrollController.scrollTo( 123 | index: 24, 124 | duration: Duration(seconds: 3), 125 | curve: Curves.easeInOut, 126 | ); 127 | }); 128 | 129 | super.initState(); 130 | } 131 | 132 | @override 133 | Widget build(BuildContext context) { 134 | return Scaffold( 135 | backgroundColor: Colors.white, 136 | floatingActionButton: FloatingActionButton( 137 | onPressed: () { 138 | Navigator.push( 139 | context, 140 | MaterialPageRoute( 141 | builder: (context) => HomePage(), 142 | ), 143 | ); 144 | }, 145 | child: Icon(Icons.arrow_forward_ios), 146 | ), 147 | body: NestedScrollView( 148 | headerSliverBuilder: (BuildContext context, bool innerBoxIsScrolled) { 149 | return [ 150 | SliverToBoxAdapter( 151 | child: FadeInUp(child: Padding( 152 | padding: EdgeInsets.only(top: 120.0, right: 20.0, left: 20.0), 153 | child: Text( 154 | 'Select Date \nand Time', 155 | style: TextStyle( 156 | fontSize: 35, 157 | color: Colors.grey.shade900, 158 | fontWeight: FontWeight.bold, 159 | ), 160 | ), 161 | ), 162 | )) 163 | ]; 164 | }, 165 | body: Padding( 166 | padding: EdgeInsets.all(20.0), 167 | child: Column( 168 | crossAxisAlignment: CrossAxisAlignment.start, 169 | children: [ 170 | SizedBox(height: 30,), 171 | FadeInUp(child: Row( 172 | children: [ 173 | Text("October 2021"), 174 | Spacer(), 175 | IconButton( 176 | padding: EdgeInsets.all(0), 177 | onPressed: () {}, 178 | icon: Icon(Icons.arrow_drop_down_circle_outlined, color: Colors.grey.shade700,), 179 | ) 180 | ], 181 | )), 182 | Container( 183 | height: 80, 184 | decoration: BoxDecoration( 185 | borderRadius: BorderRadius.circular(10), 186 | color: Colors.white, 187 | border: Border.all(width: 1.5, color: Colors.grey.shade200), 188 | ), 189 | child: ListView.builder( 190 | scrollDirection: Axis.horizontal, 191 | itemCount: _days.length, 192 | itemBuilder: (BuildContext context, int index) { 193 | return FadeInUp( 194 | delay: Duration(milliseconds: 500 * index), 195 | child: GestureDetector( 196 | onTap: () { 197 | setState(() { 198 | _selectedDay = _days[index][0]; 199 | }); 200 | }, 201 | child: AnimatedContainer( 202 | duration: Duration(milliseconds: 300), 203 | width: 62, 204 | decoration: BoxDecoration( 205 | borderRadius: BorderRadius.circular(5), 206 | color: _selectedDay == _days[index][0] ? Colors.blue.shade100.withOpacity(0.5) : Colors.blue.withOpacity(0), 207 | border: Border.all( 208 | color: _selectedDay == _days[index][0] ? Colors.blue : Colors.white.withOpacity(0), 209 | width: 1.5, 210 | ), 211 | ), 212 | child: Column( 213 | mainAxisAlignment: MainAxisAlignment.center, 214 | children: [ 215 | Text(_days[index][0].toString(), style: TextStyle(fontSize: 20, fontWeight: FontWeight.bold),), 216 | SizedBox(height: 10,), 217 | Text(_days[index][1], style: TextStyle(fontSize: 16),), 218 | ], 219 | ), 220 | ), 221 | )); 222 | } 223 | ), 224 | ), 225 | SizedBox(height: 10,), 226 | FadeInUp(child: Container( 227 | height: 60, 228 | decoration: BoxDecoration( 229 | borderRadius: BorderRadius.circular(10), 230 | color: Colors.white, 231 | border: Border.all(width: 1.5, color: Colors.grey.shade200), 232 | ), 233 | child: ScrollablePositionedList.builder( 234 | itemScrollController: _scrollController, 235 | scrollDirection: Axis.horizontal, 236 | itemCount: _hours.length, 237 | itemBuilder: (BuildContext context, int index) { 238 | return GestureDetector( 239 | onTap: () { 240 | setState(() { 241 | _selectedHour = _hours[index]; 242 | }); 243 | }, 244 | child: AnimatedContainer( 245 | duration: Duration(milliseconds: 300), 246 | width: 100, 247 | decoration: BoxDecoration( 248 | borderRadius: BorderRadius.circular(5), 249 | color: _selectedHour == _hours[index] ? Colors.orange.shade100.withOpacity(0.5) : Colors.orange.withOpacity(0), 250 | border: Border.all( 251 | color: _selectedHour == _hours[index] ? Colors.orange : Colors.white.withOpacity(0), 252 | width: 1.5, 253 | ), 254 | ), 255 | child: Column( 256 | mainAxisAlignment: MainAxisAlignment.center, 257 | children: [ 258 | Text(_hours[index], style: TextStyle(fontSize: 20, fontWeight: FontWeight.w500),), 259 | ], 260 | ), 261 | ), 262 | ); 263 | } 264 | ), 265 | )), 266 | SizedBox(height: 40,), 267 | FadeInUp(child: Text("Repeat", style: TextStyle(fontSize: 18, fontWeight: FontWeight.w600),)), 268 | SizedBox(height: 10,), 269 | Container( 270 | height: 50, 271 | decoration: BoxDecoration( 272 | borderRadius: BorderRadius.circular(10), 273 | color: Colors.white, 274 | ), 275 | child: ListView.builder( 276 | scrollDirection: Axis.horizontal, 277 | itemCount: _repeat.length, 278 | itemBuilder: (context, index) { 279 | return GestureDetector( 280 | onTap: () { 281 | setState(() { 282 | _selectedRepeat = index; 283 | }); 284 | }, 285 | child: FadeInUp( 286 | delay: Duration(milliseconds: 500 * index), 287 | child: Container( 288 | padding: EdgeInsets.symmetric(horizontal: 20), 289 | decoration: BoxDecoration( 290 | borderRadius: BorderRadius.circular(15), 291 | color: _selectedRepeat == index ? Colors.blue.shade400 : Colors.grey.shade100, 292 | ), 293 | margin: EdgeInsets.only(right: 20), 294 | child: Center(child: Text(_repeat[index], 295 | style: TextStyle(fontSize: 18, color: _selectedRepeat == index ? Colors.white : Colors.grey.shade800),) 296 | ), 297 | )), 298 | ); 299 | }, 300 | ) 301 | ), 302 | SizedBox(height: 40,), 303 | FadeInUp(child: Text("Additional Service", style: TextStyle(fontSize: 18, fontWeight: FontWeight.w600),)), 304 | SizedBox(height: 10,), 305 | Container( 306 | height: 120, 307 | decoration: BoxDecoration( 308 | borderRadius: BorderRadius.circular(10), 309 | color: Colors.white, 310 | ), 311 | child: ListView.builder( 312 | scrollDirection: Axis.horizontal, 313 | itemCount: _exteraCleaning.length, 314 | itemBuilder: (context, index) { 315 | return GestureDetector( 316 | onTap: () { 317 | setState(() { 318 | if (_selectedExteraCleaning.contains(index)) { 319 | _selectedExteraCleaning.remove(index); 320 | } else { 321 | _selectedExteraCleaning.add(index); 322 | } 323 | }); 324 | }, 325 | child: FadeInUp( 326 | delay: Duration(milliseconds: 500 * index), 327 | child: Container( 328 | width: 110, 329 | decoration: BoxDecoration( 330 | borderRadius: BorderRadius.circular(15), 331 | color: _selectedExteraCleaning.contains(index) ? Colors.blue.shade400 : Colors.transparent, 332 | ), 333 | margin: EdgeInsets.only(right: 20), 334 | child: Column( 335 | mainAxisAlignment: MainAxisAlignment.center, 336 | crossAxisAlignment: CrossAxisAlignment.center, 337 | children: [ 338 | Image.network(_exteraCleaning[index][1], height: 40,), 339 | SizedBox(height: 10,), 340 | Text(_exteraCleaning[index][0], style: TextStyle(fontSize: 15, fontWeight: FontWeight.w500, color: _selectedExteraCleaning.contains(index) ? Colors.white : Colors.grey.shade800),), 341 | SizedBox(height: 5,), 342 | Text("+${_exteraCleaning[index][2]}\$", style: TextStyle(color: Colors.black),) 343 | ], 344 | ) 345 | )) 346 | ); 347 | }, 348 | ) 349 | ), 350 | ], 351 | ), 352 | ), 353 | ) 354 | ); 355 | } 356 | } -------------------------------------------------------------------------------- /lib/pages/home.dart: -------------------------------------------------------------------------------- 1 | import 'package:animate_do/animate_do.dart'; 2 | import 'package:day35/models/service.dart'; 3 | import 'package:flutter/material.dart'; 4 | 5 | class HomePage extends StatefulWidget { 6 | const HomePage({ Key? key }) : super(key: key); 7 | 8 | @override 9 | _HomePageState createState() => _HomePageState(); 10 | } 11 | 12 | class _HomePageState extends State { 13 | List services = [ 14 | Service('Cleaning', 'https://img.icons8.com/external-vitaliy-gorbachev-flat-vitaly-gorbachev/2x/external-cleaning-labour-day-vitaliy-gorbachev-flat-vitaly-gorbachev.png'), 15 | Service('Plumber', 'https://img.icons8.com/external-vitaliy-gorbachev-flat-vitaly-gorbachev/2x/external-plumber-labour-day-vitaliy-gorbachev-flat-vitaly-gorbachev.png'), 16 | Service('Electrician', 'https://img.icons8.com/external-wanicon-flat-wanicon/2x/external-multimeter-car-service-wanicon-flat-wanicon.png'), 17 | Service('Painter', 'https://img.icons8.com/external-itim2101-flat-itim2101/2x/external-painter-male-occupation-avatar-itim2101-flat-itim2101.png'), 18 | Service('Carpenter', 'https://img.icons8.com/fluency/2x/drill.png'), 19 | Service('Gardener', 'https://img.icons8.com/external-itim2101-flat-itim2101/2x/external-gardener-male-occupation-avatar-itim2101-flat-itim2101.png'), 20 | ]; 21 | 22 | List workers = [ 23 | ['Alfredo Schafer', 'Plumber', 'https://images.unsplash.com/photo-1506803682981-6e718a9dd3ee?ixlib=rb-0.3.5&q=80&fm=jpg&crop=faces&fit=crop&h=200&w=200&s=c3a31eeb7efb4d533647e3cad1de9257', 4.8], 24 | ['Michelle Baldwin', 'Cleaner', 'https://uifaces.co/our-content/donated/oLkb60i_.jpg', 4.6], 25 | ['Brenon Kalu', 'Driver', 'https://uifaces.co/our-content/donated/VUMBKh1U.jpg', 4.4] 26 | ]; 27 | 28 | @override 29 | Widget build(BuildContext context) { 30 | return Scaffold( 31 | appBar: AppBar( 32 | backgroundColor: Colors.transparent, 33 | title: Text('Dashboard', style: TextStyle(color: Colors.black),), 34 | elevation: 0, 35 | actions: [ 36 | IconButton( 37 | onPressed: () {}, 38 | icon: Icon(Icons.notifications_none, color: Colors.grey.shade700, size: 30,), 39 | ) 40 | ], 41 | leading: GestureDetector( 42 | onTap: () { 43 | Navigator.pushNamed(context, '/login'); 44 | }, 45 | child: Padding( 46 | padding: const EdgeInsets.all(10.0), 47 | child: CircleAvatar( 48 | backgroundImage: NetworkImage('https://uifaces.co/our-content/donated/NY9hnAbp.jpg'), 49 | ), 50 | ) 51 | ), 52 | ), 53 | body: SingleChildScrollView( 54 | child: Column( 55 | children: [ 56 | FadeInUp(child: Padding( 57 | padding: EdgeInsets.only(left: 20.0, top: 10.0, right: 10.0), 58 | child: Row( 59 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 60 | children: [ 61 | Text('Recent', style: TextStyle(fontSize: 20, fontWeight: FontWeight.bold),), 62 | TextButton( 63 | onPressed: () {}, 64 | child: Text('View all',) 65 | ) 66 | ], 67 | ), 68 | )), 69 | FadeInUp(child: Padding( 70 | padding: EdgeInsets.symmetric(horizontal: 20.0), 71 | child: Container( 72 | padding: EdgeInsets.all(20.0), 73 | height: 180, 74 | decoration: BoxDecoration( 75 | color: Colors.white, 76 | borderRadius: BorderRadius.circular(20.0), 77 | boxShadow: [ 78 | BoxShadow( 79 | color: Colors.grey.shade200, 80 | offset: Offset(0, 4), 81 | blurRadius: 10.0, 82 | ), 83 | ], 84 | ), 85 | child: Column( 86 | mainAxisAlignment: MainAxisAlignment.center, 87 | children: [ 88 | Row( 89 | crossAxisAlignment: CrossAxisAlignment.start, 90 | children: [ 91 | ClipRRect( 92 | borderRadius: BorderRadius.circular(15.0), 93 | child: Image.network('https://images.pexels.com/photos/355164/pexels-photo-355164.jpeg?crop=faces&fit=crop&h=200&w=200&auto=compress&cs=tinysrgb', width: 70,) 94 | ), 95 | SizedBox(width: 15,), 96 | Column( 97 | crossAxisAlignment: CrossAxisAlignment.start, 98 | children: [ 99 | Text("Isabel Kirkland", style: TextStyle(color: Colors.black, fontSize: 20, fontWeight: FontWeight.bold),), 100 | SizedBox(height: 5,), 101 | Text("Cleaner", style: TextStyle(color: Colors.black.withOpacity(0.7), fontSize: 18),), 102 | ], 103 | ) 104 | ], 105 | ), 106 | SizedBox(height: 20,), 107 | Container( 108 | height: 50, 109 | decoration: BoxDecoration( 110 | color: Colors.blue, 111 | borderRadius: BorderRadius.circular(15.0) 112 | ), 113 | child: Center(child: Text('View Profile', style: TextStyle(color: Colors.white, fontSize: 18),)), 114 | ) 115 | ], 116 | ), 117 | ), 118 | )), 119 | SizedBox(height: 20,), 120 | FadeInUp(child: Padding( 121 | padding: EdgeInsets.only(left: 20.0, right: 10.0), 122 | child: Row( 123 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 124 | children: [ 125 | Text('Categories', style: TextStyle(fontSize: 20, fontWeight: FontWeight.bold),), 126 | TextButton( 127 | onPressed: () {}, 128 | child: Text('View all',) 129 | ) 130 | ], 131 | ), 132 | )), 133 | Container( 134 | padding: EdgeInsets.symmetric(horizontal: 20, vertical: 10), 135 | height: 300, 136 | child: GridView.builder( 137 | gridDelegate: SliverGridDelegateWithFixedCrossAxisCount( 138 | crossAxisCount: 3, 139 | childAspectRatio: 1.0, 140 | crossAxisSpacing: 10.0, 141 | mainAxisSpacing: 10.0, 142 | ), 143 | physics: NeverScrollableScrollPhysics(), 144 | itemCount: services.length, 145 | itemBuilder: (BuildContext context, int index) { 146 | return FadeInUp( 147 | delay: Duration(milliseconds: 500 * index), 148 | child: serviceContainer(services[index].imageURL, services[index].name, index)); 149 | } 150 | ), 151 | ), 152 | SizedBox(height: 20,), 153 | FadeInUp(child: Padding( 154 | padding: EdgeInsets.only(left: 20.0, right: 10.0), 155 | child: Row( 156 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 157 | children: [ 158 | Text('Top Rated', style: TextStyle(fontSize: 20, fontWeight: FontWeight.bold),), 159 | TextButton( 160 | onPressed: () {}, 161 | child: Text('View all',) 162 | ) 163 | ], 164 | ), 165 | )), 166 | Container( 167 | padding: EdgeInsets.symmetric(horizontal: 20, vertical: 10), 168 | height: 120, 169 | child: ListView.builder( 170 | scrollDirection: Axis.horizontal, 171 | itemCount: workers.length, 172 | itemBuilder: (BuildContext context, int index) { 173 | return FadeInUp( 174 | delay: Duration(milliseconds: 500 * index), 175 | child: workerContainer(workers[index][0], workers[index][1], workers[index][2], workers[index][3])); 176 | } 177 | ), 178 | ), 179 | SizedBox(height: 150,), 180 | ] 181 | ) 182 | ) 183 | ); 184 | } 185 | 186 | serviceContainer(String image, String name, int index) { 187 | return GestureDetector( 188 | child: Container( 189 | margin: EdgeInsets.only(right: 20), 190 | padding: EdgeInsets.all(10.0), 191 | decoration: BoxDecoration( 192 | color: Colors.grey.shade100, 193 | border: Border.all( 194 | color: Colors.blue.withOpacity(0), 195 | width: 2.0, 196 | ), 197 | borderRadius: BorderRadius.circular(20.0), 198 | ), 199 | child: Column( 200 | mainAxisAlignment: MainAxisAlignment.center, 201 | children: [ 202 | Image.network(image, height: 45), 203 | SizedBox(height: 20,), 204 | Text(name, style: TextStyle(fontSize: 15),) 205 | ] 206 | ), 207 | ), 208 | ); 209 | } 210 | 211 | workerContainer(String name, String job, String image, double rating) { 212 | return GestureDetector( 213 | child: AspectRatio( 214 | aspectRatio: 3.5, 215 | child: Container( 216 | margin: EdgeInsets.only(right: 20), 217 | padding: EdgeInsets.symmetric(vertical: 15.0, horizontal: 15.0), 218 | decoration: BoxDecoration( 219 | color: Colors.white, 220 | border: Border.all( 221 | color: Colors.grey.shade200, 222 | width: 2.0, 223 | ), 224 | borderRadius: BorderRadius.circular(20.0), 225 | ), 226 | child: Row( 227 | crossAxisAlignment: CrossAxisAlignment.center, 228 | children: [ 229 | ClipRRect( 230 | borderRadius: BorderRadius.circular(15.0), 231 | child: Image.network(image) 232 | ), 233 | SizedBox(width: 20,), 234 | Column( 235 | crossAxisAlignment: CrossAxisAlignment.start, 236 | mainAxisAlignment: MainAxisAlignment.center, 237 | children: [ 238 | Text(name, style: TextStyle(fontSize: 16, fontWeight: FontWeight.bold),), 239 | SizedBox(height: 5,), 240 | Text(job, style: TextStyle(fontSize: 15),) 241 | ], 242 | ), 243 | Spacer(), 244 | Column( 245 | crossAxisAlignment: CrossAxisAlignment.center, 246 | mainAxisAlignment: MainAxisAlignment.center, 247 | children: [ 248 | Text(rating.toString(), style: TextStyle(fontSize: 16, fontWeight: FontWeight.bold),), 249 | SizedBox(height: 5,), 250 | Icon(Icons.star, color: Colors.orange, size: 20,) 251 | ], 252 | ) 253 | ] 254 | ), 255 | ), 256 | ), 257 | ); 258 | } 259 | } -------------------------------------------------------------------------------- /lib/pages/select_service.dart: -------------------------------------------------------------------------------- 1 | import 'package:animate_do/animate_do.dart'; 2 | import 'package:day35/models/service.dart'; 3 | import 'package:day35/pages/cleaning.dart'; 4 | import 'package:flutter/material.dart'; 5 | 6 | class SelectService extends StatefulWidget { 7 | const SelectService({ Key? key }) : super(key: key); 8 | 9 | @override 10 | _SelectServiceState createState() => _SelectServiceState(); 11 | } 12 | 13 | class _SelectServiceState extends State { 14 | List services = [ 15 | Service('Cleaning', 'https://img.icons8.com/external-vitaliy-gorbachev-flat-vitaly-gorbachev/2x/external-cleaning-labour-day-vitaliy-gorbachev-flat-vitaly-gorbachev.png'), 16 | Service('Plumber', 'https://img.icons8.com/external-vitaliy-gorbachev-flat-vitaly-gorbachev/2x/external-plumber-labour-day-vitaliy-gorbachev-flat-vitaly-gorbachev.png'), 17 | Service('Electrician', 'https://img.icons8.com/external-wanicon-flat-wanicon/2x/external-multimeter-car-service-wanicon-flat-wanicon.png'), 18 | Service('Painter', 'https://img.icons8.com/external-itim2101-flat-itim2101/2x/external-painter-male-occupation-avatar-itim2101-flat-itim2101.png'), 19 | Service('Carpenter', 'https://img.icons8.com/fluency/2x/drill.png'), 20 | Service('Gardener', 'https://img.icons8.com/external-itim2101-flat-itim2101/2x/external-gardener-male-occupation-avatar-itim2101-flat-itim2101.png'), 21 | Service('Tailor', 'https://img.icons8.com/fluency/2x/sewing-machine.png'), 22 | Service('Maid', 'https://img.icons8.com/color/2x/housekeeper-female.png'), 23 | Service('Driver', 'https://img.icons8.com/external-sbts2018-lineal-color-sbts2018/2x/external-driver-women-profession-sbts2018-lineal-color-sbts2018.png'), 24 | Service('Cook', 'https://img.icons8.com/external-wanicon-flat-wanicon/2x/external-cooking-daily-routine-wanicon-flat-wanicon.png'), 25 | ]; 26 | 27 | int selectedService = -1; 28 | 29 | @override 30 | Widget build(BuildContext context) { 31 | return Scaffold( 32 | backgroundColor: Colors.white, 33 | floatingActionButton: selectedService >= 0 ? FloatingActionButton( 34 | onPressed: () { 35 | Navigator.push( 36 | context, 37 | MaterialPageRoute( 38 | builder: (context) => CleaningPage(), 39 | ), 40 | ); 41 | }, 42 | child: Icon(Icons.arrow_forward_ios, size: 20,), 43 | backgroundColor: Colors.blue, 44 | ) : null, 45 | body: NestedScrollView( 46 | headerSliverBuilder: (BuildContext context, bool innerBoxIsScrolled) { 47 | return [ 48 | SliverToBoxAdapter( 49 | child: FadeInUp(child: Padding( 50 | padding: EdgeInsets.only(top: 120.0, right: 20.0, left: 20.0), 51 | child: Text( 52 | 'Which service \ndo you need?', 53 | style: TextStyle( 54 | fontSize: 40, 55 | color: Colors.grey.shade900, 56 | fontWeight: FontWeight.bold, 57 | ), 58 | ), 59 | ), 60 | )) 61 | ]; 62 | }, 63 | body: Padding( 64 | padding: EdgeInsets.all(20.0), 65 | child: Column( 66 | crossAxisAlignment: CrossAxisAlignment.start, 67 | children: [ 68 | Expanded( 69 | child: GridView.builder( 70 | gridDelegate: SliverGridDelegateWithFixedCrossAxisCount( 71 | crossAxisCount: 2, 72 | childAspectRatio: 1.0, 73 | crossAxisSpacing: 20.0, 74 | mainAxisSpacing: 20.0, 75 | ), 76 | physics: NeverScrollableScrollPhysics(), 77 | itemCount: services.length, 78 | itemBuilder: (BuildContext context, int index) { 79 | return FadeInUp( 80 | delay: Duration(milliseconds: 500 * index), 81 | child: serviceContainer(services[index].imageURL, services[index].name, index)); 82 | } 83 | ), 84 | ), 85 | ] 86 | ), 87 | ), 88 | ) 89 | ); 90 | } 91 | 92 | serviceContainer(String image, String name, int index) { 93 | return GestureDetector( 94 | onTap: () { 95 | setState(() { 96 | if (selectedService == index) 97 | selectedService = -1; 98 | else 99 | selectedService = index; 100 | }); 101 | }, 102 | child: AnimatedContainer( 103 | duration: Duration(milliseconds: 300), 104 | padding: EdgeInsets.all(10.0), 105 | decoration: BoxDecoration( 106 | color: selectedService == index ? Colors.blue.shade50 : Colors.grey.shade100, 107 | border: Border.all( 108 | color: selectedService == index ? Colors.blue : Colors.blue.withOpacity(0), 109 | width: 2.0, 110 | ), 111 | borderRadius: BorderRadius.circular(20.0), 112 | ), 113 | child: Column( 114 | mainAxisAlignment: MainAxisAlignment.center, 115 | children: [ 116 | Image.network(image, height: 80), 117 | SizedBox(height: 20,), 118 | Text(name, style: TextStyle(fontSize: 20),) 119 | ] 120 | ), 121 | ), 122 | ); 123 | } 124 | } 125 | -------------------------------------------------------------------------------- /lib/pages/start.dart: -------------------------------------------------------------------------------- 1 | import 'dart:async'; 2 | import 'dart:math'; 3 | 4 | import 'package:animate_do/animate_do.dart'; 5 | import 'package:day35/models/service.dart'; 6 | import 'package:day35/pages/select_service.dart'; 7 | import 'package:flutter/material.dart'; 8 | 9 | class StartPage extends StatefulWidget { 10 | const StartPage({ Key? key }) : super(key: key); 11 | 12 | @override 13 | _StartPageState createState() => _StartPageState(); 14 | } 15 | 16 | class _StartPageState extends State { 17 | List services = [ 18 | Service('Cleaning', 'https://img.icons8.com/external-vitaliy-gorbachev-flat-vitaly-gorbachev/2x/external-cleaning-labour-day-vitaliy-gorbachev-flat-vitaly-gorbachev.png'), 19 | Service('Plumber', 'https://img.icons8.com/external-vitaliy-gorbachev-flat-vitaly-gorbachev/2x/external-plumber-labour-day-vitaliy-gorbachev-flat-vitaly-gorbachev.png'), 20 | Service('Electrician', 'https://img.icons8.com/external-wanicon-flat-wanicon/2x/external-multimeter-car-service-wanicon-flat-wanicon.png'), 21 | Service('Painter', 'https://img.icons8.com/external-itim2101-flat-itim2101/2x/external-painter-male-occupation-avatar-itim2101-flat-itim2101.png'), 22 | Service('Carpenter', 'https://img.icons8.com/fluency/2x/drill.png'), 23 | Service('Gardener', 'https://img.icons8.com/external-itim2101-flat-itim2101/2x/external-gardener-male-occupation-avatar-itim2101-flat-itim2101.png'), 24 | Service('Tailor', 'https://img.icons8.com/fluency/2x/sewing-machine.png'), 25 | Service('Maid', 'https://img.icons8.com/color/2x/housekeeper-female.png'), 26 | Service('Driver', 'https://img.icons8.com/external-sbts2018-lineal-color-sbts2018/2x/external-driver-women-profession-sbts2018-lineal-color-sbts2018.png'), 27 | ]; 28 | 29 | int selectedService = 4; 30 | 31 | @override 32 | void initState() { 33 | // Randomly select from service list every 2 seconds 34 | Timer.periodic(Duration(seconds: 2), (timer) { 35 | setState(() { 36 | selectedService = Random().nextInt(services.length); 37 | }); 38 | }); 39 | 40 | super.initState(); 41 | } 42 | 43 | @override 44 | Widget build(BuildContext context) { 45 | return Scaffold( 46 | backgroundColor: Colors.grey.shade50, 47 | body: Column( 48 | children: [ 49 | SizedBox(height: 100,), 50 | Container( 51 | padding: EdgeInsets.symmetric(horizontal: 50), 52 | height: MediaQuery.of(context).size.height * 0.45, 53 | width: MediaQuery.of(context).size.width, 54 | child: GridView.builder( 55 | gridDelegate: SliverGridDelegateWithFixedCrossAxisCount( 56 | crossAxisCount: 3, 57 | childAspectRatio: 1.0, 58 | crossAxisSpacing: 8.0, 59 | mainAxisSpacing: 8.0, 60 | ), 61 | physics: NeverScrollableScrollPhysics(), 62 | itemCount: services.length, 63 | itemBuilder: (BuildContext context, int index) { 64 | return FadeInUp( 65 | delay: Duration(milliseconds: index * 100), 66 | child: serviceContainer(services[index].imageURL, services[index].name, index)); 67 | } 68 | ), 69 | ), 70 | Expanded( 71 | child: Container( 72 | decoration: BoxDecoration( 73 | color: Colors.white, 74 | borderRadius: BorderRadius.only( 75 | topLeft: Radius.circular(80), 76 | topRight: Radius.circular(80), 77 | ) 78 | ), 79 | child: Column( 80 | children: [ 81 | SizedBox(height: 50,), 82 | FadeInUp(child: Container( 83 | padding: EdgeInsets.symmetric(horizontal: 40), 84 | child: Center( 85 | child: Text( 86 | 'Easy, reliable way to take \ncare of your home', 87 | textAlign: TextAlign.center, 88 | style: TextStyle( 89 | fontSize: 24, 90 | fontWeight: FontWeight.bold, 91 | color: Colors.grey.shade900, 92 | ), 93 | ), 94 | ), 95 | )), 96 | SizedBox(height: 20,), 97 | FadeInUp(child: Container( 98 | padding: EdgeInsets.symmetric(horizontal: 60), 99 | child: Center( 100 | child: Text( 101 | 'We provide you with the best people to help take care of your home.', 102 | textAlign: TextAlign.center, 103 | style: TextStyle( 104 | fontSize: 16, 105 | color: Colors.grey.shade600, 106 | ), 107 | ), 108 | ), 109 | )), 110 | FadeInUp(child: Padding( 111 | padding: EdgeInsets.all(50.0), 112 | child: MaterialButton( 113 | elevation: 0, 114 | color: Colors.black, 115 | onPressed: () { 116 | Navigator.push( 117 | context, 118 | MaterialPageRoute( 119 | builder: (context) => SelectService(), 120 | ), 121 | ); 122 | }, 123 | height: 55, 124 | shape: RoundedRectangleBorder( 125 | borderRadius: BorderRadius.circular(10) 126 | ), 127 | child: Center( 128 | child: Text( 129 | 'Get Started', 130 | style: TextStyle( 131 | color: Colors.white, 132 | fontSize: 18, 133 | fontWeight: FontWeight.w500, 134 | ), 135 | ), 136 | ), 137 | ), 138 | )), 139 | ], 140 | ), 141 | ), 142 | ) 143 | ], 144 | ) 145 | ); 146 | } 147 | 148 | serviceContainer(String image, String name, int index) { 149 | return GestureDetector( 150 | onTap: () { 151 | }, 152 | child: AnimatedContainer( 153 | duration: Duration(milliseconds: 500), 154 | padding: EdgeInsets.all(8.0), 155 | decoration: BoxDecoration( 156 | color: selectedService == index ? Colors.white : Colors.grey.shade100, 157 | border: Border.all( 158 | color: selectedService == index ? Colors.blue.shade100 : Colors.grey.withOpacity(0), 159 | width: 2.0, 160 | ), 161 | borderRadius: BorderRadius.circular(15.0), 162 | ), 163 | child: Column( 164 | mainAxisAlignment: MainAxisAlignment.center, 165 | children: [ 166 | Image.network(image, height: 30), 167 | SizedBox(height: 10,), 168 | Text(name, style: TextStyle(fontSize: 14),) 169 | ] 170 | ), 171 | ), 172 | ); 173 | } 174 | } 175 | -------------------------------------------------------------------------------- /pubspec.lock: -------------------------------------------------------------------------------- 1 | # Generated by pub 2 | # See https://dart.dev/tools/pub/glossary#lockfile 3 | packages: 4 | animate_do: 5 | dependency: "direct main" 6 | description: 7 | name: animate_do 8 | sha256: "7a3162729f0ea042f9dd84da217c5bde5472ad9cef644079929d4304a5dc4ca0" 9 | url: "https://pub.dev" 10 | source: hosted 11 | version: "3.3.4" 12 | async: 13 | dependency: transitive 14 | description: 15 | name: async 16 | sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c" 17 | url: "https://pub.dev" 18 | source: hosted 19 | version: "2.11.0" 20 | boolean_selector: 21 | dependency: transitive 22 | description: 23 | name: boolean_selector 24 | sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66" 25 | url: "https://pub.dev" 26 | source: hosted 27 | version: "2.1.1" 28 | characters: 29 | dependency: transitive 30 | description: 31 | name: characters 32 | sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605" 33 | url: "https://pub.dev" 34 | source: hosted 35 | version: "1.3.0" 36 | clock: 37 | dependency: transitive 38 | description: 39 | name: clock 40 | sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf 41 | url: "https://pub.dev" 42 | source: hosted 43 | version: "1.1.1" 44 | collection: 45 | dependency: transitive 46 | description: 47 | name: collection 48 | sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a 49 | url: "https://pub.dev" 50 | source: hosted 51 | version: "1.18.0" 52 | cupertino_icons: 53 | dependency: "direct main" 54 | description: 55 | name: cupertino_icons 56 | sha256: ba631d1c7f7bef6b729a622b7b752645a2d076dba9976925b8f25725a30e1ee6 57 | url: "https://pub.dev" 58 | source: hosted 59 | version: "1.0.8" 60 | fake_async: 61 | dependency: transitive 62 | description: 63 | name: fake_async 64 | sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78" 65 | url: "https://pub.dev" 66 | source: hosted 67 | version: "1.3.1" 68 | flutter: 69 | dependency: "direct main" 70 | description: flutter 71 | source: sdk 72 | version: "0.0.0" 73 | flutter_test: 74 | dependency: "direct dev" 75 | description: flutter 76 | source: sdk 77 | version: "0.0.0" 78 | leak_tracker: 79 | dependency: transitive 80 | description: 81 | name: leak_tracker 82 | sha256: "3f87a60e8c63aecc975dda1ceedbc8f24de75f09e4856ea27daf8958f2f0ce05" 83 | url: "https://pub.dev" 84 | source: hosted 85 | version: "10.0.5" 86 | leak_tracker_flutter_testing: 87 | dependency: transitive 88 | description: 89 | name: leak_tracker_flutter_testing 90 | sha256: "932549fb305594d82d7183ecd9fa93463e9914e1b67cacc34bc40906594a1806" 91 | url: "https://pub.dev" 92 | source: hosted 93 | version: "3.0.5" 94 | leak_tracker_testing: 95 | dependency: transitive 96 | description: 97 | name: leak_tracker_testing 98 | sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3" 99 | url: "https://pub.dev" 100 | source: hosted 101 | version: "3.0.1" 102 | matcher: 103 | dependency: transitive 104 | description: 105 | name: matcher 106 | sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb 107 | url: "https://pub.dev" 108 | source: hosted 109 | version: "0.12.16+1" 110 | material_color_utilities: 111 | dependency: transitive 112 | description: 113 | name: material_color_utilities 114 | sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec 115 | url: "https://pub.dev" 116 | source: hosted 117 | version: "0.11.1" 118 | meta: 119 | dependency: transitive 120 | description: 121 | name: meta 122 | sha256: bdb68674043280c3428e9ec998512fb681678676b3c54e773629ffe74419f8c7 123 | url: "https://pub.dev" 124 | source: hosted 125 | version: "1.15.0" 126 | path: 127 | dependency: transitive 128 | description: 129 | name: path 130 | sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af" 131 | url: "https://pub.dev" 132 | source: hosted 133 | version: "1.9.0" 134 | scrollable_positioned_list: 135 | dependency: "direct main" 136 | description: 137 | name: scrollable_positioned_list 138 | sha256: "1b54d5f1329a1e263269abc9e2543d90806131aa14fe7c6062a8054d57249287" 139 | url: "https://pub.dev" 140 | source: hosted 141 | version: "0.3.8" 142 | sky_engine: 143 | dependency: transitive 144 | description: flutter 145 | source: sdk 146 | version: "0.0.99" 147 | source_span: 148 | dependency: transitive 149 | description: 150 | name: source_span 151 | sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c" 152 | url: "https://pub.dev" 153 | source: hosted 154 | version: "1.10.0" 155 | stack_trace: 156 | dependency: transitive 157 | description: 158 | name: stack_trace 159 | sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b" 160 | url: "https://pub.dev" 161 | source: hosted 162 | version: "1.11.1" 163 | stream_channel: 164 | dependency: transitive 165 | description: 166 | name: stream_channel 167 | sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7 168 | url: "https://pub.dev" 169 | source: hosted 170 | version: "2.1.2" 171 | string_scanner: 172 | dependency: transitive 173 | description: 174 | name: string_scanner 175 | sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde" 176 | url: "https://pub.dev" 177 | source: hosted 178 | version: "1.2.0" 179 | term_glyph: 180 | dependency: transitive 181 | description: 182 | name: term_glyph 183 | sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84 184 | url: "https://pub.dev" 185 | source: hosted 186 | version: "1.2.1" 187 | test_api: 188 | dependency: transitive 189 | description: 190 | name: test_api 191 | sha256: "5b8a98dafc4d5c4c9c72d8b31ab2b23fc13422348d2997120294d3bac86b4ddb" 192 | url: "https://pub.dev" 193 | source: hosted 194 | version: "0.7.2" 195 | vector_math: 196 | dependency: transitive 197 | description: 198 | name: vector_math 199 | sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803" 200 | url: "https://pub.dev" 201 | source: hosted 202 | version: "2.1.4" 203 | vm_service: 204 | dependency: transitive 205 | description: 206 | name: vm_service 207 | sha256: "5c5f338a667b4c644744b661f309fb8080bb94b18a7e91ef1dbd343bed00ed6d" 208 | url: "https://pub.dev" 209 | source: hosted 210 | version: "14.2.5" 211 | sdks: 212 | dart: ">=3.5.1 <4.0.0" 213 | flutter: ">=3.18.0-18.0.pre.54" 214 | -------------------------------------------------------------------------------- /pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: day35 2 | description: A new Flutter project. 3 | 4 | # The following line prevents the package from being accidentally published to 5 | # pub.dev using `pub publish`. This is preferred for private packages. 6 | publish_to: 'none' # Remove this line if you wish to publish to pub.dev 7 | 8 | # The following defines the version and build number for your application. 9 | # A version number is three numbers separated by dots, like 1.2.43 10 | # followed by an optional build number separated by a +. 11 | # Both the version and the builder number may be overridden in flutter 12 | # build by specifying --build-name and --build-number, respectively. 13 | # In Android, build-name is used as versionName while build-number used as versionCode. 14 | # Read more about Android versioning at https://developer.android.com/studio/publish/versioning 15 | # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. 16 | # Read more about iOS versioning at 17 | # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html 18 | version: 1.0.0+1 19 | 20 | environment: 21 | sdk: ">=3.5.1" 22 | 23 | dependencies: 24 | flutter: 25 | sdk: flutter 26 | 27 | 28 | # The following adds the Cupertino Icons font to your application. 29 | # Use with the CupertinoIcons class for iOS style icons. 30 | cupertino_icons: ^1.0.8 31 | animate_do: ^3.3.4 32 | scrollable_positioned_list: ^0.3.8 33 | 34 | dev_dependencies: 35 | flutter_test: 36 | sdk: flutter 37 | 38 | # For information on the generic Dart part of this file, see the 39 | # following page: https://dart.dev/tools/pub/pubspec 40 | 41 | # The following section is specific to Flutter. 42 | flutter: 43 | 44 | # The following line ensures that the Material Icons font is 45 | # included with your application, so that you can use the icons in 46 | # the material Icons class. 47 | uses-material-design: true 48 | 49 | # To add assets to your application, add an assets section, like this: 50 | # assets: 51 | # - images/a_dot_burr.jpeg 52 | # - images/a_dot_ham.jpeg 53 | 54 | # An image asset can refer to one or more resolution-specific "variants", see 55 | # https://flutter.dev/assets-and-images/#resolution-aware. 56 | 57 | # For details regarding adding assets from package dependencies, see 58 | # https://flutter.dev/assets-and-images/#from-packages 59 | 60 | # To add custom fonts to your application, add a fonts section here, 61 | # in this "flutter" section. Each entry in this list should have a 62 | # "family" key with the font family name, and a "fonts" key with a 63 | # list giving the asset and other descriptors for the font. For 64 | # example: 65 | # fonts: 66 | # - family: Schyler 67 | # fonts: 68 | # - asset: fonts/Schyler-Regular.ttf 69 | # - asset: fonts/Schyler-Italic.ttf 70 | # style: italic 71 | # - family: Trajan Pro 72 | # fonts: 73 | # - asset: fonts/TrajanPro.ttf 74 | # - asset: fonts/TrajanPro_Bold.ttf 75 | # weight: 700 76 | # 77 | # For details regarding fonts from package dependencies, 78 | # see https://flutter.dev/custom-fonts/#from-packages 79 | -------------------------------------------------------------------------------- /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:day35/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 | -------------------------------------------------------------------------------- /web/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afgprogrammer/Flutter-home-service-app/98e43dc76ba65bb03a0b4e95d0a6539164b8a894/web/favicon.png -------------------------------------------------------------------------------- /web/icons/Icon-192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afgprogrammer/Flutter-home-service-app/98e43dc76ba65bb03a0b4e95d0a6539164b8a894/web/icons/Icon-192.png -------------------------------------------------------------------------------- /web/icons/Icon-512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afgprogrammer/Flutter-home-service-app/98e43dc76ba65bb03a0b4e95d0a6539164b8a894/web/icons/Icon-512.png -------------------------------------------------------------------------------- /web/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | day35 27 | 28 | 29 | 30 | 33 | 97 | 98 | 99 | -------------------------------------------------------------------------------- /web/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "day35", 3 | "short_name": "day35", 4 | "start_url": ".", 5 | "display": "standalone", 6 | "background_color": "#0175C2", 7 | "theme_color": "#0175C2", 8 | "description": "A new Flutter project.", 9 | "orientation": "portrait-primary", 10 | "prefer_related_applications": false, 11 | "icons": [ 12 | { 13 | "src": "icons/Icon-192.png", 14 | "sizes": "192x192", 15 | "type": "image/png" 16 | }, 17 | { 18 | "src": "icons/Icon-512.png", 19 | "sizes": "512x512", 20 | "type": "image/png" 21 | } 22 | ] 23 | } 24 | --------------------------------------------------------------------------------