├── .gitignore ├── .metadata ├── LICENSE ├── README.md ├── analysis_options.yaml ├── android ├── .gitignore ├── app │ ├── build.gradle │ └── src │ │ ├── debug │ │ └── AndroidManifest.xml │ │ ├── main │ │ ├── AndroidManifest.xml │ │ ├── kotlin │ │ │ └── com │ │ │ │ └── metask │ │ │ │ └── metask_app │ │ │ │ └── MainActivity.kt │ │ └── res │ │ │ ├── drawable-v21 │ │ │ └── launch_background.xml │ │ │ ├── drawable │ │ │ └── launch_background.xml │ │ │ ├── mipmap-hdpi │ │ │ ├── ic_launcher.png │ │ │ └── launcher_icon.png │ │ │ ├── mipmap-mdpi │ │ │ ├── ic_launcher.png │ │ │ └── launcher_icon.png │ │ │ ├── mipmap-xhdpi │ │ │ ├── ic_launcher.png │ │ │ └── launcher_icon.png │ │ │ ├── mipmap-xxhdpi │ │ │ ├── ic_launcher.png │ │ │ └── launcher_icon.png │ │ │ ├── mipmap-xxxhdpi │ │ │ ├── ic_launcher.png │ │ │ └── launcher_icon.png │ │ │ ├── values-night │ │ │ └── styles.xml │ │ │ └── values │ │ │ └── styles.xml │ │ └── profile │ │ └── AndroidManifest.xml ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties └── settings.gradle ├── assets ├── fonts │ ├── KronaOne-Regular.ttf │ ├── Poppins-Light.ttf │ └── Poppins-Regular.ttf └── images │ ├── completepicture.svg │ ├── intropicture.svg │ ├── null.svg │ └── task.png ├── dev_assets └── splashlogo.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 ├── app.dart ├── config │ └── constants │ │ └── palette.dart ├── data │ ├── models │ │ └── task.dart │ └── routes │ │ └── custom_transition.dart ├── logic │ └── controllers │ │ └── database_helper.dart ├── main.dart └── presentation │ ├── screens │ ├── intro_screen.dart │ ├── overview_screen.dart │ ├── splash_screen.dart │ ├── task_completed_screen.dart │ └── task_screen.dart │ └── widgets │ ├── completetask │ ├── complete_button.dart │ ├── complete_slider.dart │ ├── complete_subtitle.dart │ └── complete_title.dart │ ├── intro │ ├── float_button.dart │ ├── intro_slider.dart │ ├── intro_subtitle.dart │ └── intro_title.dart │ └── overview │ ├── no_data_screen.dart │ ├── overview_header.dart │ ├── overview_task_title.dart │ ├── progress_bar.dart │ ├── slide_left_bacground.dart │ └── task_bubble.dart ├── pubspec.lock ├── pubspec.yaml ├── test └── widget_test.dart └── web ├── favicon.png ├── icons ├── Icon-192.png ├── Icon-512.png ├── Icon-maskable-192.png └── Icon-maskable-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 | # Android related 35 | **/android/key.properties 36 | 37 | # Web related 38 | lib/generated_plugin_registrant.dart 39 | 40 | # Symbolication related 41 | app.*.symbols 42 | 43 | # Obfuscation related 44 | app.*.map.json 45 | 46 | # Android Studio will place build artifacts here 47 | /android/app/debug 48 | /android/app/profile 49 | /android/app/release 50 | -------------------------------------------------------------------------------- /.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: 18116933e77adc82f80866c928266a5b4f1ed645 8 | channel: stable 9 | 10 | project_type: app 11 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2021 Nijat Namazzade 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ![GitHub Workflow Status (branch)](https://img.shields.io/github/workflow/status/iamnijat/task-manager/Flutter%20CI/master) 2 | ![GitHub forks](https://img.shields.io/github/forks/iamnijat/task-manager) 3 | ![GitHub stars](https://img.shields.io/github/stars/iamnijat/task-manager) 4 | ![GitHub watchers](https://img.shields.io/github/watchers/iamnijat/task-manager) 5 | ![GitHub contributors](https://img.shields.io/github/contributors/iamnijat/task-manager) 6 | ![GitHub last commit](https://img.shields.io/github/last-commit/iamnijat/task-manager) 7 | ![GitHub top language](https://img.shields.io/github/languages/top/iamnijat/task-manager) 8 | 9 | # Flutter Task Manager Applicatiton 10 | 11 | ![preview](https://user-images.githubusercontent.com/42466886/140480241-c2ffdb22-24ba-4259-8ebb-94b8af690a91.png) 12 | 13 | 14 | ------- 15 | 16 | ## Configuration for this application 17 | 18 | Fortunately, there is no configuration for this project apart from the flutter development setup on your computer. 19 | 20 | You've done entire steps correctly and I make sure that this project will have paramount effect on your progress learning `Flutter` 21 | -------------------------------------------------------------------------------- /analysis_options.yaml: -------------------------------------------------------------------------------- 1 | # This file configures the analyzer, which statically analyzes Dart code to 2 | # check for errors, warnings, and lints. 3 | # 4 | # The issues identified by the analyzer are surfaced in the UI of Dart-enabled 5 | # IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be 6 | # invoked from the command line by running `flutter analyze`. 7 | 8 | # The following line activates a set of recommended lints for Flutter apps, 9 | # packages, and plugins designed to encourage good coding practices. 10 | include: package:flutter_lints/flutter.yaml 11 | 12 | linter: 13 | # The lint rules applied to this project can be customized in the 14 | # section below to disable rules from the `package:flutter_lints/flutter.yaml` 15 | # included above or to enable additional rules. A list of all available lints 16 | # and their documentation is published at 17 | # https://dart-lang.github.io/linter/lints/index.html. 18 | # 19 | # Instead of disabling a lint rule for the entire project in the 20 | # section below, it can also be suppressed for a single line of code 21 | # or a specific dart file by using the `// ignore: name_of_lint` and 22 | # `// ignore_for_file: name_of_lint` syntax on the line or in the file 23 | # producing the lint. 24 | rules: 25 | # avoid_print: false # Uncomment to disable the `avoid_print` rule 26 | # prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule 27 | 28 | # Additional information about this file can be found at 29 | # https://dart.dev/guides/language/analysis-options 30 | -------------------------------------------------------------------------------- /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 | **/*.keystore 13 | **/*.jks 14 | -------------------------------------------------------------------------------- /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 | def keystoreProperties = new Properties() 29 | def keystorePropertiesFile = rootProject.file('key.properties') 30 | if (keystorePropertiesFile.exists()) { 31 | keystoreProperties.load(new FileInputStream(keystorePropertiesFile)) 32 | } 33 | 34 | android { 35 | compileSdkVersion 30 36 | 37 | compileOptions { 38 | sourceCompatibility JavaVersion.VERSION_1_8 39 | targetCompatibility JavaVersion.VERSION_1_8 40 | } 41 | 42 | kotlinOptions { 43 | jvmTarget = '1.8' 44 | } 45 | 46 | sourceSets { 47 | main.java.srcDirs += 'src/main/kotlin' 48 | } 49 | 50 | defaultConfig { 51 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). 52 | applicationId "com.metask.metask_app" 53 | minSdkVersion 16 54 | targetSdkVersion 30 55 | versionCode flutterVersionCode.toInteger() 56 | versionName flutterVersionName 57 | } 58 | 59 | signingConfigs { 60 | release { 61 | keyAlias keystoreProperties['keyAlias'] 62 | keyPassword keystoreProperties['keyPassword'] 63 | storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null 64 | storePassword keystoreProperties['storePassword'] 65 | } 66 | } 67 | buildTypes { 68 | release { 69 | signingConfig signingConfigs.release 70 | } 71 | } 72 | } 73 | 74 | flutter { 75 | source '../..' 76 | } 77 | 78 | dependencies { 79 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" 80 | implementation 'com.google.android.material:material:1.4.0' 81 | } 82 | -------------------------------------------------------------------------------- /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/metask/metask_app/MainActivity.kt: -------------------------------------------------------------------------------- 1 | package com.metask.metask_app 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/iamnijat/task-manager/5cbe85f64431ff82027184c7176caa27122a181a/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/launcher_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iamnijat/task-manager/5cbe85f64431ff82027184c7176caa27122a181a/android/app/src/main/res/mipmap-hdpi/launcher_icon.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iamnijat/task-manager/5cbe85f64431ff82027184c7176caa27122a181a/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/launcher_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iamnijat/task-manager/5cbe85f64431ff82027184c7176caa27122a181a/android/app/src/main/res/mipmap-mdpi/launcher_icon.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iamnijat/task-manager/5cbe85f64431ff82027184c7176caa27122a181a/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/launcher_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iamnijat/task-manager/5cbe85f64431ff82027184c7176caa27122a181a/android/app/src/main/res/mipmap-xhdpi/launcher_icon.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iamnijat/task-manager/5cbe85f64431ff82027184c7176caa27122a181a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/launcher_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iamnijat/task-manager/5cbe85f64431ff82027184c7176caa27122a181a/android/app/src/main/res/mipmap-xxhdpi/launcher_icon.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iamnijat/task-manager/5cbe85f64431ff82027184c7176caa27122a181a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/launcher_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iamnijat/task-manager/5cbe85f64431ff82027184c7176caa27122a181a/android/app/src/main/res/mipmap-xxxhdpi/launcher_icon.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 | mavenCentral() 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 | mavenCentral() 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/fonts/KronaOne-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iamnijat/task-manager/5cbe85f64431ff82027184c7176caa27122a181a/assets/fonts/KronaOne-Regular.ttf -------------------------------------------------------------------------------- /assets/fonts/Poppins-Light.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iamnijat/task-manager/5cbe85f64431ff82027184c7176caa27122a181a/assets/fonts/Poppins-Light.ttf -------------------------------------------------------------------------------- /assets/fonts/Poppins-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iamnijat/task-manager/5cbe85f64431ff82027184c7176caa27122a181a/assets/fonts/Poppins-Regular.ttf -------------------------------------------------------------------------------- /assets/images/completepicture.svg: -------------------------------------------------------------------------------- 1 | finish line_katerina_limpitsouni -------------------------------------------------------------------------------- /assets/images/intropicture.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/images/null.svg: -------------------------------------------------------------------------------- 1 | pull_request -------------------------------------------------------------------------------- /assets/images/task.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iamnijat/task-manager/5cbe85f64431ff82027184c7176caa27122a181a/assets/images/task.png -------------------------------------------------------------------------------- /dev_assets/splashlogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iamnijat/task-manager/5cbe85f64431ff82027184c7176caa27122a181a/dev_assets/splashlogo.png -------------------------------------------------------------------------------- /ios/.gitignore: -------------------------------------------------------------------------------- 1 | **/dgph 2 | *.mode1v3 3 | *.mode2v3 4 | *.moved-aside 5 | *.pbxuser 6 | *.perspectivev3 7 | **/*sync/ 8 | .sconsign.dblite 9 | .tags* 10 | **/.vagrant/ 11 | **/DerivedData/ 12 | Icon? 13 | **/Pods/ 14 | **/.symlinks/ 15 | profile 16 | xcuserdata 17 | **/.generated/ 18 | Flutter/App.framework 19 | Flutter/Flutter.framework 20 | Flutter/Flutter.podspec 21 | Flutter/Generated.xcconfig 22 | Flutter/ephemeral/ 23 | Flutter/app.flx 24 | Flutter/app.zip 25 | Flutter/flutter_assets/ 26 | Flutter/flutter_export_environment.sh 27 | ServiceDefinitions.json 28 | Runner/GeneratedPluginRegistrant.* 29 | 30 | # Exceptions to above rules. 31 | !default.mode1v3 32 | !default.mode2v3 33 | !default.pbxuser 34 | !default.perspectivev3 35 | -------------------------------------------------------------------------------- /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 | 9.0 25 | 26 | 27 | -------------------------------------------------------------------------------- /ios/Flutter/Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Generated.xcconfig" 2 | -------------------------------------------------------------------------------- /ios/Flutter/Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Generated.xcconfig" 2 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; }; 11 | 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 = 1020; 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 | buildActionMask = 2147483647; 175 | files = ( 176 | ); 177 | inputPaths = ( 178 | ); 179 | name = "Thin Binary"; 180 | outputPaths = ( 181 | ); 182 | runOnlyForDeploymentPostprocessing = 0; 183 | shellPath = /bin/sh; 184 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin"; 185 | }; 186 | 9740EEB61CF901F6004384FC /* Run Script */ = { 187 | isa = PBXShellScriptBuildPhase; 188 | buildActionMask = 2147483647; 189 | files = ( 190 | ); 191 | inputPaths = ( 192 | ); 193 | name = "Run Script"; 194 | outputPaths = ( 195 | ); 196 | runOnlyForDeploymentPostprocessing = 0; 197 | shellPath = /bin/sh; 198 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build"; 199 | }; 200 | /* End PBXShellScriptBuildPhase section */ 201 | 202 | /* Begin PBXSourcesBuildPhase section */ 203 | 97C146EA1CF9000F007C117D /* Sources */ = { 204 | isa = PBXSourcesBuildPhase; 205 | buildActionMask = 2147483647; 206 | files = ( 207 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */, 208 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */, 209 | ); 210 | runOnlyForDeploymentPostprocessing = 0; 211 | }; 212 | /* End PBXSourcesBuildPhase section */ 213 | 214 | /* Begin PBXVariantGroup section */ 215 | 97C146FA1CF9000F007C117D /* Main.storyboard */ = { 216 | isa = PBXVariantGroup; 217 | children = ( 218 | 97C146FB1CF9000F007C117D /* Base */, 219 | ); 220 | name = Main.storyboard; 221 | sourceTree = ""; 222 | }; 223 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = { 224 | isa = PBXVariantGroup; 225 | children = ( 226 | 97C147001CF9000F007C117D /* Base */, 227 | ); 228 | name = LaunchScreen.storyboard; 229 | sourceTree = ""; 230 | }; 231 | /* End PBXVariantGroup section */ 232 | 233 | /* Begin XCBuildConfiguration section */ 234 | 249021D3217E4FDB00AE95B9 /* Profile */ = { 235 | isa = XCBuildConfiguration; 236 | buildSettings = { 237 | ALWAYS_SEARCH_USER_PATHS = NO; 238 | CLANG_ANALYZER_NONNULL = YES; 239 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 240 | CLANG_CXX_LIBRARY = "libc++"; 241 | CLANG_ENABLE_MODULES = YES; 242 | CLANG_ENABLE_OBJC_ARC = YES; 243 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 244 | CLANG_WARN_BOOL_CONVERSION = YES; 245 | CLANG_WARN_COMMA = YES; 246 | CLANG_WARN_CONSTANT_CONVERSION = YES; 247 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 248 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 249 | CLANG_WARN_EMPTY_BODY = YES; 250 | CLANG_WARN_ENUM_CONVERSION = YES; 251 | CLANG_WARN_INFINITE_RECURSION = YES; 252 | CLANG_WARN_INT_CONVERSION = YES; 253 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 254 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 255 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 256 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 257 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 258 | CLANG_WARN_STRICT_PROTOTYPES = YES; 259 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 260 | CLANG_WARN_UNREACHABLE_CODE = YES; 261 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 262 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 263 | COPY_PHASE_STRIP = NO; 264 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 265 | ENABLE_NS_ASSERTIONS = NO; 266 | ENABLE_STRICT_OBJC_MSGSEND = YES; 267 | GCC_C_LANGUAGE_STANDARD = gnu99; 268 | GCC_NO_COMMON_BLOCKS = YES; 269 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 270 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 271 | GCC_WARN_UNDECLARED_SELECTOR = YES; 272 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 273 | GCC_WARN_UNUSED_FUNCTION = YES; 274 | GCC_WARN_UNUSED_VARIABLE = YES; 275 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 276 | MTL_ENABLE_DEBUG_INFO = NO; 277 | SDKROOT = iphoneos; 278 | SUPPORTED_PLATFORMS = iphoneos; 279 | TARGETED_DEVICE_FAMILY = "1,2"; 280 | VALIDATE_PRODUCT = YES; 281 | }; 282 | name = Profile; 283 | }; 284 | 249021D4217E4FDB00AE95B9 /* Profile */ = { 285 | isa = XCBuildConfiguration; 286 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 287 | buildSettings = { 288 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 289 | CLANG_ENABLE_MODULES = YES; 290 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 291 | ENABLE_BITCODE = NO; 292 | INFOPLIST_FILE = Runner/Info.plist; 293 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 294 | PRODUCT_BUNDLE_IDENTIFIER = com.example.todoApp; 295 | PRODUCT_NAME = "$(TARGET_NAME)"; 296 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 297 | SWIFT_VERSION = 5.0; 298 | VERSIONING_SYSTEM = "apple-generic"; 299 | }; 300 | name = Profile; 301 | }; 302 | 97C147031CF9000F007C117D /* Debug */ = { 303 | isa = XCBuildConfiguration; 304 | buildSettings = { 305 | ALWAYS_SEARCH_USER_PATHS = NO; 306 | CLANG_ANALYZER_NONNULL = YES; 307 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 308 | CLANG_CXX_LIBRARY = "libc++"; 309 | CLANG_ENABLE_MODULES = YES; 310 | CLANG_ENABLE_OBJC_ARC = YES; 311 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 312 | CLANG_WARN_BOOL_CONVERSION = YES; 313 | CLANG_WARN_COMMA = YES; 314 | CLANG_WARN_CONSTANT_CONVERSION = YES; 315 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 316 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 317 | CLANG_WARN_EMPTY_BODY = YES; 318 | CLANG_WARN_ENUM_CONVERSION = YES; 319 | CLANG_WARN_INFINITE_RECURSION = YES; 320 | CLANG_WARN_INT_CONVERSION = YES; 321 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 322 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 323 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 324 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 325 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 326 | CLANG_WARN_STRICT_PROTOTYPES = YES; 327 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 328 | CLANG_WARN_UNREACHABLE_CODE = YES; 329 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 330 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 331 | COPY_PHASE_STRIP = NO; 332 | DEBUG_INFORMATION_FORMAT = dwarf; 333 | ENABLE_STRICT_OBJC_MSGSEND = YES; 334 | ENABLE_TESTABILITY = YES; 335 | GCC_C_LANGUAGE_STANDARD = gnu99; 336 | GCC_DYNAMIC_NO_PIC = NO; 337 | GCC_NO_COMMON_BLOCKS = YES; 338 | GCC_OPTIMIZATION_LEVEL = 0; 339 | GCC_PREPROCESSOR_DEFINITIONS = ( 340 | "DEBUG=1", 341 | "$(inherited)", 342 | ); 343 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 344 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 345 | GCC_WARN_UNDECLARED_SELECTOR = YES; 346 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 347 | GCC_WARN_UNUSED_FUNCTION = YES; 348 | GCC_WARN_UNUSED_VARIABLE = YES; 349 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 350 | MTL_ENABLE_DEBUG_INFO = YES; 351 | ONLY_ACTIVE_ARCH = YES; 352 | SDKROOT = iphoneos; 353 | TARGETED_DEVICE_FAMILY = "1,2"; 354 | }; 355 | name = Debug; 356 | }; 357 | 97C147041CF9000F007C117D /* Release */ = { 358 | isa = XCBuildConfiguration; 359 | buildSettings = { 360 | ALWAYS_SEARCH_USER_PATHS = NO; 361 | CLANG_ANALYZER_NONNULL = YES; 362 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 363 | CLANG_CXX_LIBRARY = "libc++"; 364 | CLANG_ENABLE_MODULES = YES; 365 | CLANG_ENABLE_OBJC_ARC = YES; 366 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 367 | CLANG_WARN_BOOL_CONVERSION = YES; 368 | CLANG_WARN_COMMA = YES; 369 | CLANG_WARN_CONSTANT_CONVERSION = YES; 370 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 371 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 372 | CLANG_WARN_EMPTY_BODY = YES; 373 | CLANG_WARN_ENUM_CONVERSION = YES; 374 | CLANG_WARN_INFINITE_RECURSION = YES; 375 | CLANG_WARN_INT_CONVERSION = YES; 376 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 377 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 378 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 379 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 380 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 381 | CLANG_WARN_STRICT_PROTOTYPES = YES; 382 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 383 | CLANG_WARN_UNREACHABLE_CODE = YES; 384 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 385 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 386 | COPY_PHASE_STRIP = NO; 387 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 388 | ENABLE_NS_ASSERTIONS = NO; 389 | ENABLE_STRICT_OBJC_MSGSEND = YES; 390 | GCC_C_LANGUAGE_STANDARD = gnu99; 391 | GCC_NO_COMMON_BLOCKS = YES; 392 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 393 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 394 | GCC_WARN_UNDECLARED_SELECTOR = YES; 395 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 396 | GCC_WARN_UNUSED_FUNCTION = YES; 397 | GCC_WARN_UNUSED_VARIABLE = YES; 398 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 399 | MTL_ENABLE_DEBUG_INFO = NO; 400 | SDKROOT = iphoneos; 401 | SUPPORTED_PLATFORMS = iphoneos; 402 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 403 | TARGETED_DEVICE_FAMILY = "1,2"; 404 | VALIDATE_PRODUCT = YES; 405 | }; 406 | name = Release; 407 | }; 408 | 97C147061CF9000F007C117D /* Debug */ = { 409 | isa = XCBuildConfiguration; 410 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; 411 | buildSettings = { 412 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 413 | CLANG_ENABLE_MODULES = YES; 414 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 415 | ENABLE_BITCODE = NO; 416 | INFOPLIST_FILE = Runner/Info.plist; 417 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 418 | PRODUCT_BUNDLE_IDENTIFIER = com.example.todoApp; 419 | PRODUCT_NAME = "$(TARGET_NAME)"; 420 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 421 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 422 | SWIFT_VERSION = 5.0; 423 | VERSIONING_SYSTEM = "apple-generic"; 424 | }; 425 | name = Debug; 426 | }; 427 | 97C147071CF9000F007C117D /* Release */ = { 428 | isa = XCBuildConfiguration; 429 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 430 | buildSettings = { 431 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 432 | CLANG_ENABLE_MODULES = YES; 433 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 434 | ENABLE_BITCODE = NO; 435 | INFOPLIST_FILE = Runner/Info.plist; 436 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 437 | PRODUCT_BUNDLE_IDENTIFIER = com.example.todoApp; 438 | PRODUCT_NAME = "$(TARGET_NAME)"; 439 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 440 | SWIFT_VERSION = 5.0; 441 | VERSIONING_SYSTEM = "apple-generic"; 442 | }; 443 | name = Release; 444 | }; 445 | /* End XCBuildConfiguration section */ 446 | 447 | /* Begin XCConfigurationList section */ 448 | 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = { 449 | isa = XCConfigurationList; 450 | buildConfigurations = ( 451 | 97C147031CF9000F007C117D /* Debug */, 452 | 97C147041CF9000F007C117D /* Release */, 453 | 249021D3217E4FDB00AE95B9 /* Profile */, 454 | ); 455 | defaultConfigurationIsVisible = 0; 456 | defaultConfigurationName = Release; 457 | }; 458 | 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = { 459 | isa = XCConfigurationList; 460 | buildConfigurations = ( 461 | 97C147061CF9000F007C117D /* Debug */, 462 | 97C147071CF9000F007C117D /* Release */, 463 | 249021D4217E4FDB00AE95B9 /* Profile */, 464 | ); 465 | defaultConfigurationIsVisible = 0; 466 | defaultConfigurationName = Release; 467 | }; 468 | /* End XCConfigurationList section */ 469 | }; 470 | rootObject = 97C146E61CF9000F007C117D /* Project object */; 471 | } 472 | -------------------------------------------------------------------------------- /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 | @UIApplicationMain 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/iamnijat/task-manager/5cbe85f64431ff82027184c7176caa27122a181a/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/iamnijat/task-manager/5cbe85f64431ff82027184c7176caa27122a181a/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/iamnijat/task-manager/5cbe85f64431ff82027184c7176caa27122a181a/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/iamnijat/task-manager/5cbe85f64431ff82027184c7176caa27122a181a/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/iamnijat/task-manager/5cbe85f64431ff82027184c7176caa27122a181a/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/iamnijat/task-manager/5cbe85f64431ff82027184c7176caa27122a181a/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/iamnijat/task-manager/5cbe85f64431ff82027184c7176caa27122a181a/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/iamnijat/task-manager/5cbe85f64431ff82027184c7176caa27122a181a/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/iamnijat/task-manager/5cbe85f64431ff82027184c7176caa27122a181a/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/iamnijat/task-manager/5cbe85f64431ff82027184c7176caa27122a181a/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/iamnijat/task-manager/5cbe85f64431ff82027184c7176caa27122a181a/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/iamnijat/task-manager/5cbe85f64431ff82027184c7176caa27122a181a/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/iamnijat/task-manager/5cbe85f64431ff82027184c7176caa27122a181a/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/iamnijat/task-manager/5cbe85f64431ff82027184c7176caa27122a181a/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/iamnijat/task-manager/5cbe85f64431ff82027184c7176caa27122a181a/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/iamnijat/task-manager/5cbe85f64431ff82027184c7176caa27122a181a/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iamnijat/task-manager/5cbe85f64431ff82027184c7176caa27122a181a/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iamnijat/task-manager/5cbe85f64431ff82027184c7176caa27122a181a/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 | todo_app 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | $(FLUTTER_BUILD_NAME) 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | $(FLUTTER_BUILD_NUMBER) 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIMainStoryboardFile 28 | Main 29 | UISupportedInterfaceOrientations 30 | 31 | UIInterfaceOrientationPortrait 32 | UIInterfaceOrientationLandscapeLeft 33 | UIInterfaceOrientationLandscapeRight 34 | 35 | UISupportedInterfaceOrientations~ipad 36 | 37 | UIInterfaceOrientationPortrait 38 | UIInterfaceOrientationPortraitUpsideDown 39 | UIInterfaceOrientationLandscapeLeft 40 | UIInterfaceOrientationLandscapeRight 41 | 42 | UIViewControllerBasedStatusBarAppearance 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /ios/Runner/Runner-Bridging-Header.h: -------------------------------------------------------------------------------- 1 | #import "GeneratedPluginRegistrant.h" 2 | -------------------------------------------------------------------------------- /lib/app.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:sizer/sizer.dart'; 3 | import 'package:todo_app/presentation/screens/splash_screen.dart'; 4 | 5 | class MyApp extends StatelessWidget { 6 | const MyApp({Key key}) : super(key: key); 7 | 8 | @override 9 | Widget build(BuildContext context) { 10 | return Sizer(builder: (context, orientation, deviceType) { 11 | return MaterialApp( 12 | theme: ThemeData(primaryColor: Colors.pinkAccent), 13 | debugShowCheckedModeBanner: false, 14 | home: const SplashScreen2(), 15 | ); 16 | }); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /lib/config/constants/palette.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | abstract class AppColors { 4 | static const kRedColor = Color.fromRGBO(254, 117, 109, 1); 5 | static const kOrangeColor = Color.fromRGBO(240, 165, 0, 1); 6 | static const kBlueColor = Color.fromRGBO(99, 180, 255, 1); 7 | static const kPurpleColor = Color.fromRGBO(169, 153, 254, 1); 8 | static const kGreenColor = Color.fromRGBO(0, 175, 145, 1); 9 | } 10 | -------------------------------------------------------------------------------- /lib/data/models/task.dart: -------------------------------------------------------------------------------- 1 | class Task { 2 | final int id; 3 | final String title; 4 | final String description; 5 | Task({this.id, this.title, this.description,}); 6 | 7 | Map toMap() { 8 | return { 9 | 'id': id, 10 | 'title': title, 11 | 'description': description, 12 | }; 13 | } 14 | } -------------------------------------------------------------------------------- /lib/data/routes/custom_transition.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:todo_app/presentation/screens/task_screen.dart'; 3 | 4 | pageTransition() { 5 | return PageRouteBuilder( 6 | pageBuilder: (context, animation, secondaryAnimation) => const TaskScreen( 7 | task: null, 8 | ), 9 | transitionDuration: const Duration(seconds: 1), 10 | transitionsBuilder: (context, animation, secondaryAnimation, child) { 11 | const begin = Offset(0.0, 1.0); 12 | const end = Offset.zero; 13 | const curve = Curves.ease; 14 | var tween = Tween(begin: begin, end: end).chain( 15 | CurveTween(curve: curve), 16 | ); 17 | return SlideTransition( 18 | position: animation.drive(tween), 19 | child: child, 20 | ); 21 | }, 22 | ); 23 | } 24 | -------------------------------------------------------------------------------- /lib/logic/controllers/database_helper.dart: -------------------------------------------------------------------------------- 1 | import 'package:path/path.dart'; 2 | import 'package:sqflite/sqflite.dart'; 3 | import '../../data/models/task.dart'; 4 | 5 | class DatabaseHelper { 6 | Future database() async { 7 | return openDatabase( 8 | join(await getDatabasesPath(), 'todo.db'), 9 | // ignore: void_checks 10 | onCreate: (db, version) async { 11 | await db.execute( 12 | "CREATE TABLE tasks(id INTEGER PRIMARY KEY, title TEXT, description TEXT)"); 13 | return db; 14 | }, 15 | version: 1, 16 | ); 17 | } 18 | 19 | Future insertTask(Task task) async { 20 | int taskId = 0; 21 | Database _db = await database(); 22 | await _db 23 | .insert('tasks', task.toMap(), 24 | conflictAlgorithm: ConflictAlgorithm.replace) 25 | .then((value) { 26 | taskId = value; 27 | }); 28 | return taskId; 29 | } 30 | 31 | Future updateTaskTitle(int id, String title) async { 32 | Database _db = await database(); 33 | await _db.rawUpdate("UPDATE tasks SET title = '$title' WHERE id = '$id'"); 34 | } 35 | 36 | Future updateTaskDescription(int id, String description) async { 37 | Database _db = await database(); 38 | await _db.rawUpdate( 39 | "UPDATE tasks SET description = '$description' WHERE id = '$id'"); 40 | } 41 | 42 | Future> getTasks() async { 43 | Database _db = await database(); 44 | List> taskMap = await _db.query('tasks'); 45 | return List.generate(taskMap.length, (index) { 46 | return Task( 47 | id: taskMap[index]['id'], 48 | title: taskMap[index]['title'], 49 | description: taskMap[index]['description']); 50 | }); 51 | } 52 | 53 | Future deleteTask(int id) async { 54 | Database _db = await database(); 55 | await _db.rawDelete("DELETE FROM tasks WHERE id = '$id'"); 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /lib/main.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:flutter/services.dart'; 3 | import 'app.dart'; 4 | 5 | void main() { 6 | WidgetsFlutterBinding.ensureInitialized(); 7 | SystemChrome.setEnabledSystemUIMode(SystemUiMode.manual, overlays: []); 8 | SystemChrome.setPreferredOrientations([ 9 | DeviceOrientation.portraitDown, 10 | DeviceOrientation.portraitUp, 11 | ]); 12 | 13 | runApp( 14 | const MyApp(), 15 | ); 16 | } 17 | -------------------------------------------------------------------------------- /lib/presentation/screens/intro_screen.dart: -------------------------------------------------------------------------------- 1 | import 'package:animate_do/animate_do.dart'; 2 | import 'package:flutter/material.dart'; 3 | import 'package:sizer/sizer.dart'; 4 | import '../widgets/intro/float_button.dart'; 5 | import '../widgets/intro/intro_slider.dart'; 6 | import '../widgets/intro/intro_subtitle.dart'; 7 | import '../widgets/intro/intro_title.dart'; 8 | 9 | class IntroScreen extends StatefulWidget { 10 | const IntroScreen({Key key}) : super(key: key); 11 | 12 | @override 13 | _IntroScreenState createState() => _IntroScreenState(); 14 | } 15 | 16 | class _IntroScreenState extends State { 17 | @override 18 | Widget build(BuildContext context) { 19 | return Scaffold( 20 | backgroundColor: const Color.fromRGBO(185, 147, 214, 1), 21 | body: SingleChildScrollView( 22 | physics: const BouncingScrollPhysics(), 23 | child: Column( 24 | mainAxisAlignment: MainAxisAlignment.center, 25 | children: [ 26 | const IntroSlider(), 27 | SizedBox( 28 | height: 3.5.h, 29 | ), 30 | const IntroTitle(), 31 | SizedBox( 32 | height: 5.5.h, 33 | ), 34 | const IntroSubtitle(), 35 | SizedBox( 36 | height: 7.5.h, 37 | ), 38 | ], 39 | ), 40 | ), 41 | floatingActionButton: SlideInLeft( 42 | duration: const Duration(seconds: 2), child: const FloatButton()), 43 | ); 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /lib/presentation/screens/overview_screen.dart: -------------------------------------------------------------------------------- 1 | import 'dart:math'; 2 | 3 | import 'package:flutter/material.dart'; 4 | import 'package:sizer/sizer.dart'; 5 | import 'package:todo_app/config/constants/palette.dart'; 6 | import '../../logic/controllers/database_helper.dart'; 7 | import 'task_screen.dart'; 8 | import 'task_completed_screen.dart'; 9 | import '../widgets/overview/no_data_screen.dart'; 10 | import '../widgets/overview/overview_header.dart'; 11 | import '../widgets/overview/overview_task_title.dart'; 12 | import '../widgets/overview/progress_bar.dart'; 13 | import '../widgets/overview/slide_left_bacground.dart'; 14 | import '../widgets/overview/task_bubble.dart'; 15 | 16 | class OverviewScreen extends StatefulWidget { 17 | const OverviewScreen({Key key}) : super(key: key); 18 | 19 | @override 20 | _OverviewScreenState createState() => _OverviewScreenState(); 21 | } 22 | 23 | class _OverviewScreenState extends State { 24 | final DatabaseHelper _dbHelper = DatabaseHelper(); 25 | 26 | List colors = [ 27 | AppColors.kRedColor, 28 | AppColors.kOrangeColor, 29 | AppColors.kBlueColor, 30 | AppColors.kPurpleColor, 31 | AppColors.kGreenColor, 32 | ]; 33 | Random random = Random(); 34 | int indexColor = 0; 35 | 36 | @override 37 | Widget build(BuildContext context) { 38 | return Scaffold( 39 | backgroundColor: Colors.white, 40 | body: SingleChildScrollView( 41 | physics: const BouncingScrollPhysics(), 42 | child: Column( 43 | children: [ 44 | const OverviewHeader(), 45 | FutureBuilder( 46 | initialData: const [], 47 | future: _dbHelper.getTasks(), 48 | builder: (context, snapshot) { 49 | return ProgressBar(snapshot.data.length); 50 | }), 51 | FutureBuilder( 52 | initialData: const [], 53 | future: _dbHelper.getTasks(), 54 | builder: (context, snapshot) { 55 | return Row( 56 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 57 | children: [ 58 | Padding( 59 | padding: EdgeInsets.only( 60 | left: 9.w, 61 | top: 5.2.h, 62 | ), 63 | child: OverviewTaskTitle(snapshot.data.length), 64 | ), 65 | Padding( 66 | padding: EdgeInsets.only(right: 9.w, top: 5.2.h), 67 | child: const Icon(Icons.task_alt_sharp)) 68 | ], 69 | ); 70 | }), 71 | FutureBuilder( 72 | initialData: const [], 73 | future: _dbHelper.getTasks(), 74 | // ignore: missing_return 75 | builder: (context, snapshot) { 76 | if (snapshot.data.length != 0) { 77 | return ListView.builder( 78 | reverse: true, 79 | itemCount: snapshot.data.length, 80 | physics: const NeverScrollableScrollPhysics(), 81 | shrinkWrap: true, 82 | itemBuilder: (context, index) => Dismissible( 83 | movementDuration: const Duration(seconds: 2), 84 | resizeDuration: 85 | const Duration(milliseconds: 1300), 86 | onDismissed: (direction) async { 87 | if (snapshot.data[index].id != 0) { 88 | await _dbHelper 89 | .deleteTask(snapshot.data[index].id); 90 | 91 | setState(() { 92 | if (snapshot.data.length <= 1) { 93 | Navigator.push( 94 | context, 95 | MaterialPageRoute( 96 | builder: (context) => 97 | const CompletedScreen())); 98 | } 99 | }); 100 | } 101 | snapshot.data.removeAt(index); 102 | }, 103 | background: const SlideLeftBackground(), 104 | key: UniqueKey(), 105 | direction: DismissDirection.endToStart, 106 | child: GestureDetector( 107 | onTap: () { 108 | showModalBottomSheet( 109 | isScrollControlled: true, 110 | backgroundColor: Colors.white, 111 | shape: const RoundedRectangleBorder( 112 | borderRadius: BorderRadius.only( 113 | topLeft: Radius.circular(40.0), 114 | topRight: Radius.circular(40.0), 115 | ), 116 | ), 117 | context: context, 118 | builder: (BuildContext context) { 119 | return TaskScreen( 120 | task: snapshot.data[index], 121 | ); 122 | }, 123 | ).then( 124 | (value) { 125 | setState(() {}); 126 | }, 127 | ); 128 | }, 129 | child: TaskBubble( 130 | title: snapshot.data[index].title, 131 | desc: snapshot.data[index].description, 132 | color: colors[random.nextInt(5)], 133 | )), 134 | )); 135 | } else { 136 | return const NoDataScreen(); 137 | } 138 | }), 139 | const SizedBox( 140 | height: 25, 141 | ), 142 | ], 143 | ), 144 | ), 145 | ); 146 | } 147 | } 148 | -------------------------------------------------------------------------------- /lib/presentation/screens/splash_screen.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:splashscreen/splashscreen.dart'; 3 | import 'intro_screen.dart'; 4 | 5 | class SplashScreen2 extends StatefulWidget { 6 | const SplashScreen2({Key key}) : super(key: key); 7 | 8 | @override 9 | _SplashScreen2State createState() => _SplashScreen2State(); 10 | } 11 | 12 | class _SplashScreen2State extends State { 13 | @override 14 | Widget build(BuildContext context) { 15 | return SplashScreen( 16 | seconds: 2, 17 | useLoader: false, 18 | navigateAfterSeconds: const IntroScreen(), 19 | image: Image.asset( 20 | 'assets/images/task.png', 21 | alignment: Alignment.center, 22 | ), 23 | backgroundColor: const Color.fromRGBO(185, 147, 214, 1), 24 | photoSize: 70.0, 25 | ); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /lib/presentation/screens/task_completed_screen.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import '../widgets/completetask/complete_button.dart'; 3 | import '../widgets/completetask/complete_slider.dart'; 4 | import '../widgets/completetask/complete_subtitle.dart'; 5 | import '../widgets/completetask/complete_title.dart'; 6 | 7 | class CompletedScreen extends StatefulWidget { 8 | const CompletedScreen({Key key}) : super(key: key); 9 | 10 | @override 11 | _CompletedScreenState createState() => _CompletedScreenState(); 12 | } 13 | 14 | class _CompletedScreenState extends State { 15 | @override 16 | Widget build(BuildContext context) { 17 | return Scaffold( 18 | backgroundColor: const Color.fromRGBO(0, 191, 166, 1), 19 | body: SingleChildScrollView( 20 | child: Column( 21 | children: const [ 22 | CompleteSlider(), 23 | CompleteTitle(), 24 | CompleteSubtitle(), 25 | CompleteButton() 26 | ], 27 | ), 28 | ), 29 | ); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /lib/presentation/screens/task_screen.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:sizer/sizer.dart'; 3 | import 'overview_screen.dart'; 4 | import '../../logic/controllers/database_helper.dart'; 5 | import '../../data/models/task.dart'; 6 | 7 | class TaskScreen extends StatefulWidget { 8 | final Task task; 9 | 10 | const TaskScreen({Key key, @required this.task}) : super(key: key); 11 | 12 | @override 13 | _TaskScreenState createState() => _TaskScreenState(); 14 | } 15 | 16 | class _TaskScreenState extends State { 17 | final DatabaseHelper _dbHelper = DatabaseHelper(); 18 | 19 | int _taskId = 0; 20 | String _taskTitle = ""; 21 | String _taskDescription = ""; 22 | 23 | FocusNode _titleFocus; 24 | FocusNode _descriptionFocus; 25 | 26 | bool _descriptionVisible = false; 27 | @override 28 | void initState() { 29 | if (widget.task != null) { 30 | // Set visibility to true 31 | _descriptionVisible = true; 32 | 33 | _taskTitle = widget.task.title; 34 | _taskDescription = widget.task.description; 35 | _taskId = widget.task.id; 36 | } 37 | 38 | _titleFocus = FocusNode(); 39 | _descriptionFocus = FocusNode(); 40 | 41 | super.initState(); 42 | } 43 | 44 | @override 45 | void dispose() { 46 | _titleFocus.dispose(); 47 | _descriptionFocus.dispose(); 48 | super.dispose(); 49 | } 50 | 51 | @override 52 | Widget build(BuildContext context) { 53 | return SingleChildScrollView( 54 | reverse: true, 55 | child: Column( 56 | children: [ 57 | Padding( 58 | padding: 59 | EdgeInsets.only(left: 10.w, right: 10.w, top: 30, bottom: 30), 60 | child: TextField( 61 | focusNode: _titleFocus, 62 | autocorrect: true, 63 | textCapitalization: TextCapitalization.sentences, 64 | enableSuggestions: true, 65 | onSubmitted: (value) async { 66 | if (value != "") { 67 | // Check if the task is null 68 | if (widget.task == null) { 69 | Task _newTask = Task( 70 | title: value, 71 | ); 72 | _taskId = await _dbHelper.insertTask(_newTask); 73 | setState(() { 74 | _descriptionVisible = true; 75 | _taskTitle = value; 76 | }); 77 | } else { 78 | await _dbHelper.updateTaskTitle(_taskId, value); 79 | } 80 | _descriptionFocus.requestFocus(); 81 | } 82 | }, 83 | controller: TextEditingController()..text = _taskTitle, 84 | decoration: const InputDecoration( 85 | prefixIcon: Icon( 86 | Icons.title_rounded, 87 | color: Color.fromRGBO(253, 87, 76, 1), 88 | ), 89 | hintText: "Task Title", 90 | border: InputBorder.none, 91 | ), 92 | style: const TextStyle( 93 | fontFamily: "Poppins", 94 | fontSize: 19, 95 | color: Colors.black, 96 | fontWeight: FontWeight.w500), 97 | ), 98 | ), 99 | Visibility( 100 | visible: _descriptionVisible, 101 | child: Padding( 102 | padding: 103 | EdgeInsets.only(left: 10.w, right: 10.w, top: 20, bottom: 30), 104 | child: TextField( 105 | focusNode: _descriptionFocus, 106 | autocorrect: true, 107 | textCapitalization: TextCapitalization.sentences, 108 | enableSuggestions: true, 109 | onSubmitted: (value) async { 110 | if (value != "") { 111 | if (_taskId != 0) { 112 | await _dbHelper.updateTaskDescription(_taskId, value); 113 | _taskDescription = value; 114 | } 115 | } 116 | Navigator.pushAndRemoveUntil( 117 | context, 118 | MaterialPageRoute( 119 | builder: (BuildContext context) => const OverviewScreen(), 120 | ), 121 | (route) => false, 122 | ); 123 | }, 124 | controller: TextEditingController()..text = _taskDescription, 125 | decoration: const InputDecoration( 126 | prefixIcon: Icon( 127 | Icons.description_outlined, 128 | color: Color.fromRGBO(253, 87, 76, 1), 129 | ), 130 | hintText: "Task Description", 131 | border: InputBorder.none, 132 | ), 133 | style: const TextStyle( 134 | fontFamily: "Poppins", 135 | fontSize: 19, 136 | color: Colors.black, 137 | fontWeight: FontWeight.w500), 138 | ), 139 | ), 140 | ), 141 | Padding( 142 | padding: EdgeInsets.only( 143 | bottom: MediaQuery.of(context).viewInsets.bottom)), 144 | ], 145 | ), 146 | ); 147 | } 148 | } 149 | -------------------------------------------------------------------------------- /lib/presentation/widgets/completetask/complete_button.dart: -------------------------------------------------------------------------------- 1 | import 'package:animate_do/animate_do.dart'; 2 | import 'package:flutter/material.dart'; 3 | import 'package:sizer/sizer.dart'; 4 | import '../../screens/overview_screen.dart'; 5 | 6 | class CompleteButton extends StatelessWidget { 7 | const CompleteButton({ 8 | Key key, 9 | }) : super(key: key); 10 | 11 | @override 12 | Widget build(BuildContext context) { 13 | return ZoomIn( 14 | child: Padding( 15 | padding: EdgeInsets.only(top: 7.2.h), 16 | child: Row( 17 | mainAxisAlignment: MainAxisAlignment.end, 18 | children: [ 19 | Container( 20 | height: 60, 21 | decoration: const BoxDecoration( 22 | color: Color.fromRGBO(255, 117, 98, 1), 23 | borderRadius: BorderRadius.only( 24 | topLeft: Radius.circular(25), 25 | topRight: Radius.circular(0), 26 | bottomLeft: Radius.circular(25), 27 | bottomRight: Radius.circular(0), 28 | ), 29 | ), 30 | child: Material( 31 | color: Colors.transparent, 32 | child: InkWell( 33 | onTap: () { 34 | Navigator.push( 35 | context, 36 | MaterialPageRoute( 37 | builder: (context) => const OverviewScreen())); 38 | }, 39 | child: Padding( 40 | padding: const EdgeInsets.only( 41 | top: 15, bottom: 15, left: 35, right: 43), 42 | child: Center( 43 | child: Text( 44 | "Create Another Task", 45 | style: TextStyle( 46 | color: Colors.white, 47 | fontSize: 13.2.sp, 48 | fontWeight: FontWeight.bold, 49 | fontFamily: 'Poppins', 50 | ), 51 | ), 52 | )), 53 | ), 54 | ), 55 | ), 56 | ], 57 | ), 58 | ), 59 | ); 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /lib/presentation/widgets/completetask/complete_slider.dart: -------------------------------------------------------------------------------- 1 | import 'package:animate_do/animate_do.dart'; 2 | import 'package:flutter/material.dart'; 3 | import 'package:flutter_svg/flutter_svg.dart'; 4 | import 'package:sizer/sizer.dart'; 5 | 6 | class CompleteSlider extends StatelessWidget { 7 | const CompleteSlider({ 8 | Key key, 9 | }) : super(key: key); 10 | 11 | @override 12 | Widget build(BuildContext context) { 13 | return BounceInLeft( 14 | duration: const Duration(seconds: 2), 15 | child: Padding( 16 | padding: EdgeInsets.only(left: 15.2.w, right: 15.2.w, top: 6.2.h), 17 | child: SvgPicture.asset( 18 | "assets/images/completepicture.svg", 19 | alignment: Alignment.center, 20 | fit: BoxFit.fitWidth, 21 | height: 38.2.h, 22 | ), 23 | ), 24 | ); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /lib/presentation/widgets/completetask/complete_subtitle.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:sizer/sizer.dart'; 3 | 4 | class CompleteSubtitle extends StatelessWidget { 5 | const CompleteSubtitle({ 6 | Key key, 7 | }) : super(key: key); 8 | 9 | @override 10 | Widget build(BuildContext context) { 11 | return Row( 12 | children: [ 13 | Padding( 14 | padding: EdgeInsets.only(left: 15.2.w, top: 2.2.h), 15 | child: Text( 16 | "Your tasks for today\nare finished!", 17 | style: TextStyle( 18 | color: Colors.white, 19 | fontSize: 15.2.sp, 20 | height: 2.1, 21 | fontWeight: FontWeight.bold, 22 | fontFamily: "Poppins", 23 | letterSpacing: 1.3), 24 | textAlign: TextAlign.justify, 25 | ), 26 | ), 27 | ], 28 | ); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /lib/presentation/widgets/completetask/complete_title.dart: -------------------------------------------------------------------------------- 1 | import 'package:animated_text_kit/animated_text_kit.dart'; 2 | import 'package:flutter/material.dart'; 3 | import 'package:sizer/sizer.dart'; 4 | 5 | class CompleteTitle extends StatelessWidget { 6 | const CompleteTitle({ 7 | Key key, 8 | }) : super(key: key); 9 | 10 | @override 11 | Widget build(BuildContext context) { 12 | return Row( 13 | children: [ 14 | Padding( 15 | padding: EdgeInsets.only(left: 15.2.w, top: 8.2.h), 16 | child: DefaultTextStyle( 17 | textAlign: TextAlign.left, 18 | style: TextStyle( 19 | color: Colors.white, 20 | fontSize: 23.2.sp, 21 | height: 1.8, 22 | fontWeight: FontWeight.bold, 23 | fontFamily: "KronaOne", 24 | ), 25 | child: AnimatedTextKit( 26 | animatedTexts: [ 27 | WavyAnimatedText("Great job!"), 28 | ], 29 | isRepeatingAnimation: false, 30 | ), 31 | ), 32 | ), 33 | ], 34 | ); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /lib/presentation/widgets/intro/float_button.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:sizer/sizer.dart'; 3 | import '../../screens/overview_screen.dart'; 4 | 5 | class FloatButton extends StatelessWidget { 6 | const FloatButton({ 7 | Key key, 8 | }) : super(key: key); 9 | 10 | @override 11 | Widget build(BuildContext context) { 12 | return Padding( 13 | padding: EdgeInsets.only(right: 6.7.w, bottom: 4.2.h), 14 | child: CircleAvatar( 15 | radius: 4.2.h, 16 | backgroundColor: const Color.fromRGBO(0, 191, 166, 1), 17 | child: IconButton( 18 | iconSize: 4.2.h, 19 | onPressed: () { 20 | Navigator.push( 21 | context, 22 | MaterialPageRoute( 23 | builder: (context) => const OverviewScreen())); 24 | }, 25 | icon: const Icon( 26 | Icons.arrow_forward_ios_rounded, 27 | color: Colors.white, 28 | )), 29 | ), 30 | ); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /lib/presentation/widgets/intro/intro_slider.dart: -------------------------------------------------------------------------------- 1 | import 'package:animate_do/animate_do.dart'; 2 | import 'package:flutter/material.dart'; 3 | import 'package:flutter_svg/flutter_svg.dart'; 4 | import 'package:sizer/sizer.dart'; 5 | 6 | class IntroSlider extends StatelessWidget { 7 | const IntroSlider({ 8 | Key key, 9 | }) : super(key: key); 10 | 11 | @override 12 | Widget build(BuildContext context) { 13 | return FadeInDown( 14 | duration: const Duration(seconds: 2), 15 | child: Padding( 16 | padding: EdgeInsets.only(left: 14.2.w, right: 14.2.w, top: 8.2.h), 17 | child: Center( 18 | child: SvgPicture.asset( 19 | "assets/images/intropicture.svg", 20 | alignment: Alignment.center, 21 | fit: BoxFit.fitWidth, 22 | height: 32.6.h, 23 | ), 24 | ), 25 | ), 26 | ); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /lib/presentation/widgets/intro/intro_subtitle.dart: -------------------------------------------------------------------------------- 1 | import 'package:animate_do/animate_do.dart'; 2 | import 'package:flutter/material.dart'; 3 | import 'package:sizer/sizer.dart'; 4 | 5 | class IntroSubtitle extends StatelessWidget { 6 | const IntroSubtitle({ 7 | Key key, 8 | }) : super(key: key); 9 | 10 | @override 11 | Widget build(BuildContext context) { 12 | return BounceInUp( 13 | duration: const Duration(seconds: 3), 14 | child: Padding( 15 | padding: EdgeInsets.only(left: 15.w,right: 10.w), 16 | child: Column( 17 | crossAxisAlignment: CrossAxisAlignment.start, 18 | children: [ 19 | Text( 20 | "This app allows you to learn time management and organize your works perfectly", 21 | style: TextStyle( 22 | color: Colors.white, 23 | fontSize: 14.5.sp, 24 | 25 | fontFamily: "KronaOne", 26 | ), 27 | 28 | ), 29 | ], 30 | ), 31 | ), 32 | ); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /lib/presentation/widgets/intro/intro_title.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:sizer/sizer.dart'; 3 | 4 | class IntroTitle extends StatelessWidget { 5 | const IntroTitle({ 6 | Key key, 7 | }) : super(key: key); 8 | 9 | @override 10 | Widget build(BuildContext context) { 11 | return Padding( 12 | padding: EdgeInsets.only( 13 | left: 15.w, 14 | ), 15 | child: Row( 16 | mainAxisAlignment: MainAxisAlignment.start, 17 | children: [ 18 | Text( 19 | "Welcome,", 20 | style: TextStyle( 21 | color: Colors.white, 22 | fontSize: 20.2.sp, 23 | height: 1.8, 24 | fontWeight: FontWeight.bold, 25 | fontFamily: "KronaOne", 26 | ), 27 | textAlign: TextAlign.left, 28 | ), 29 | ], 30 | ), 31 | ); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /lib/presentation/widgets/overview/no_data_screen.dart: -------------------------------------------------------------------------------- 1 | import 'package:animate_do/animate_do.dart'; 2 | import 'package:flutter/material.dart'; 3 | import 'package:flutter_svg/flutter_svg.dart'; 4 | import 'package:sizer/sizer.dart'; 5 | 6 | class NoDataScreen extends StatelessWidget { 7 | const NoDataScreen({ 8 | Key key, 9 | }) : super(key: key); 10 | 11 | @override 12 | Widget build(BuildContext context) { 13 | return Column( 14 | mainAxisAlignment: MainAxisAlignment.center, 15 | children: [ 16 | Padding( 17 | padding: EdgeInsets.only(left: 10.w, right: 10.w, top: 3.5.h), 18 | child: SizedBox( 19 | height: 30.h, 20 | child: SvgPicture.asset( 21 | "assets/images/null.svg", 22 | alignment: Alignment.center, 23 | fit: BoxFit.fitWidth, 24 | ), 25 | ), 26 | ), 27 | ElasticIn( 28 | duration: const Duration(seconds: 3), 29 | child: Padding( 30 | padding: EdgeInsets.only(left: 15.w, right: 15.w, top: 1.5.h), 31 | child: Text( 32 | "You are the happiest person in the world because you have no tasks for now", 33 | style: TextStyle( 34 | color: const Color.fromRGBO(255, 117, 98, 1), 35 | fontSize: 15.4.sp, 36 | height: 1.5, 37 | fontFamily: "Poppins", 38 | ), 39 | textAlign: TextAlign.center, 40 | ), 41 | ), 42 | ), 43 | ], 44 | ); 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /lib/presentation/widgets/overview/overview_header.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:sizer/sizer.dart'; 3 | import '../../screens/task_screen.dart'; 4 | 5 | class OverviewHeader extends StatefulWidget { 6 | const OverviewHeader({Key key}) : super(key: key); 7 | 8 | @override 9 | _OverviewHeaderState createState() => _OverviewHeaderState(); 10 | } 11 | 12 | class _OverviewHeaderState extends State { 13 | void _showModalBottomSheet(context) { 14 | showModalBottomSheet( 15 | isScrollControlled: true, 16 | backgroundColor: Colors.white, 17 | shape: const RoundedRectangleBorder( 18 | borderRadius: BorderRadius.only( 19 | topLeft: Radius.circular(40.0), 20 | topRight: Radius.circular(40.0), 21 | ), 22 | ), 23 | context: context, 24 | builder: (BuildContext context) { 25 | return const TaskScreen( 26 | task: null, 27 | ); 28 | }, 29 | ).then( 30 | (value) { 31 | setState(() {}); 32 | }, 33 | ); 34 | } 35 | 36 | @override 37 | Widget build(BuildContext context) { 38 | return Padding( 39 | padding: EdgeInsets.only(left: 9.w, top: 5.6.h, right: 9.w), 40 | child: Row( 41 | mainAxisAlignment: MainAxisAlignment.end, 42 | children: [ 43 | GestureDetector( 44 | onTap: () { 45 | _showModalBottomSheet(context); 46 | }, 47 | child: Container( 48 | height: 55, 49 | width: 55, 50 | decoration: BoxDecoration( 51 | boxShadow: [ 52 | BoxShadow( 53 | color: 54 | const Color.fromRGBO(253, 87, 76, 1).withOpacity(0.3), 55 | spreadRadius: 5, 56 | blurRadius: 7, 57 | offset: const Offset(0, 2), 58 | ), 59 | ], 60 | color: const Color.fromRGBO(253, 87, 76, 1), 61 | borderRadius: BorderRadius.circular(20), 62 | ), 63 | child: const Icon( 64 | Icons.add, 65 | size: 30, 66 | color: Colors.white, 67 | ), 68 | ), 69 | ), 70 | ], 71 | ), 72 | ); 73 | } 74 | } 75 | -------------------------------------------------------------------------------- /lib/presentation/widgets/overview/overview_task_title.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:sizer/sizer.dart'; 3 | 4 | class OverviewTaskTitle extends StatelessWidget { 5 | final int taskCount; 6 | const OverviewTaskTitle(this.taskCount, {Key key}) : super(key: key); 7 | 8 | @override 9 | Widget build(BuildContext context) { 10 | return Text( 11 | taskCount == 0 12 | ? "You have no task for today" 13 | : "You have $taskCount tasks for today", 14 | style: TextStyle( 15 | color: Colors.black, 16 | fontSize: 11.sp, 17 | fontWeight: FontWeight.w600, 18 | letterSpacing: 0.6, 19 | fontFamily: "Poppins", 20 | ), 21 | ); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /lib/presentation/widgets/overview/progress_bar.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:percent_indicator/percent_indicator.dart'; 3 | import 'package:sizer/sizer.dart'; 4 | 5 | class ProgressBar extends StatelessWidget { 6 | final int taskCount; 7 | const ProgressBar(this.taskCount, {Key key}) : super(key: key); 8 | 9 | @override 10 | Widget build(BuildContext context) { 11 | return Padding( 12 | padding: EdgeInsets.only(left: 9.w, right: 9.w, top: 8.h), 13 | child: Container( 14 | height: 120, 15 | width: double.infinity, 16 | decoration: BoxDecoration( 17 | borderRadius: BorderRadius.circular(15), 18 | color: Colors.white, 19 | boxShadow: [ 20 | BoxShadow( 21 | color: taskCount == 0 ? const Color.fromRGBO(253, 87, 76, 1).withOpacity(0.2) : Colors.greenAccent.withOpacity(0.2), 22 | spreadRadius: 5, 23 | blurRadius: 7, 24 | offset: const Offset(0, 3), 25 | ), 26 | ], 27 | ), 28 | child: Column( 29 | mainAxisAlignment: MainAxisAlignment.center, 30 | children: [ 31 | Row( 32 | mainAxisAlignment: MainAxisAlignment.spaceAround, 33 | children: [ 34 | Padding( 35 | padding: const EdgeInsets.only(left: 15), 36 | child: CircularPercentIndicator( 37 | radius: 65.0, 38 | lineWidth: 7.0, 39 | percent: 1, 40 | animation: true, 41 | animationDuration: 2400, 42 | center: Text( 43 | taskCount.toString(), 44 | style: const TextStyle( 45 | fontSize: 18, 46 | letterSpacing: 1.9, 47 | color: Colors.black, 48 | fontWeight: FontWeight.bold, 49 | fontFamily: "Poppins"), 50 | ), 51 | progressColor: taskCount == 0 ? const Color.fromRGBO(253, 87, 76, 1) : Colors.greenAccent, 52 | circularStrokeCap: CircularStrokeCap.round, 53 | ), 54 | ), 55 | Padding( 56 | padding: const EdgeInsets.only(right: 15), 57 | child: RichText( 58 | text: TextSpan(children: [ 59 | TextSpan( 60 | text: "Daily Tasks\n", 61 | style: TextStyle( 62 | fontSize: 16.sp, 63 | fontWeight: FontWeight.bold, 64 | fontFamily: "Poppins", 65 | color: 66 | Colors.black //Color.fromRGBO(255, 216, 59, 1), 67 | ), 68 | ), 69 | TextSpan( 70 | text: taskCount == 0 ? "You can do it!" : "You've done it!", 71 | style: TextStyle( 72 | fontSize: 11.7.sp, 73 | fontWeight: FontWeight.bold, 74 | fontFamily: "Poppins", 75 | height: 1.5, 76 | color: Colors.grey, 77 | ), 78 | ), 79 | ]), 80 | ), 81 | ), 82 | ], 83 | ), 84 | ], 85 | ), 86 | ), 87 | ); 88 | } 89 | } 90 | -------------------------------------------------------------------------------- /lib/presentation/widgets/overview/slide_left_bacground.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class SlideLeftBackground extends StatelessWidget { 4 | const SlideLeftBackground({ 5 | Key key, 6 | }) : super(key: key); 7 | 8 | @override 9 | Widget build(BuildContext context) { 10 | return Padding( 11 | padding: const EdgeInsets.only(right: 30), 12 | child: Container( 13 | color: Colors.white, 14 | child: Column( 15 | mainAxisAlignment: MainAxisAlignment.center, 16 | children: [ 17 | Row( 18 | mainAxisAlignment: MainAxisAlignment.end, 19 | children: [ 20 | Container( 21 | width: 45, 22 | height: 45, 23 | decoration: BoxDecoration( 24 | color: Colors.green, 25 | borderRadius: BorderRadius.circular(15), 26 | border: 27 | Border.all(color: Colors.grey.withAlpha(40), width: 2)), 28 | padding: const EdgeInsets.only(top: 1, right: 3), 29 | child: const Icon( 30 | Icons.done_all_rounded, 31 | color: Colors.white, 32 | size: 23, 33 | ), 34 | ), 35 | ], 36 | ), 37 | ], 38 | ), 39 | ), 40 | ); 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /lib/presentation/widgets/overview/task_bubble.dart: -------------------------------------------------------------------------------- 1 | import 'package:animate_do/animate_do.dart'; 2 | import 'package:flutter/material.dart'; 3 | import 'package:sizer/sizer.dart'; 4 | 5 | class TaskBubble extends StatelessWidget { 6 | final String title; 7 | final String desc; 8 | final Color color; 9 | 10 | const TaskBubble({Key key, this.title, this.desc, this.color}) 11 | : super(key: key); 12 | 13 | @override 14 | Widget build(BuildContext context) { 15 | return Padding( 16 | padding: EdgeInsets.only(left: 9.w, right: 9.w, top: 4.h), 17 | child: Container( 18 | decoration: BoxDecoration( 19 | borderRadius: BorderRadius.circular(20), 20 | color: color, 21 | boxShadow: [ 22 | BoxShadow( 23 | color: color.withOpacity(0.2), 24 | spreadRadius: 5, 25 | blurRadius: 7, 26 | offset: const Offset(0, 3), 27 | ), 28 | ], 29 | ), 30 | child: Column( 31 | mainAxisAlignment: MainAxisAlignment.center, 32 | children: [ 33 | Row( 34 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 35 | crossAxisAlignment: CrossAxisAlignment.start, 36 | children: [ 37 | Expanded( 38 | child: Row( 39 | mainAxisAlignment: MainAxisAlignment.start, 40 | children: [ 41 | Flexible( 42 | child: Column( 43 | crossAxisAlignment: CrossAxisAlignment.start, 44 | children: [ 45 | Padding( 46 | padding: const EdgeInsets.only( 47 | left: 40, top: 25, right: 30), 48 | child: Text(title ?? "", 49 | style: TextStyle( 50 | color: Colors.white, 51 | fontSize: 15.7.sp, 52 | letterSpacing: 0.8, 53 | fontWeight: FontWeight.bold, 54 | fontFamily: "Poppins")), 55 | ), 56 | Padding( 57 | padding: const EdgeInsets.only( 58 | left: 40, top: 10, bottom: 25, right: 30), 59 | child: Text( 60 | desc ?? "", 61 | style: TextStyle( 62 | fontFamily: "Poppins", 63 | fontSize: 10.5.sp, 64 | letterSpacing: 0.4, 65 | color: Colors.white), 66 | ), 67 | ), 68 | ]), 69 | ), 70 | ]), 71 | ), 72 | ZoomIn( 73 | duration: const Duration(seconds: 2), 74 | child: const Padding( 75 | padding: EdgeInsets.only(top: 20, right: 15), 76 | child: Icon( 77 | Icons.design_services, 78 | color: Colors.white, 79 | ), 80 | ), 81 | ), 82 | ], 83 | ), 84 | ], 85 | ), 86 | ), 87 | ); 88 | } 89 | } 90 | -------------------------------------------------------------------------------- /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 | url: "https://pub.dartlang.org" 9 | source: hosted 10 | version: "2.0.0" 11 | animated_text_kit: 12 | dependency: "direct main" 13 | description: 14 | name: animated_text_kit 15 | url: "https://pub.dartlang.org" 16 | source: hosted 17 | version: "4.2.1" 18 | archive: 19 | dependency: transitive 20 | description: 21 | name: archive 22 | url: "https://pub.dartlang.org" 23 | source: hosted 24 | version: "3.1.6" 25 | args: 26 | dependency: transitive 27 | description: 28 | name: args 29 | url: "https://pub.dartlang.org" 30 | source: hosted 31 | version: "2.3.0" 32 | async: 33 | dependency: transitive 34 | description: 35 | name: async 36 | url: "https://pub.dartlang.org" 37 | source: hosted 38 | version: "2.8.1" 39 | boolean_selector: 40 | dependency: transitive 41 | description: 42 | name: boolean_selector 43 | url: "https://pub.dartlang.org" 44 | source: hosted 45 | version: "2.1.0" 46 | characters: 47 | dependency: transitive 48 | description: 49 | name: characters 50 | url: "https://pub.dartlang.org" 51 | source: hosted 52 | version: "1.1.0" 53 | charcode: 54 | dependency: transitive 55 | description: 56 | name: charcode 57 | url: "https://pub.dartlang.org" 58 | source: hosted 59 | version: "1.3.1" 60 | clock: 61 | dependency: transitive 62 | description: 63 | name: clock 64 | url: "https://pub.dartlang.org" 65 | source: hosted 66 | version: "1.1.0" 67 | collection: 68 | dependency: transitive 69 | description: 70 | name: collection 71 | url: "https://pub.dartlang.org" 72 | source: hosted 73 | version: "1.15.0" 74 | crypto: 75 | dependency: transitive 76 | description: 77 | name: crypto 78 | url: "https://pub.dartlang.org" 79 | source: hosted 80 | version: "3.0.1" 81 | cupertino_icons: 82 | dependency: "direct main" 83 | description: 84 | name: cupertino_icons 85 | url: "https://pub.dartlang.org" 86 | source: hosted 87 | version: "1.0.3" 88 | fake_async: 89 | dependency: transitive 90 | description: 91 | name: fake_async 92 | url: "https://pub.dartlang.org" 93 | source: hosted 94 | version: "1.2.0" 95 | flutter: 96 | dependency: "direct main" 97 | description: flutter 98 | source: sdk 99 | version: "0.0.0" 100 | flutter_launcher_icons: 101 | dependency: "direct dev" 102 | description: 103 | name: flutter_launcher_icons 104 | url: "https://pub.dartlang.org" 105 | source: hosted 106 | version: "0.9.2" 107 | flutter_lints: 108 | dependency: "direct dev" 109 | description: 110 | name: flutter_lints 111 | url: "https://pub.dartlang.org" 112 | source: hosted 113 | version: "1.0.4" 114 | flutter_svg: 115 | dependency: "direct main" 116 | description: 117 | name: flutter_svg 118 | url: "https://pub.dartlang.org" 119 | source: hosted 120 | version: "0.23.0+1" 121 | flutter_test: 122 | dependency: "direct dev" 123 | description: flutter 124 | source: sdk 125 | version: "0.0.0" 126 | image: 127 | dependency: transitive 128 | description: 129 | name: image 130 | url: "https://pub.dartlang.org" 131 | source: hosted 132 | version: "3.0.8" 133 | lints: 134 | dependency: transitive 135 | description: 136 | name: lints 137 | url: "https://pub.dartlang.org" 138 | source: hosted 139 | version: "1.0.1" 140 | matcher: 141 | dependency: transitive 142 | description: 143 | name: matcher 144 | url: "https://pub.dartlang.org" 145 | source: hosted 146 | version: "0.12.10" 147 | meta: 148 | dependency: transitive 149 | description: 150 | name: meta 151 | url: "https://pub.dartlang.org" 152 | source: hosted 153 | version: "1.7.0" 154 | path: 155 | dependency: transitive 156 | description: 157 | name: path 158 | url: "https://pub.dartlang.org" 159 | source: hosted 160 | version: "1.8.0" 161 | path_drawing: 162 | dependency: transitive 163 | description: 164 | name: path_drawing 165 | url: "https://pub.dartlang.org" 166 | source: hosted 167 | version: "0.5.1+1" 168 | path_parsing: 169 | dependency: transitive 170 | description: 171 | name: path_parsing 172 | url: "https://pub.dartlang.org" 173 | source: hosted 174 | version: "0.2.1" 175 | percent_indicator: 176 | dependency: "direct main" 177 | description: 178 | name: percent_indicator 179 | url: "https://pub.dartlang.org" 180 | source: hosted 181 | version: "3.4.0" 182 | petitparser: 183 | dependency: transitive 184 | description: 185 | name: petitparser 186 | url: "https://pub.dartlang.org" 187 | source: hosted 188 | version: "4.4.0" 189 | sizer: 190 | dependency: "direct main" 191 | description: 192 | name: sizer 193 | url: "https://pub.dartlang.org" 194 | source: hosted 195 | version: "2.0.15" 196 | sky_engine: 197 | dependency: transitive 198 | description: flutter 199 | source: sdk 200 | version: "0.0.99" 201 | source_span: 202 | dependency: transitive 203 | description: 204 | name: source_span 205 | url: "https://pub.dartlang.org" 206 | source: hosted 207 | version: "1.8.1" 208 | splashscreen: 209 | dependency: "direct main" 210 | description: 211 | name: splashscreen 212 | url: "https://pub.dartlang.org" 213 | source: hosted 214 | version: "1.3.5" 215 | sqflite: 216 | dependency: "direct main" 217 | description: 218 | name: sqflite 219 | url: "https://pub.dartlang.org" 220 | source: hosted 221 | version: "2.0.0+4" 222 | sqflite_common: 223 | dependency: transitive 224 | description: 225 | name: sqflite_common 226 | url: "https://pub.dartlang.org" 227 | source: hosted 228 | version: "2.0.1+1" 229 | stack_trace: 230 | dependency: transitive 231 | description: 232 | name: stack_trace 233 | url: "https://pub.dartlang.org" 234 | source: hosted 235 | version: "1.10.0" 236 | stream_channel: 237 | dependency: transitive 238 | description: 239 | name: stream_channel 240 | url: "https://pub.dartlang.org" 241 | source: hosted 242 | version: "2.1.0" 243 | string_scanner: 244 | dependency: transitive 245 | description: 246 | name: string_scanner 247 | url: "https://pub.dartlang.org" 248 | source: hosted 249 | version: "1.1.0" 250 | synchronized: 251 | dependency: transitive 252 | description: 253 | name: synchronized 254 | url: "https://pub.dartlang.org" 255 | source: hosted 256 | version: "3.0.0" 257 | term_glyph: 258 | dependency: transitive 259 | description: 260 | name: term_glyph 261 | url: "https://pub.dartlang.org" 262 | source: hosted 263 | version: "1.2.0" 264 | test_api: 265 | dependency: transitive 266 | description: 267 | name: test_api 268 | url: "https://pub.dartlang.org" 269 | source: hosted 270 | version: "0.4.2" 271 | typed_data: 272 | dependency: transitive 273 | description: 274 | name: typed_data 275 | url: "https://pub.dartlang.org" 276 | source: hosted 277 | version: "1.3.0" 278 | universal_io: 279 | dependency: transitive 280 | description: 281 | name: universal_io 282 | url: "https://pub.dartlang.org" 283 | source: hosted 284 | version: "2.0.4" 285 | vector_math: 286 | dependency: transitive 287 | description: 288 | name: vector_math 289 | url: "https://pub.dartlang.org" 290 | source: hosted 291 | version: "2.1.0" 292 | xml: 293 | dependency: transitive 294 | description: 295 | name: xml 296 | url: "https://pub.dartlang.org" 297 | source: hosted 298 | version: "5.3.1" 299 | yaml: 300 | dependency: transitive 301 | description: 302 | name: yaml 303 | url: "https://pub.dartlang.org" 304 | source: hosted 305 | version: "3.1.0" 306 | sdks: 307 | dart: ">=2.14.0 <3.0.0" 308 | flutter: ">=1.24.0-7.0" 309 | -------------------------------------------------------------------------------- /pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: todo_app 2 | description: A new Flutter project. 3 | 4 | # The following line prevents the package from being accidentally published to 5 | # pub.dev using `flutter 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+2 19 | 20 | environment: 21 | sdk: ">=2.11.0 <3.0.0" 22 | 23 | # Dependencies specify other packages that your package needs in order to work. 24 | # To automatically upgrade your package dependencies to the latest versions 25 | # consider running `flutter pub upgrade --major-versions`. Alternatively, 26 | # dependencies can be manually updated by changing the version numbers below to 27 | # the latest version available on pub.dev. To see which dependencies have newer 28 | # versions available, run `flutter pub outdated`. 29 | dependencies: 30 | flutter: 31 | sdk: flutter 32 | 33 | 34 | # The following adds the Cupertino Icons font to your application. 35 | # Use with the CupertinoIcons class for iOS style icons. 36 | cupertino_icons: ^1.0.2 37 | sqflite: ^2.0.0+4 38 | flutter_svg: ^0.23.0+1 39 | percent_indicator: ^3.4.0 40 | sizer: ^2.0.15 41 | animate_do: ^2.0.0 42 | animated_text_kit: ^4.2.1 43 | splashscreen: ^1.3.5 44 | dev_dependencies: 45 | flutter_test: 46 | sdk: flutter 47 | flutter_launcher_icons: ^0.9.2 48 | flutter_lints: ^1.0.4 49 | flutter_icons: 50 | android: "launcher_icon" 51 | image_path: "dev_assets/splashlogo.png" 52 | # The "flutter_lints" package below contains a set of recommended lints to 53 | # encourage good coding practices. The lint set provided by the package is 54 | # activated in the `analysis_options.yaml` file located at the root of your 55 | # package. See that file for information about deactivating specific lint 56 | # rules and activating additional ones. 57 | flutter_lints: ^1.0.0 58 | 59 | # For information on the generic Dart part of this file, see the 60 | # following page: https://dart.dev/tools/pub/pubspec 61 | 62 | # The following section is specific to Flutter. 63 | flutter: 64 | 65 | # The following line ensures that the Material Icons font is 66 | # included with your application, so that you can use the icons in 67 | # the material Icons class. 68 | uses-material-design: true 69 | 70 | # To add assets to your application, add an assets section, like this: 71 | assets: 72 | - assets/images/ 73 | - dev_assets/ 74 | # - images/a_dot_ham.jpeg 75 | 76 | # An image asset can refer to one or more resolution-specific "variants", see 77 | # https://flutter.dev/assets-and-images/#resolution-aware. 78 | 79 | # For details regarding adding assets from package dependencies, see 80 | # https://flutter.dev/assets-and-images/#from-packages 81 | 82 | # To add custom fonts to your application, add a fonts section here, 83 | # in this "flutter" section. Each entry in this list should have a 84 | # "family" key with the font family name, and a "fonts" key with a 85 | # list giving the asset and other descriptors for the font. For 86 | # example: 87 | fonts: 88 | - family: KronaOne 89 | fonts: 90 | - asset: assets/fonts/KronaOne-Regular.ttf 91 | - family: Poppins 92 | fonts: 93 | - asset: assets/fonts/Poppins-Light.ttf 94 | - asset: assets/fonts/Poppins-Regular.ttf 95 | weight: 600 96 | # fonts: 97 | # - family: Schyler 98 | # fonts: 99 | # - asset: fonts/Schyler-Regular.ttf 100 | # - asset: fonts/Schyler-Italic.ttf 101 | # style: italic 102 | # - family: Trajan Pro 103 | # fonts: 104 | # - asset: fonts/TrajanPro.ttf 105 | # - asset: fonts/TrajanPro_Bold.ttf 106 | # weight: 700 107 | # 108 | # For details regarding fonts from package dependencies, 109 | # see https://flutter.dev/custom-fonts/#from-packages 110 | -------------------------------------------------------------------------------- /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 | import 'package:todo_app/app.dart'; 11 | 12 | void main() { 13 | testWidgets('Counter increments smoke test', (WidgetTester tester) async { 14 | // Build our app and trigger a frame. 15 | await tester.pumpWidget(const MyApp()); 16 | 17 | // Verify that our counter starts at 0. 18 | expect(find.text('0'), findsOneWidget); 19 | expect(find.text('1'), findsNothing); 20 | 21 | // Tap the '+' icon and trigger a frame. 22 | await tester.tap(find.byIcon(Icons.add)); 23 | await tester.pump(); 24 | 25 | // Verify that our counter has incremented. 26 | expect(find.text('0'), findsNothing); 27 | expect(find.text('1'), findsOneWidget); 28 | }); 29 | } 30 | -------------------------------------------------------------------------------- /web/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iamnijat/task-manager/5cbe85f64431ff82027184c7176caa27122a181a/web/favicon.png -------------------------------------------------------------------------------- /web/icons/Icon-192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iamnijat/task-manager/5cbe85f64431ff82027184c7176caa27122a181a/web/icons/Icon-192.png -------------------------------------------------------------------------------- /web/icons/Icon-512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iamnijat/task-manager/5cbe85f64431ff82027184c7176caa27122a181a/web/icons/Icon-512.png -------------------------------------------------------------------------------- /web/icons/Icon-maskable-192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iamnijat/task-manager/5cbe85f64431ff82027184c7176caa27122a181a/web/icons/Icon-maskable-192.png -------------------------------------------------------------------------------- /web/icons/Icon-maskable-512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iamnijat/task-manager/5cbe85f64431ff82027184c7176caa27122a181a/web/icons/Icon-maskable-512.png -------------------------------------------------------------------------------- /web/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | todo_app 30 | 31 | 32 | 33 | 36 | 100 | 101 | 102 | -------------------------------------------------------------------------------- /web/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "todo_app", 3 | "short_name": "todo_app", 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 | "src": "icons/Icon-maskable-192.png", 24 | "sizes": "192x192", 25 | "type": "image/png", 26 | "purpose": "maskable" 27 | }, 28 | { 29 | "src": "icons/Icon-maskable-512.png", 30 | "sizes": "512x512", 31 | "type": "image/png", 32 | "purpose": "maskable" 33 | } 34 | ] 35 | } 36 | --------------------------------------------------------------------------------