diff --git a/todolite/.gitignore b/todolite/.gitignore
new file mode 100644
index 00000000..b1480c9b
--- /dev/null
+++ b/todolite/.gitignore
@@ -0,0 +1,48 @@
+# Miscellaneous
+*.class
+*.log
+*.pyc
+*.swp
+.DS_Store
+.atom/
+.buildlog/
+.history
+.svn/
+
+**android/key.properties
+
+# IntelliJ related
+*.iml
+*.ipr
+*.iws
+.idea/
+
+# The .vscode folder contains launch configuration and tasks you configure in
+# VS Code which you may wish to be included in version control, so this line
+# is commented out by default.
+#.vscode/
+
+# Flutter/Dart/Pub related
+**/doc/api/
+**/ios/Flutter/.last_build_id
+.dart_tool/
+.flutter-plugins
+.flutter-plugins-dependencies
+.packages
+.pub-cache/
+.pub/
+/build/
+
+# Web related
+lib/generated_plugin_registrant.dart
+
+# Symbolication related
+app.*.symbols
+
+# Obfuscation related
+app.*.map.json
+
+# Android Studio will place build artifacts here
+/android/app/debug
+/android/app/profile
+/android/app/release
diff --git a/todolite/.metadata b/todolite/.metadata
new file mode 100644
index 00000000..526e166a
--- /dev/null
+++ b/todolite/.metadata
@@ -0,0 +1,10 @@
+# This file tracks properties of this Flutter project.
+# Used by Flutter tool to assess capabilities and perform upgrades etc.
+#
+# This file should be version controlled and should not be manually edited.
+
+version:
+ revision: 60bd88df915880d23877bfc1602e8ddcf4c4dd2a
+ channel: stable
+
+project_type: app
diff --git a/todolite/README.md b/todolite/README.md
new file mode 100644
index 00000000..8fae17e5
--- /dev/null
+++ b/todolite/README.md
@@ -0,0 +1,8 @@
+# todolite
+
+TodoLite is a Minimalistic Todolist app that helps you to get things done.It has a simple and intuitive UI that helps you to focus on what really matters, just create tasks and set reminders.
+
+
+
+
+
\ No newline at end of file
diff --git a/todolite/android/.gitignore b/todolite/android/.gitignore
new file mode 100644
index 00000000..0a741cb4
--- /dev/null
+++ b/todolite/android/.gitignore
@@ -0,0 +1,11 @@
+gradle-wrapper.jar
+/.gradle
+/captures/
+/gradlew
+/gradlew.bat
+/local.properties
+GeneratedPluginRegistrant.java
+
+# Remember to never publicly share your keystore.
+# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app
+key.properties
diff --git a/todolite/android/app/build.gradle b/todolite/android/app/build.gradle
new file mode 100644
index 00000000..afca477f
--- /dev/null
+++ b/todolite/android/app/build.gradle
@@ -0,0 +1,79 @@
+def localProperties = new Properties()
+def localPropertiesFile = rootProject.file('local.properties')
+if (localPropertiesFile.exists()) {
+ localPropertiesFile.withReader('UTF-8') { reader ->
+ localProperties.load(reader)
+ }
+}
+
+def flutterRoot = localProperties.getProperty('flutter.sdk')
+if (flutterRoot == null) {
+ throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
+}
+
+def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
+if (flutterVersionCode == null) {
+ flutterVersionCode = '1'
+}
+
+def flutterVersionName = localProperties.getProperty('flutter.versionName')
+if (flutterVersionName == null) {
+ flutterVersionName = '1.0'
+}
+
+apply plugin: 'com.android.application'
+apply plugin: 'kotlin-android'
+apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
+
+def keystoreProperties = new Properties()
+ def keystorePropertiesFile = rootProject.file('key.properties')
+ if (keystorePropertiesFile.exists()) {
+ keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
+ }
+
+ android {
+ compileSdkVersion 30
+
+ sourceSets {
+ main.java.srcDirs += 'src/main/kotlin'
+ }
+
+ defaultConfig {
+ // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
+ applicationId "com.akshajdev.todolite"
+ minSdkVersion 16
+ targetSdkVersion 30
+ versionCode flutterVersionCode.toInteger()
+ versionName flutterVersionName
+ }
+
+ signingConfigs {
+ release {
+ keyAlias keystoreProperties['keyAlias']
+ keyPassword keystoreProperties['keyPassword']
+ storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
+ storePassword keystoreProperties['storePassword']
+ }
+ }
+ buildTypes {
+ release {
+ minifyEnabled true
+ shrinkResources true
+ signingConfig signingConfigs.release
+
+ }
+ }
+
+ }
+
+
+
+
+flutter {
+ source '../..'
+}
+
+dependencies {
+ implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
+}
+
diff --git a/todolite/android/app/src/debug/AndroidManifest.xml b/todolite/android/app/src/debug/AndroidManifest.xml
new file mode 100644
index 00000000..1fb1354c
--- /dev/null
+++ b/todolite/android/app/src/debug/AndroidManifest.xml
@@ -0,0 +1,7 @@
+
+
+
+
diff --git a/todolite/android/app/src/main/AndroidManifest.xml b/todolite/android/app/src/main/AndroidManifest.xml
new file mode 100644
index 00000000..59a5976f
--- /dev/null
+++ b/todolite/android/app/src/main/AndroidManifest.xml
@@ -0,0 +1,41 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/todolite/android/app/src/main/kotlin/com/example/todolite/MainActivity.kt b/todolite/android/app/src/main/kotlin/com/example/todolite/MainActivity.kt
new file mode 100644
index 00000000..fd9b88a7
--- /dev/null
+++ b/todolite/android/app/src/main/kotlin/com/example/todolite/MainActivity.kt
@@ -0,0 +1,6 @@
+package com.akshajdev.todolite
+
+import io.flutter.embedding.android.FlutterActivity
+
+class MainActivity: FlutterActivity() {
+}
diff --git a/todolite/android/app/src/main/res/app_icon.png b/todolite/android/app/src/main/res/app_icon.png
new file mode 100644
index 00000000..3d4da566
Binary files /dev/null and b/todolite/android/app/src/main/res/app_icon.png differ
diff --git a/todolite/android/app/src/main/res/drawable-v21/app_icon.png b/todolite/android/app/src/main/res/drawable-v21/app_icon.png
new file mode 100644
index 00000000..3d4da566
Binary files /dev/null and b/todolite/android/app/src/main/res/drawable-v21/app_icon.png differ
diff --git a/todolite/android/app/src/main/res/drawable-v21/launch_background.xml b/todolite/android/app/src/main/res/drawable-v21/launch_background.xml
new file mode 100644
index 00000000..3148299f
--- /dev/null
+++ b/todolite/android/app/src/main/res/drawable-v21/launch_background.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
diff --git a/todolite/android/app/src/main/res/drawable/launch_background.xml b/todolite/android/app/src/main/res/drawable/launch_background.xml
new file mode 100644
index 00000000..304732f8
--- /dev/null
+++ b/todolite/android/app/src/main/res/drawable/launch_background.xml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
diff --git a/todolite/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/todolite/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
new file mode 100644
index 00000000..0a30d423
Binary files /dev/null and b/todolite/android/app/src/main/res/mipmap-hdpi/ic_launcher.png differ
diff --git a/todolite/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/todolite/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
new file mode 100644
index 00000000..bb9dffd9
Binary files /dev/null and b/todolite/android/app/src/main/res/mipmap-mdpi/ic_launcher.png differ
diff --git a/todolite/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/todolite/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
new file mode 100644
index 00000000..664c70aa
Binary files /dev/null and b/todolite/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ
diff --git a/todolite/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/todolite/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
new file mode 100644
index 00000000..888d02ae
Binary files /dev/null and b/todolite/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ
diff --git a/todolite/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/todolite/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
new file mode 100644
index 00000000..eae4f80d
Binary files /dev/null and b/todolite/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ
diff --git a/todolite/android/app/src/main/res/values-night/styles.xml b/todolite/android/app/src/main/res/values-night/styles.xml
new file mode 100644
index 00000000..178a4d52
--- /dev/null
+++ b/todolite/android/app/src/main/res/values-night/styles.xml
@@ -0,0 +1,19 @@
+
+
+
+
+
+
+
diff --git a/todolite/android/app/src/main/res/values/styles.xml b/todolite/android/app/src/main/res/values/styles.xml
new file mode 100644
index 00000000..b8b4f13d
--- /dev/null
+++ b/todolite/android/app/src/main/res/values/styles.xml
@@ -0,0 +1,19 @@
+
+
+
+
+
+
+
diff --git a/todolite/android/app/src/profile/AndroidManifest.xml b/todolite/android/app/src/profile/AndroidManifest.xml
new file mode 100644
index 00000000..cd572c5a
--- /dev/null
+++ b/todolite/android/app/src/profile/AndroidManifest.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
diff --git a/todolite/android/build.gradle b/todolite/android/build.gradle
new file mode 100644
index 00000000..f87dfe79
--- /dev/null
+++ b/todolite/android/build.gradle
@@ -0,0 +1,33 @@
+buildscript {
+ ext.kotlin_version = '1.3.50'
+ repositories {
+ google()
+ jcenter()
+ }
+
+ dependencies {
+ classpath 'com.android.tools.build:gradle:4.1.0'
+ classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
+ }
+}
+
+allprojects {
+ repositories {
+ google()
+ jcenter()
+ }
+}
+
+rootProject.buildDir = '../build'
+subprojects {
+ project.buildDir = "${rootProject.buildDir}/${project.name}"
+}
+subprojects {
+ project.evaluationDependsOn(':app')
+}
+
+task clean(type: Delete) {
+ delete rootProject.buildDir
+}
+
+
\ No newline at end of file
diff --git a/todolite/android/gradle.properties b/todolite/android/gradle.properties
new file mode 100644
index 00000000..562dc792
--- /dev/null
+++ b/todolite/android/gradle.properties
@@ -0,0 +1,4 @@
+org.gradle.jvmargs=-Xmx1536M
+android.useAndroidX=true
+android.enableJetifier=true
+target-platform=android-arm
\ No newline at end of file
diff --git a/todolite/android/gradle/wrapper/gradle-wrapper.properties b/todolite/android/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 00000000..90f271df
--- /dev/null
+++ b/todolite/android/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Fri Jun 23 08:50:38 CEST 2017
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-all.zip
diff --git a/todolite/android/settings.gradle b/todolite/android/settings.gradle
new file mode 100644
index 00000000..44e62bcf
--- /dev/null
+++ b/todolite/android/settings.gradle
@@ -0,0 +1,11 @@
+include ':app'
+
+def localPropertiesFile = new File(rootProject.projectDir, "local.properties")
+def properties = new Properties()
+
+assert localPropertiesFile.exists()
+localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) }
+
+def flutterSdkPath = properties.getProperty("flutter.sdk")
+assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
+apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle"
diff --git a/todolite/android/settings_aar.gradle b/todolite/android/settings_aar.gradle
new file mode 100644
index 00000000..e7b4def4
--- /dev/null
+++ b/todolite/android/settings_aar.gradle
@@ -0,0 +1 @@
+include ':app'
diff --git a/todolite/assets/app_icon.png b/todolite/assets/app_icon.png
new file mode 100644
index 00000000..feae088d
Binary files /dev/null and b/todolite/assets/app_icon.png differ
diff --git a/todolite/assets/fonts/open_sans/OpenSans-Bold.ttf b/todolite/assets/fonts/open_sans/OpenSans-Bold.ttf
new file mode 100644
index 00000000..efdd5e84
Binary files /dev/null and b/todolite/assets/fonts/open_sans/OpenSans-Bold.ttf differ
diff --git a/todolite/assets/fonts/open_sans/OpenSans-BoldItalic.ttf b/todolite/assets/fonts/open_sans/OpenSans-BoldItalic.ttf
new file mode 100644
index 00000000..9bf9b4e9
Binary files /dev/null and b/todolite/assets/fonts/open_sans/OpenSans-BoldItalic.ttf differ
diff --git a/todolite/assets/fonts/open_sans/OpenSans-ExtraBold.ttf b/todolite/assets/fonts/open_sans/OpenSans-ExtraBold.ttf
new file mode 100644
index 00000000..67fcf0fb
Binary files /dev/null and b/todolite/assets/fonts/open_sans/OpenSans-ExtraBold.ttf differ
diff --git a/todolite/assets/fonts/open_sans/OpenSans-ExtraBoldItalic.ttf b/todolite/assets/fonts/open_sans/OpenSans-ExtraBoldItalic.ttf
new file mode 100644
index 00000000..08672280
Binary files /dev/null and b/todolite/assets/fonts/open_sans/OpenSans-ExtraBoldItalic.ttf differ
diff --git a/todolite/assets/fonts/open_sans/OpenSans-Italic.ttf b/todolite/assets/fonts/open_sans/OpenSans-Italic.ttf
new file mode 100644
index 00000000..11785670
Binary files /dev/null and b/todolite/assets/fonts/open_sans/OpenSans-Italic.ttf differ
diff --git a/todolite/assets/fonts/open_sans/OpenSans-Light.ttf b/todolite/assets/fonts/open_sans/OpenSans-Light.ttf
new file mode 100644
index 00000000..6580d3a1
Binary files /dev/null and b/todolite/assets/fonts/open_sans/OpenSans-Light.ttf differ
diff --git a/todolite/assets/fonts/open_sans/OpenSans-LightItalic.ttf b/todolite/assets/fonts/open_sans/OpenSans-LightItalic.ttf
new file mode 100644
index 00000000..1e0c3319
Binary files /dev/null and b/todolite/assets/fonts/open_sans/OpenSans-LightItalic.ttf differ
diff --git a/todolite/assets/fonts/open_sans/OpenSans-Regular.ttf b/todolite/assets/fonts/open_sans/OpenSans-Regular.ttf
new file mode 100644
index 00000000..29bfd35a
Binary files /dev/null and b/todolite/assets/fonts/open_sans/OpenSans-Regular.ttf differ
diff --git a/todolite/assets/fonts/open_sans/OpenSans-SemiBold.ttf b/todolite/assets/fonts/open_sans/OpenSans-SemiBold.ttf
new file mode 100644
index 00000000..54e7059c
Binary files /dev/null and b/todolite/assets/fonts/open_sans/OpenSans-SemiBold.ttf differ
diff --git a/todolite/assets/fonts/open_sans/OpenSans-SemiBoldItalic.ttf b/todolite/assets/fonts/open_sans/OpenSans-SemiBoldItalic.ttf
new file mode 100644
index 00000000..aebcf142
Binary files /dev/null and b/todolite/assets/fonts/open_sans/OpenSans-SemiBoldItalic.ttf differ
diff --git a/todolite/assets/fonts/robot_condensed/RobotoCondensed-Bold.ttf b/todolite/assets/fonts/robot_condensed/RobotoCondensed-Bold.ttf
new file mode 100644
index 00000000..7fe31289
Binary files /dev/null and b/todolite/assets/fonts/robot_condensed/RobotoCondensed-Bold.ttf differ
diff --git a/todolite/assets/fonts/robot_condensed/RobotoCondensed-BoldItalic.ttf b/todolite/assets/fonts/robot_condensed/RobotoCondensed-BoldItalic.ttf
new file mode 100644
index 00000000..52ef6f37
Binary files /dev/null and b/todolite/assets/fonts/robot_condensed/RobotoCondensed-BoldItalic.ttf differ
diff --git a/todolite/assets/fonts/robot_condensed/RobotoCondensed-Italic.ttf b/todolite/assets/fonts/robot_condensed/RobotoCondensed-Italic.ttf
new file mode 100644
index 00000000..12216d67
Binary files /dev/null and b/todolite/assets/fonts/robot_condensed/RobotoCondensed-Italic.ttf differ
diff --git a/todolite/assets/fonts/robot_condensed/RobotoCondensed-Light.ttf b/todolite/assets/fonts/robot_condensed/RobotoCondensed-Light.ttf
new file mode 100644
index 00000000..43dd8f42
Binary files /dev/null and b/todolite/assets/fonts/robot_condensed/RobotoCondensed-Light.ttf differ
diff --git a/todolite/assets/fonts/robot_condensed/RobotoCondensed-LightItalic.ttf b/todolite/assets/fonts/robot_condensed/RobotoCondensed-LightItalic.ttf
new file mode 100644
index 00000000..99d491b9
Binary files /dev/null and b/todolite/assets/fonts/robot_condensed/RobotoCondensed-LightItalic.ttf differ
diff --git a/todolite/assets/fonts/robot_condensed/RobotoCondensed-Regular.ttf b/todolite/assets/fonts/robot_condensed/RobotoCondensed-Regular.ttf
new file mode 100644
index 00000000..62dd61e5
Binary files /dev/null and b/todolite/assets/fonts/robot_condensed/RobotoCondensed-Regular.ttf differ
diff --git a/todolite/assets/logo.png b/todolite/assets/logo.png
new file mode 100644
index 00000000..dadb173e
Binary files /dev/null and b/todolite/assets/logo.png differ
diff --git a/todolite/assets/sounds/drip.wav b/todolite/assets/sounds/drip.wav
new file mode 100644
index 00000000..6f5fc416
Binary files /dev/null and b/todolite/assets/sounds/drip.wav differ
diff --git a/todolite/ios/.gitignore b/todolite/ios/.gitignore
new file mode 100644
index 00000000..e96ef602
--- /dev/null
+++ b/todolite/ios/.gitignore
@@ -0,0 +1,32 @@
+*.mode1v3
+*.mode2v3
+*.moved-aside
+*.pbxuser
+*.perspectivev3
+**/*sync/
+.sconsign.dblite
+.tags*
+**/.vagrant/
+**/DerivedData/
+Icon?
+**/Pods/
+**/.symlinks/
+profile
+xcuserdata
+**/.generated/
+Flutter/App.framework
+Flutter/Flutter.framework
+Flutter/Flutter.podspec
+Flutter/Generated.xcconfig
+Flutter/app.flx
+Flutter/app.zip
+Flutter/flutter_assets/
+Flutter/flutter_export_environment.sh
+ServiceDefinitions.json
+Runner/GeneratedPluginRegistrant.*
+
+# Exceptions to above rules.
+!default.mode1v3
+!default.mode2v3
+!default.pbxuser
+!default.perspectivev3
diff --git a/todolite/ios/Flutter/AppFrameworkInfo.plist b/todolite/ios/Flutter/AppFrameworkInfo.plist
new file mode 100644
index 00000000..9367d483
--- /dev/null
+++ b/todolite/ios/Flutter/AppFrameworkInfo.plist
@@ -0,0 +1,26 @@
+
+
+
+
+ CFBundleDevelopmentRegion
+ en
+ CFBundleExecutable
+ App
+ CFBundleIdentifier
+ io.flutter.flutter.app
+ CFBundleInfoDictionaryVersion
+ 6.0
+ CFBundleName
+ App
+ CFBundlePackageType
+ FMWK
+ CFBundleShortVersionString
+ 1.0
+ CFBundleSignature
+ ????
+ CFBundleVersion
+ 1.0
+ MinimumOSVersion
+ 8.0
+
+
diff --git a/todolite/ios/Flutter/Debug.xcconfig b/todolite/ios/Flutter/Debug.xcconfig
new file mode 100644
index 00000000..592ceee8
--- /dev/null
+++ b/todolite/ios/Flutter/Debug.xcconfig
@@ -0,0 +1 @@
+#include "Generated.xcconfig"
diff --git a/todolite/ios/Flutter/Release.xcconfig b/todolite/ios/Flutter/Release.xcconfig
new file mode 100644
index 00000000..592ceee8
--- /dev/null
+++ b/todolite/ios/Flutter/Release.xcconfig
@@ -0,0 +1 @@
+#include "Generated.xcconfig"
diff --git a/todolite/ios/Runner.xcodeproj/project.pbxproj b/todolite/ios/Runner.xcodeproj/project.pbxproj
new file mode 100644
index 00000000..2ab2140a
--- /dev/null
+++ b/todolite/ios/Runner.xcodeproj/project.pbxproj
@@ -0,0 +1,471 @@
+// !$*UTF8*$!
+{
+ archiveVersion = 1;
+ classes = {
+ };
+ objectVersion = 46;
+ objects = {
+
+/* Begin PBXBuildFile section */
+ 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };
+ 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
+ 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; };
+ 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
+ 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
+ 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXCopyFilesBuildPhase section */
+ 9705A1C41CF9048500538489 /* Embed Frameworks */ = {
+ isa = PBXCopyFilesBuildPhase;
+ buildActionMask = 2147483647;
+ dstPath = "";
+ dstSubfolderSpec = 10;
+ files = (
+ );
+ name = "Embed Frameworks";
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXCopyFilesBuildPhase section */
+
+/* Begin PBXFileReference section */
+ 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; };
+ 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; };
+ 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; };
+ 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; };
+ 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
+ 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; };
+ 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; };
+ 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; };
+ 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; };
+ 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
+ 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
+ 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; };
+ 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+ 97C146EB1CF9000F007C117D /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+ 9740EEB11CF90186004384FC /* Flutter */ = {
+ isa = PBXGroup;
+ children = (
+ 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */,
+ 9740EEB21CF90195004384FC /* Debug.xcconfig */,
+ 7AFA3C8E1D35360C0083082E /* Release.xcconfig */,
+ 9740EEB31CF90195004384FC /* Generated.xcconfig */,
+ );
+ name = Flutter;
+ sourceTree = "";
+ };
+ 97C146E51CF9000F007C117D = {
+ isa = PBXGroup;
+ children = (
+ 9740EEB11CF90186004384FC /* Flutter */,
+ 97C146F01CF9000F007C117D /* Runner */,
+ 97C146EF1CF9000F007C117D /* Products */,
+ );
+ sourceTree = "";
+ };
+ 97C146EF1CF9000F007C117D /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ 97C146EE1CF9000F007C117D /* Runner.app */,
+ );
+ name = Products;
+ sourceTree = "";
+ };
+ 97C146F01CF9000F007C117D /* Runner */ = {
+ isa = PBXGroup;
+ children = (
+ 97C146FA1CF9000F007C117D /* Main.storyboard */,
+ 97C146FD1CF9000F007C117D /* Assets.xcassets */,
+ 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */,
+ 97C147021CF9000F007C117D /* Info.plist */,
+ 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */,
+ 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */,
+ 74858FAE1ED2DC5600515810 /* AppDelegate.swift */,
+ 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */,
+ );
+ path = Runner;
+ sourceTree = "";
+ };
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+ 97C146ED1CF9000F007C117D /* Runner */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
+ buildPhases = (
+ 9740EEB61CF901F6004384FC /* Run Script */,
+ 97C146EA1CF9000F007C117D /* Sources */,
+ 97C146EB1CF9000F007C117D /* Frameworks */,
+ 97C146EC1CF9000F007C117D /* Resources */,
+ 9705A1C41CF9048500538489 /* Embed Frameworks */,
+ 3B06AD1E1E4923F5004D2608 /* Thin Binary */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ );
+ name = Runner;
+ productName = Runner;
+ productReference = 97C146EE1CF9000F007C117D /* Runner.app */;
+ productType = "com.apple.product-type.application";
+ };
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+ 97C146E61CF9000F007C117D /* Project object */ = {
+ isa = PBXProject;
+ attributes = {
+ LastUpgradeCheck = 1020;
+ ORGANIZATIONNAME = "";
+ TargetAttributes = {
+ 97C146ED1CF9000F007C117D = {
+ CreatedOnToolsVersion = 7.3.1;
+ LastSwiftMigration = 1100;
+ };
+ };
+ };
+ buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */;
+ compatibilityVersion = "Xcode 9.3";
+ developmentRegion = en;
+ hasScannedForEncodings = 0;
+ knownRegions = (
+ en,
+ Base,
+ );
+ mainGroup = 97C146E51CF9000F007C117D;
+ productRefGroup = 97C146EF1CF9000F007C117D /* Products */;
+ projectDirPath = "";
+ projectRoot = "";
+ targets = (
+ 97C146ED1CF9000F007C117D /* Runner */,
+ );
+ };
+/* End PBXProject section */
+
+/* Begin PBXResourcesBuildPhase section */
+ 97C146EC1CF9000F007C117D /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */,
+ 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */,
+ 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */,
+ 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXResourcesBuildPhase section */
+
+/* Begin PBXShellScriptBuildPhase section */
+ 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ );
+ name = "Thin Binary";
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin";
+ };
+ 9740EEB61CF901F6004384FC /* Run Script */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ );
+ name = "Run Script";
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
+ };
+/* End PBXShellScriptBuildPhase section */
+
+/* Begin PBXSourcesBuildPhase section */
+ 97C146EA1CF9000F007C117D /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */,
+ 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXSourcesBuildPhase section */
+
+/* Begin PBXVariantGroup section */
+ 97C146FA1CF9000F007C117D /* Main.storyboard */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 97C146FB1CF9000F007C117D /* Base */,
+ );
+ name = Main.storyboard;
+ sourceTree = "";
+ };
+ 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 97C147001CF9000F007C117D /* Base */,
+ );
+ name = LaunchScreen.storyboard;
+ sourceTree = "";
+ };
+/* End PBXVariantGroup section */
+
+/* Begin XCBuildConfiguration section */
+ 249021D3217E4FDB00AE95B9 /* Profile */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ CLANG_ANALYZER_NONNULL = YES;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_MODULES = YES;
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
+ CLANG_WARN_BOOL_CONVERSION = YES;
+ CLANG_WARN_COMMA = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INFINITE_RECURSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
+ CLANG_WARN_UNREACHABLE_CODE = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ COPY_PHASE_STRIP = NO;
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+ ENABLE_NS_ASSERTIONS = NO;
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_NO_COMMON_BLOCKS = YES;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 9.0;
+ MTL_ENABLE_DEBUG_INFO = NO;
+ SDKROOT = iphoneos;
+ SUPPORTED_PLATFORMS = iphoneos;
+ TARGETED_DEVICE_FAMILY = "1,2";
+ VALIDATE_PRODUCT = YES;
+ };
+ name = Profile;
+ };
+ 249021D4217E4FDB00AE95B9 /* Profile */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ CLANG_ENABLE_MODULES = YES;
+ CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
+ ENABLE_BITCODE = NO;
+ INFOPLIST_FILE = Runner/Info.plist;
+ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
+ PRODUCT_BUNDLE_IDENTIFIER = com.example.todolite;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
+ SWIFT_VERSION = 5.0;
+ VERSIONING_SYSTEM = "apple-generic";
+ };
+ name = Profile;
+ };
+ 97C147031CF9000F007C117D /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ CLANG_ANALYZER_NONNULL = YES;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_MODULES = YES;
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
+ CLANG_WARN_BOOL_CONVERSION = YES;
+ CLANG_WARN_COMMA = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INFINITE_RECURSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
+ CLANG_WARN_UNREACHABLE_CODE = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ COPY_PHASE_STRIP = NO;
+ DEBUG_INFORMATION_FORMAT = dwarf;
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
+ ENABLE_TESTABILITY = YES;
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_NO_COMMON_BLOCKS = YES;
+ GCC_OPTIMIZATION_LEVEL = 0;
+ GCC_PREPROCESSOR_DEFINITIONS = (
+ "DEBUG=1",
+ "$(inherited)",
+ );
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 9.0;
+ MTL_ENABLE_DEBUG_INFO = YES;
+ ONLY_ACTIVE_ARCH = YES;
+ SDKROOT = iphoneos;
+ TARGETED_DEVICE_FAMILY = "1,2";
+ };
+ name = Debug;
+ };
+ 97C147041CF9000F007C117D /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ CLANG_ANALYZER_NONNULL = YES;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_MODULES = YES;
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
+ CLANG_WARN_BOOL_CONVERSION = YES;
+ CLANG_WARN_COMMA = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INFINITE_RECURSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
+ CLANG_WARN_UNREACHABLE_CODE = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ COPY_PHASE_STRIP = NO;
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+ ENABLE_NS_ASSERTIONS = NO;
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_NO_COMMON_BLOCKS = YES;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 9.0;
+ MTL_ENABLE_DEBUG_INFO = NO;
+ SDKROOT = iphoneos;
+ SUPPORTED_PLATFORMS = iphoneos;
+ SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
+ TARGETED_DEVICE_FAMILY = "1,2";
+ VALIDATE_PRODUCT = YES;
+ };
+ name = Release;
+ };
+ 97C147061CF9000F007C117D /* Debug */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ CLANG_ENABLE_MODULES = YES;
+ CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
+ ENABLE_BITCODE = NO;
+ INFOPLIST_FILE = Runner/Info.plist;
+ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
+ PRODUCT_BUNDLE_IDENTIFIER = com.example.todolite;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
+ SWIFT_OPTIMIZATION_LEVEL = "-Onone";
+ SWIFT_VERSION = 5.0;
+ VERSIONING_SYSTEM = "apple-generic";
+ };
+ name = Debug;
+ };
+ 97C147071CF9000F007C117D /* Release */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ CLANG_ENABLE_MODULES = YES;
+ CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
+ ENABLE_BITCODE = NO;
+ INFOPLIST_FILE = Runner/Info.plist;
+ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
+ PRODUCT_BUNDLE_IDENTIFIER = com.example.todolite;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
+ SWIFT_VERSION = 5.0;
+ VERSIONING_SYSTEM = "apple-generic";
+ };
+ name = Release;
+ };
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+ 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 97C147031CF9000F007C117D /* Debug */,
+ 97C147041CF9000F007C117D /* Release */,
+ 249021D3217E4FDB00AE95B9 /* Profile */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 97C147061CF9000F007C117D /* Debug */,
+ 97C147071CF9000F007C117D /* Release */,
+ 249021D4217E4FDB00AE95B9 /* Profile */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+/* End XCConfigurationList section */
+ };
+ rootObject = 97C146E61CF9000F007C117D /* Project object */;
+}
\ No newline at end of file
diff --git a/todolite/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/todolite/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata
new file mode 100644
index 00000000..919434a6
--- /dev/null
+++ b/todolite/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata
@@ -0,0 +1,7 @@
+
+
+
+
+
diff --git a/todolite/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/todolite/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
new file mode 100644
index 00000000..18d98100
--- /dev/null
+++ b/todolite/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
@@ -0,0 +1,8 @@
+
+
+
+
+ IDEDidComputeMac32BitWarning
+
+
+
diff --git a/todolite/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/todolite/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
new file mode 100644
index 00000000..f9b0d7c5
--- /dev/null
+++ b/todolite/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
@@ -0,0 +1,8 @@
+
+
+
+
+ PreviewsEnabled
+
+
+
diff --git a/todolite/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/todolite/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
new file mode 100644
index 00000000..a28140cf
--- /dev/null
+++ b/todolite/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/todolite/ios/Runner.xcworkspace/contents.xcworkspacedata b/todolite/ios/Runner.xcworkspace/contents.xcworkspacedata
new file mode 100644
index 00000000..1d526a16
--- /dev/null
+++ b/todolite/ios/Runner.xcworkspace/contents.xcworkspacedata
@@ -0,0 +1,7 @@
+
+
+
+
+
diff --git a/todolite/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/todolite/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
new file mode 100644
index 00000000..18d98100
--- /dev/null
+++ b/todolite/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
@@ -0,0 +1,8 @@
+
+
+
+
+ IDEDidComputeMac32BitWarning
+
+
+
diff --git a/todolite/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/todolite/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
new file mode 100644
index 00000000..f9b0d7c5
--- /dev/null
+++ b/todolite/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
@@ -0,0 +1,8 @@
+
+
+
+
+ PreviewsEnabled
+
+
+
diff --git a/todolite/ios/Runner/AppDelegate.swift b/todolite/ios/Runner/AppDelegate.swift
new file mode 100644
index 00000000..70693e4a
--- /dev/null
+++ b/todolite/ios/Runner/AppDelegate.swift
@@ -0,0 +1,13 @@
+import UIKit
+import Flutter
+
+@UIApplicationMain
+@objc class AppDelegate: FlutterAppDelegate {
+ override func application(
+ _ application: UIApplication,
+ didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
+ ) -> Bool {
+ GeneratedPluginRegistrant.register(with: self)
+ return super.application(application, didFinishLaunchingWithOptions: launchOptions)
+ }
+}
diff --git a/todolite/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/todolite/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
new file mode 100644
index 00000000..d36b1fab
--- /dev/null
+++ b/todolite/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
@@ -0,0 +1,122 @@
+{
+ "images" : [
+ {
+ "size" : "20x20",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-20x20@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "20x20",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-20x20@3x.png",
+ "scale" : "3x"
+ },
+ {
+ "size" : "29x29",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-29x29@1x.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "29x29",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-29x29@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "29x29",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-29x29@3x.png",
+ "scale" : "3x"
+ },
+ {
+ "size" : "40x40",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-40x40@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "40x40",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-40x40@3x.png",
+ "scale" : "3x"
+ },
+ {
+ "size" : "60x60",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-60x60@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "60x60",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-60x60@3x.png",
+ "scale" : "3x"
+ },
+ {
+ "size" : "20x20",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-20x20@1x.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "20x20",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-20x20@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "29x29",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-29x29@1x.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "29x29",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-29x29@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "40x40",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-40x40@1x.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "40x40",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-40x40@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "76x76",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-76x76@1x.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "76x76",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-76x76@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "83.5x83.5",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-83.5x83.5@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "1024x1024",
+ "idiom" : "ios-marketing",
+ "filename" : "Icon-App-1024x1024@1x.png",
+ "scale" : "1x"
+ }
+ ],
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
diff --git a/todolite/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png b/todolite/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png
new file mode 100644
index 00000000..3e4a3971
Binary files /dev/null and b/todolite/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png differ
diff --git a/todolite/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png b/todolite/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png
new file mode 100644
index 00000000..eb18c51e
Binary files /dev/null and b/todolite/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png differ
diff --git a/todolite/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png b/todolite/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png
new file mode 100644
index 00000000..6f7a8694
Binary files /dev/null and b/todolite/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png differ
diff --git a/todolite/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png b/todolite/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png
new file mode 100644
index 00000000..b9f6c67a
Binary files /dev/null and b/todolite/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png differ
diff --git a/todolite/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png b/todolite/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png
new file mode 100644
index 00000000..897e234d
Binary files /dev/null and b/todolite/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png differ
diff --git a/todolite/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png b/todolite/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png
new file mode 100644
index 00000000..e222bc3d
Binary files /dev/null and b/todolite/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png differ
diff --git a/todolite/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png b/todolite/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png
new file mode 100644
index 00000000..118da28c
Binary files /dev/null and b/todolite/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png differ
diff --git a/todolite/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png b/todolite/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png
new file mode 100644
index 00000000..6f7a8694
Binary files /dev/null and b/todolite/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png differ
diff --git a/todolite/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png b/todolite/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png
new file mode 100644
index 00000000..f003a591
Binary files /dev/null and b/todolite/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png differ
diff --git a/todolite/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png b/todolite/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png
new file mode 100644
index 00000000..6dc0b142
Binary files /dev/null and b/todolite/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png differ
diff --git a/todolite/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png b/todolite/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png
new file mode 100644
index 00000000..6dc0b142
Binary files /dev/null and b/todolite/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png differ
diff --git a/todolite/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png b/todolite/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png
new file mode 100644
index 00000000..17cfb36d
Binary files /dev/null and b/todolite/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png differ
diff --git a/todolite/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png b/todolite/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png
new file mode 100644
index 00000000..20fa5b94
Binary files /dev/null and b/todolite/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png differ
diff --git a/todolite/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png b/todolite/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png
new file mode 100644
index 00000000..0dd49386
Binary files /dev/null and b/todolite/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png differ
diff --git a/todolite/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png b/todolite/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png
new file mode 100644
index 00000000..fedad657
Binary files /dev/null and b/todolite/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png differ
diff --git a/todolite/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json b/todolite/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json
new file mode 100644
index 00000000..0bedcf2f
--- /dev/null
+++ b/todolite/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json
@@ -0,0 +1,23 @@
+{
+ "images" : [
+ {
+ "idiom" : "universal",
+ "filename" : "LaunchImage.png",
+ "scale" : "1x"
+ },
+ {
+ "idiom" : "universal",
+ "filename" : "LaunchImage@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "idiom" : "universal",
+ "filename" : "LaunchImage@3x.png",
+ "scale" : "3x"
+ }
+ ],
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
diff --git a/todolite/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png b/todolite/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
new file mode 100644
index 00000000..9da19eac
Binary files /dev/null and b/todolite/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png differ
diff --git a/todolite/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png b/todolite/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
new file mode 100644
index 00000000..9da19eac
Binary files /dev/null and b/todolite/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png differ
diff --git a/todolite/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png b/todolite/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png
new file mode 100644
index 00000000..9da19eac
Binary files /dev/null and b/todolite/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png differ
diff --git a/todolite/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md b/todolite/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md
new file mode 100644
index 00000000..89c2725b
--- /dev/null
+++ b/todolite/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md
@@ -0,0 +1,5 @@
+# Launch Screen Assets
+
+You can customize the launch screen with your own desired assets by replacing the image files in this directory.
+
+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.
\ No newline at end of file
diff --git a/todolite/ios/Runner/Base.lproj/LaunchScreen.storyboard b/todolite/ios/Runner/Base.lproj/LaunchScreen.storyboard
new file mode 100644
index 00000000..f2e259c7
--- /dev/null
+++ b/todolite/ios/Runner/Base.lproj/LaunchScreen.storyboard
@@ -0,0 +1,37 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/todolite/ios/Runner/Base.lproj/Main.storyboard b/todolite/ios/Runner/Base.lproj/Main.storyboard
new file mode 100644
index 00000000..f3c28516
--- /dev/null
+++ b/todolite/ios/Runner/Base.lproj/Main.storyboard
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/todolite/ios/Runner/Info.plist b/todolite/ios/Runner/Info.plist
new file mode 100644
index 00000000..f935dd11
--- /dev/null
+++ b/todolite/ios/Runner/Info.plist
@@ -0,0 +1,45 @@
+
+
+
+
+ CFBundleDevelopmentRegion
+ $(DEVELOPMENT_LANGUAGE)
+ CFBundleExecutable
+ $(EXECUTABLE_NAME)
+ CFBundleIdentifier
+ $(PRODUCT_BUNDLE_IDENTIFIER)
+ CFBundleInfoDictionaryVersion
+ 6.0
+ CFBundleName
+ todolite
+ CFBundlePackageType
+ APPL
+ CFBundleShortVersionString
+ $(FLUTTER_BUILD_NAME)
+ CFBundleSignature
+ ????
+ CFBundleVersion
+ $(FLUTTER_BUILD_NUMBER)
+ LSRequiresIPhoneOS
+
+ UILaunchStoryboardName
+ LaunchScreen
+ UIMainStoryboardFile
+ Main
+ UISupportedInterfaceOrientations
+
+ UIInterfaceOrientationPortrait
+ UIInterfaceOrientationLandscapeLeft
+ UIInterfaceOrientationLandscapeRight
+
+ UISupportedInterfaceOrientations~ipad
+
+ UIInterfaceOrientationPortrait
+ UIInterfaceOrientationPortraitUpsideDown
+ UIInterfaceOrientationLandscapeLeft
+ UIInterfaceOrientationLandscapeRight
+
+ UIViewControllerBasedStatusBarAppearance
+
+
+
diff --git a/todolite/ios/Runner/Runner-Bridging-Header.h b/todolite/ios/Runner/Runner-Bridging-Header.h
new file mode 100644
index 00000000..308a2a56
--- /dev/null
+++ b/todolite/ios/Runner/Runner-Bridging-Header.h
@@ -0,0 +1 @@
+#import "GeneratedPluginRegistrant.h"
diff --git a/todolite/lib/main.dart b/todolite/lib/main.dart
new file mode 100644
index 00000000..10d6931c
--- /dev/null
+++ b/todolite/lib/main.dart
@@ -0,0 +1,71 @@
+import 'package:flutter/material.dart';
+import 'package:provider/provider.dart';
+import 'package:todolite/providers/settingsProvider.dart';
+import 'package:todolite/providers/taskManagerProvider.dart';
+import 'package:todolite/screens/home_screen.dart';
+import 'package:todolite/services/android_notification.dart';
+
+void main() {
+ runApp(
+ MultiProvider(
+ providers: [
+ ChangeNotifierProvider(create: (ctx) => TaskManagerProvider()),
+ ChangeNotifierProvider(create: (ctx) => SettingsProvider()),
+ ],
+ child: MyApp(),
+ ),
+ );
+}
+
+class MyApp extends StatefulWidget {
+ @override
+ _MyAppState createState() => _MyAppState();
+}
+
+class _MyAppState extends State {
+ @override
+ void initState() {
+ TaskReminder().initializeNotification(context);
+
+ super.initState();
+ }
+
+ @override
+ Widget build(BuildContext context) {
+ return Consumer(
+ builder: (ctx, settings, child) => MaterialApp(
+ title: "TodoLite",
+ home: HomeScreen(),
+ themeMode:
+ settings.isDarkModeEnabled ? ThemeMode.dark : ThemeMode.light,
+ theme: ThemeData(
+ backgroundColor: Colors.white,
+ primaryColor: Colors.white,
+ accentColor: Colors.grey[900],
+ iconTheme: IconThemeData(
+ color: Colors.black,
+ ),
+ textTheme: TextTheme(
+ subtitle1: TextStyle(
+ color: Colors.grey[900],
+ ),
+ headline1: TextStyle(
+ color: Colors.black,
+ ))),
+ darkTheme: ThemeData(
+ backgroundColor: Colors.grey[900],
+ primaryColor: Colors.grey[900],
+ accentColor: Colors.black87,
+ iconTheme: IconThemeData(
+ color: Colors.white,
+ ),
+ textTheme: TextTheme(
+ subtitle1: TextStyle(
+ color: Colors.grey,
+ ),
+ headline1: TextStyle(
+ color: Colors.white,
+ ))),
+ ));
+ }
+}
diff --git a/todolite/lib/models/taskmodel.dart b/todolite/lib/models/taskmodel.dart
new file mode 100644
index 00000000..d8d1cb3a
--- /dev/null
+++ b/todolite/lib/models/taskmodel.dart
@@ -0,0 +1,14 @@
+import 'package:flutter/foundation.dart';
+
+class Task {
+ final String id;
+ final String taskName;
+ final DateTime deadLine;
+ bool isCompleted;
+
+ Task(
+ {@required this.id,
+ @required this.taskName,
+ this.deadLine,
+ this.isCompleted = false});
+}
diff --git a/todolite/lib/providers/settingsProvider.dart b/todolite/lib/providers/settingsProvider.dart
new file mode 100644
index 00000000..a67bc567
--- /dev/null
+++ b/todolite/lib/providers/settingsProvider.dart
@@ -0,0 +1,50 @@
+import 'package:flutter/material.dart';
+import 'package:shared_preferences/shared_preferences.dart';
+
+class SettingsProvider extends ChangeNotifier {
+ bool _isDarkModeEnabled = false;
+ bool _enableSoundEffect = true;
+
+ bool initialized = false;
+
+ bool get isDarkModeEnabled {
+ if (!initialized) {
+ SharedPreferences.getInstance().then((value) {
+ if (value.containsKey("isDarkModeEnabled")) {
+ _isDarkModeEnabled = value.getBool("isDarkModeEnabled");
+ } else {
+ value.setBool("isDarkModeEnabled", false);
+ _isDarkModeEnabled = value.getBool("isDarkModeEnabled");
+ }
+ if (value.containsKey("enableSoundEffect")) {
+ _enableSoundEffect = value.getBool("enableSoundEffect");
+ } else {
+ value.setBool("enableSoundEffect", true);
+ _enableSoundEffect = value.getBool("enableSoundEffect");
+ }
+ initialized = true;
+ notifyListeners();
+ });
+ }
+
+ return _isDarkModeEnabled;
+ }
+
+ bool get enableSoundEffect {
+ return _enableSoundEffect;
+ }
+
+ void toggleThemeMode() {
+ _isDarkModeEnabled = !_isDarkModeEnabled;
+ SharedPreferences.getInstance().then(
+ (value) => value.setBool("isDarkModeEnabled", _isDarkModeEnabled));
+ notifyListeners();
+ }
+
+ void toggleSoundEffect() {
+ _enableSoundEffect = !_enableSoundEffect;
+ SharedPreferences.getInstance()
+ .then((value) => value.setBool("enableSoundEffect", enableSoundEffect));
+ notifyListeners();
+ }
+}
diff --git a/todolite/lib/providers/taskManagerProvider.dart b/todolite/lib/providers/taskManagerProvider.dart
new file mode 100644
index 00000000..9cf683e7
--- /dev/null
+++ b/todolite/lib/providers/taskManagerProvider.dart
@@ -0,0 +1,118 @@
+import 'package:flutter/foundation.dart';
+import 'package:todolite/services/android_notification.dart';
+import 'package:todolite/services/db_helper.dart';
+
+import '../models/taskmodel.dart';
+import 'dart:math';
+
+class TaskManagerProvider extends ChangeNotifier {
+ bool _sortByDate = false;
+ bool initialized = false;
+ List _taskItems = [];
+
+ List get taskItems {
+ if (!initialized) {
+ DbHelper().getData().then((value) {
+ _taskItems = value;
+ initialized = true;
+ notifyListeners();
+ });
+ }
+ if (_sortByDate) {
+ final userTaskItems =
+ _taskItems.where((element) => element.deadLine != null).toList();
+ userTaskItems.sort((a, b) => a.deadLine.compareTo(b.deadLine));
+ return userTaskItems;
+ }
+ return _taskItems;
+ }
+
+ int getIdFromString(String id) {
+ int notificationId = 0;
+ id.codeUnits.forEach((element) => notificationId += element);
+ return notificationId;
+ }
+
+ void sortByDate(bool value) {
+ if (value) {
+ _sortByDate = true;
+ } else {
+ _sortByDate = false;
+ }
+ notifyListeners();
+ }
+
+ bool get isSortByDate {
+ return _sortByDate;
+ }
+
+ String generateTaskId() {
+ const chars =
+ 'AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz1234567890';
+ String randomId =
+ List.generate(8, (index) => chars[Random().nextInt(chars.length)])
+ .join("");
+ return randomId;
+ }
+
+ void toggleTask(int index) {
+ _taskItems.elementAt(index).isCompleted =
+ !_taskItems.elementAt(index).isCompleted;
+ notifyListeners();
+ }
+
+ void addTaskItem(String taskName, [DateTime deadLine]) {
+ final String generatedTaskId = generateTaskId();
+ print(generatedTaskId);
+ _taskItems
+ .add(Task(id: generatedTaskId, taskName: taskName, deadLine: deadLine));
+
+ DbHelper().insertData(
+ Task(id: generatedTaskId, taskName: taskName, deadLine: deadLine));
+
+ if (deadLine != null) {
+ //get unique integer id from string task id (has function)
+ final generatedNotificationId = getIdFromString(generatedTaskId);
+ TaskReminder()
+ .displayNotification(generatedNotificationId, taskName, deadLine);
+ }
+
+ notifyListeners();
+ }
+
+ void removeTaskItem(String id) async {
+ _taskItems.removeWhere((element) => element.id == id);
+ DbHelper().deleteTask(id);
+
+ try {
+ await TaskReminder().cancelNotification(id);
+ } catch (error) {
+ print(error);
+ }
+ notifyListeners();
+ }
+
+ void updateTaskItem(String taskName, DateTime deadLine, Task previousTask) {
+ _taskItems[_taskItems.indexOf(previousTask)] =
+ Task(deadLine: deadLine, id: previousTask.id, taskName: taskName);
+ DbHelper().insertData(
+ Task(id: previousTask.id, taskName: taskName, deadLine: deadLine));
+ try {
+ TaskReminder().cancelNotification(previousTask.id);
+ } catch (error) {
+ print(error);
+ }
+ if (deadLine != null) {
+ final generatedNotificationId = getIdFromString(previousTask.id);
+ TaskReminder()
+ .displayNotification(generatedNotificationId, taskName, deadLine);
+ }
+ notifyListeners();
+ }
+
+ void rearrangeList(List newItems) {
+ _taskItems.clear();
+ _taskItems.addAll(newItems);
+ notifyListeners();
+ }
+}
diff --git a/todolite/lib/screens/add_task_screen.dart b/todolite/lib/screens/add_task_screen.dart
new file mode 100644
index 00000000..e05ebcc3
--- /dev/null
+++ b/todolite/lib/screens/add_task_screen.dart
@@ -0,0 +1,294 @@
+import 'package:flutter/material.dart';
+import 'package:intl/intl.dart';
+import 'package:provider/provider.dart';
+import 'package:todolite/providers/settingsProvider.dart';
+import 'package:todolite/providers/taskManagerProvider.dart';
+import '../models/taskmodel.dart';
+
+class AddTaskScreen extends StatefulWidget {
+ final bool isUpdateTask;
+ final Task task;
+
+ AddTaskScreen(this.isUpdateTask, {this.task});
+ @override
+ _AddTaskScreenState createState() => _AddTaskScreenState();
+}
+
+class _AddTaskScreenState extends State {
+ TextEditingController _textEditingController = TextEditingController();
+
+ DateTime _deadline = DateTime.now().add(Duration(minutes: 1));
+
+ bool _isChanged = false;
+ bool _chooseDate = false;
+ @override
+ void initState() {
+ if (widget.isUpdateTask) {
+ _textEditingController.text = widget.task.taskName;
+ _chooseDate = true;
+
+ if (widget.task.deadLine == null) {
+ _chooseDate = false;
+ } else {
+ _deadline = widget.task.deadLine;
+ }
+ _isChanged = true;
+ }
+ print("Using for adding Task is ${!widget.isUpdateTask}");
+
+ super.initState();
+ }
+
+ @override
+ Widget build(BuildContext context) {
+ return Scaffold(
+ backgroundColor: Theme.of(context).backgroundColor,
+ body: Column(
+ crossAxisAlignment: CrossAxisAlignment.end,
+ children: [
+ SafeArea(
+ child: IconButton(
+ splashRadius: 17,
+ icon: Icon(
+ Icons.close,
+ size: 30,
+ color: Theme.of(context).iconTheme.color,
+ ),
+ onPressed: () => Navigator.of(context).pop(false)),
+ ),
+ Expanded(
+ child: Container(
+ margin: EdgeInsets.symmetric(horizontal: 30),
+ child: Column(
+ children: [
+ TextField(
+ keyboardType: TextInputType.name,
+ controller: _textEditingController,
+ onChanged: (a) {
+ if (_textEditingController.text == "") {
+ setState(() {
+ _isChanged = false;
+ });
+ } else {
+ if (!_isChanged) {
+ setState(() {
+ _isChanged = true;
+ });
+ }
+ }
+ },
+ style: TextStyle(
+ fontFamily: "Roboto Condensed",
+ color: Theme.of(context).textTheme.headline1.color,
+ decoration: TextDecoration.none,
+ height: 1.5,
+ fontSize: 20,
+ ),
+ decoration: InputDecoration(
+ hintText: "Type Something....",
+ hintStyle: TextStyle(
+ color: Theme.of(context).textTheme.headline1.color,
+ ),
+ focusedBorder: InputBorder.none,
+ border: InputBorder.none),
+ ),
+ SizedBox(
+ height: 20,
+ ),
+ Column(
+ children: [
+ SwitchListTile(
+ activeColor: Theme.of(context).iconTheme.color,
+ contentPadding:
+ EdgeInsets.symmetric(horizontal: 4, vertical: 0),
+ value: _chooseDate,
+ title: Text(
+ "Choose Date & Time",
+ style: TextStyle(
+ color:
+ Theme.of(context).textTheme.headline1.color,
+ fontSize: 20,
+ fontFamily: "Roboto Condensed",
+ fontWeight: FontWeight.bold),
+ ),
+ onChanged: (value) {
+ setState(() {
+ _chooseDate = value;
+ });
+ }),
+ ListTile(
+ enabled: _chooseDate,
+ contentPadding: EdgeInsets.all(0),
+ minLeadingWidth: 0,
+ leading: Icon(
+ Icons.date_range,
+ color: _chooseDate
+ ? Theme.of(context).iconTheme.color
+ : Colors.grey,
+ ),
+ title: Text(
+ "${DateFormat("EEEE d LLLL y").format(_deadline)}",
+ style: TextStyle(
+ color: _chooseDate
+ ? Theme.of(context).textTheme.headline1.color
+ : Colors.grey,
+ fontSize: 18,
+ fontFamily: "Roboto Condensed",
+ fontWeight: FontWeight.bold),
+ ),
+ onTap: () {
+ showDatePicker(
+ context: context,
+ initialDate: DateTime.now(),
+ firstDate: DateTime.now(),
+ lastDate: DateTime(2077),
+ builder: (context, child) {
+ return Theme(
+ data: Provider.of(context,
+ listen: false)
+ .isDarkModeEnabled
+ ? ThemeData.dark()
+ : ThemeData.light(),
+ child: child,
+ );
+ },
+ ).then((value) {
+ if (value != null) {
+ setState(() {
+ _deadline = value;
+ });
+ }
+ });
+ },
+ ),
+ ListTile(
+ enabled: _chooseDate,
+ contentPadding: EdgeInsets.all(0),
+ minLeadingWidth: 0,
+ leading: Icon(
+ Icons.access_time,
+ color: _chooseDate
+ ? Theme.of(context).iconTheme.color
+ : Colors.grey,
+ ),
+ title: Text(
+ "${DateFormat("jm").format(_deadline)}",
+ style: TextStyle(
+ color: _chooseDate
+ ? Theme.of(context).textTheme.headline1.color
+ : Colors.grey,
+ fontSize: 18,
+ fontFamily: "Roboto Condensed",
+ fontWeight: FontWeight.bold),
+ ),
+ onTap: () {
+ showTimePicker(
+ context: context,
+ builder: (context, child) {
+ return Theme(
+ data: Provider.of(context,
+ listen: false)
+ .isDarkModeEnabled
+ ? ThemeData.dark()
+ : ThemeData.light(),
+ child: child,
+ );
+ },
+ initialTime: TimeOfDay(
+ hour: _deadline.hour, minute: _deadline.minute),
+ ).then((value) {
+ if (value != null) {
+ setState(() {
+ _deadline = DateTime(
+ _deadline.year,
+ _deadline.month,
+ _deadline.day,
+ value.hour,
+ value.minute);
+ });
+ }
+ });
+ },
+ ),
+ ],
+ )
+ ],
+ ),
+ ),
+ ),
+ Container(
+ margin: EdgeInsets.only(bottom: 25, right: 5),
+ alignment: Alignment.center,
+ child: IconButton(
+ alignment: Alignment.center,
+ splashRadius: 30,
+ icon: Container(
+ child: _isChanged
+ ? Icon(
+ Icons.check_outlined,
+ size: 40,
+ )
+ : Icon(
+ Icons.check_outlined,
+ color: Colors.grey,
+ size: 40,
+ ),
+ ),
+ onPressed: () {
+ //checks whether the input field is empty or not
+ if (widget.isUpdateTask) {
+ if (_textEditingController.text == "") {
+ ScaffoldMessenger.of(context).showSnackBar(
+ SnackBar(content: Text("Please Enter A Task Name")));
+ } else {
+ if (_deadline != null) {
+ if (_deadline.isAfter(DateTime.now())) {
+ Provider.of(context,
+ listen: false)
+ .updateTaskItem(_textEditingController.text,
+ _deadline, widget.task);
+ Navigator.of(context).pop(true);
+ _textEditingController.clear();
+ } else {
+ ScaffoldMessenger.of(context).showSnackBar(SnackBar(
+ content: Text("Please Enter A Valid Date Time")));
+ }
+ } else {
+ Provider.of(context, listen: false)
+ .updateTaskItem(_textEditingController.text,
+ _deadline, widget.task);
+ Navigator.of(context).pop(true);
+ _textEditingController.clear();
+ }
+ }
+ } else {
+ if (_isChanged) {
+ if (_chooseDate) {
+ if (_deadline.isAfter(DateTime.now())) {
+ Provider.of(context,
+ listen: false)
+ .addTaskItem(
+ _textEditingController.text, _deadline);
+
+ Navigator.of(context).pop(true);
+ _textEditingController.clear();
+ } else {
+ ScaffoldMessenger.of(context).showSnackBar(SnackBar(
+ content: Text("Please Enter A Valid Date Time")));
+ }
+ } else {
+ Provider.of(context, listen: false)
+ .addTaskItem(_textEditingController.text);
+
+ Navigator.of(context).pop(true);
+ _textEditingController.clear();
+ }
+ }
+ }
+ }),
+ ),
+ ],
+ ),
+ );
+ }
+}
diff --git a/todolite/lib/screens/home_screen.dart b/todolite/lib/screens/home_screen.dart
new file mode 100644
index 00000000..d1f566bb
--- /dev/null
+++ b/todolite/lib/screens/home_screen.dart
@@ -0,0 +1,45 @@
+import 'package:flutter/material.dart';
+import 'package:todolite/screens/add_task_screen.dart';
+
+import 'package:todolite/widgets/app_bar.dart';
+import 'package:todolite/widgets/todo_tasks.dart';
+
+class HomeScreen extends StatelessWidget {
+ @override
+ Widget build(BuildContext context) {
+ print('rebuilding Home Screen');
+ return Scaffold(
+ backgroundColor: Theme.of(context).backgroundColor,
+ body: SafeArea(
+ child: Column(
+ children: [
+ TodoAppBar(),
+ Expanded(
+ child: TodoTasks(),
+ ),
+ ],
+ ),
+ ),
+ floatingActionButton: FloatingActionButton(
+ disabledElevation: 0,
+ highlightElevation: 0,
+ splashColor: Theme.of(context).backgroundColor,
+ hoverColor: Theme.of(context).backgroundColor,
+ hoverElevation: 0,
+ elevation: 0,
+ focusElevation: 0,
+ backgroundColor: Theme.of(context).primaryColor,
+ onPressed: () {
+ Navigator.of(context)
+ .push(MaterialPageRoute(builder: (ctx) => AddTaskScreen(false)))
+ .then((value) {});
+ },
+ child: Icon(
+ Icons.add,
+ color: Theme.of(context).iconTheme.color,
+ size: 40,
+ )),
+ floatingActionButtonLocation: FloatingActionButtonLocation.centerFloat,
+ );
+ }
+}
diff --git a/todolite/lib/screens/settings.dart b/todolite/lib/screens/settings.dart
new file mode 100644
index 00000000..60d1336f
--- /dev/null
+++ b/todolite/lib/screens/settings.dart
@@ -0,0 +1,137 @@
+import 'package:flutter/material.dart';
+import 'package:provider/provider.dart';
+import 'package:todolite/providers/settingsProvider.dart';
+import 'package:url_launcher/url_launcher.dart';
+
+class SettingsScreen extends StatelessWidget {
+ void contactMe() async {
+ try {
+ await launch("mailto:akshajdevkv@gmail.com");
+ } catch (error) {
+ print(error);
+ }
+ }
+
+ void bugReport() async {
+ try {
+ await launch("mailto:akshajdevkv@gmail.com?subject=TodoLite Bug Report");
+ } catch (error) {
+ print(error);
+ }
+ }
+
+ @override
+ Widget build(BuildContext context) {
+ return Scaffold(
+ backgroundColor: Theme.of(context).backgroundColor,
+ appBar: AppBar(
+ elevation: 0,
+ backgroundColor: Theme.of(context).primaryColor,
+ title: Text(
+ "Settings",
+ style: TextStyle(
+ color: Theme.of(context).textTheme.headline1.color,
+ fontSize: 28,
+ fontFamily: "Roboto Condensed",
+ fontWeight: FontWeight.w900,
+ ),
+ ),
+ centerTitle: true,
+ foregroundColor: Colors.black,
+ ),
+ body: SafeArea(
+ child: Column(
+ children: [
+ ListTile(
+ leading: Icon(
+ Icons.nightlight_round,
+ color: Theme.of(context).iconTheme.color,
+ ),
+ title: Text(
+ "Enable Dark Mode",
+ style: TextStyle(
+ color: Theme.of(context).textTheme.headline1.color,
+ fontSize: 20,
+ fontFamily: "Roboto Condensed",
+ fontWeight: FontWeight.w100),
+ ),
+ trailing: Consumer(
+ builder: (ctx, settings, child) {
+ return Switch(
+ activeColor: Theme.of(context).iconTheme.color,
+ value: settings.isDarkModeEnabled,
+ onChanged: (value) {
+ Provider.of(context, listen: false)
+ .toggleThemeMode();
+ });
+ },
+ ),
+ ),
+ ListTile(
+ onTap: () {
+ contactMe();
+ },
+ leading: Icon(
+ Icons.contact_support_rounded,
+ size: 30,
+ color: Theme.of(context).iconTheme.color,
+ ),
+ title: Text(
+ "Contact Me",
+ style: TextStyle(
+ color: Theme.of(context).textTheme.headline1.color,
+ fontSize: 20,
+ fontFamily: "Roboto Condensed",
+ fontWeight: FontWeight.w100),
+ ),
+ ),
+ ListTile(
+ onTap: () {
+ bugReport();
+ },
+ leading: Icon(
+ Icons.bug_report_outlined,
+ size: 30,
+ color: Theme.of(context).iconTheme.color,
+ ),
+ title: Text(
+ "Report Bug",
+ style: TextStyle(
+ color: Theme.of(context).textTheme.headline1.color,
+ fontSize: 20,
+ fontFamily: "Roboto Condensed",
+ fontWeight: FontWeight.w100),
+ ),
+ ),
+ ListTile(
+ onTap: () {
+ showAboutDialog(
+ applicationLegalese: "© All Rights Reserved",
+ context: context,
+ applicationVersion: "1.0.0",
+ applicationName: "TodoLite",
+ applicationIcon: Image.asset(
+ "assets/app_icon.png",
+ height: 50,
+ width: 50,
+ ));
+ },
+ leading: Icon(
+ Icons.info,
+ size: 30,
+ color: Theme.of(context).iconTheme.color,
+ ),
+ title: Text(
+ "About TodoLite",
+ style: TextStyle(
+ color: Theme.of(context).textTheme.headline1.color,
+ fontSize: 20,
+ fontFamily: "Roboto Condensed",
+ fontWeight: FontWeight.w100),
+ ),
+ ),
+ ],
+ )),
+ );
+ }
+}
diff --git a/todolite/lib/services/android_notification.dart b/todolite/lib/services/android_notification.dart
new file mode 100644
index 00000000..1bf54469
--- /dev/null
+++ b/todolite/lib/services/android_notification.dart
@@ -0,0 +1,71 @@
+import 'package:flutter/material.dart';
+import 'package:flutter_local_notifications/flutter_local_notifications.dart';
+import 'package:todolite/screens/home_screen.dart';
+import 'package:flutter_native_timezone/flutter_native_timezone.dart';
+import 'package:timezone/data/latest_all.dart' as tz;
+import 'package:timezone/timezone.dart' as tz;
+
+class TaskReminder extends ChangeNotifier {
+ FlutterLocalNotificationsPlugin flutterLocalNotificationsPlugin =
+ FlutterLocalNotificationsPlugin();
+ Future selectNotification(String payload, BuildContext context) async {
+ if (payload != null) {
+ debugPrint('notification payload: $payload');
+ }
+ await Navigator.push(
+ context,
+ MaterialPageRoute(builder: (context) => HomeScreen()),
+ );
+ }
+
+ void initializeNotification(BuildContext context) {
+ const AndroidInitializationSettings initializationSettingsAndroid =
+ AndroidInitializationSettings('app_icon');
+
+ final InitializationSettings initializationSettings =
+ InitializationSettings(
+ android: initializationSettingsAndroid,
+ );
+ flutterLocalNotificationsPlugin.initialize(initializationSettings,
+ onSelectNotification: (value) => selectNotification(value, context));
+ }
+
+ Future displayNotification(
+ int id, String taskName, DateTime deadline) async {
+ final String currentTimeZone =
+ await FlutterNativeTimezone.getLocalTimezone();
+
+ tz.initializeTimeZones();
+ tz.setLocalLocation(tz.getLocation(currentTimeZone));
+ final taskdeadline = tz.TZDateTime.from(deadline, tz.local);
+ const AndroidNotificationDetails androidPlatformChannelSpecifics =
+ AndroidNotificationDetails(
+ '0', 'Task Reminders', 'Remind User of thier task deadline',
+ importance: Importance.defaultImportance,
+ priority: Priority.high,
+ showWhen: false);
+ const NotificationDetails platformChannelSpecifics =
+ NotificationDetails(android: androidPlatformChannelSpecifics);
+
+ await flutterLocalNotificationsPlugin.zonedSchedule(
+ id,
+ taskName,
+ '🔔 A reminder about your task from TodoLite 🔔 ',
+ taskdeadline,
+ platformChannelSpecifics,
+ uiLocalNotificationDateInterpretation:
+ UILocalNotificationDateInterpretation.absoluteTime,
+ androidAllowWhileIdle: true);
+ }
+
+ int getIdFromString(String id) {
+ int notificationId = 0;
+ id.codeUnits.forEach((element) => notificationId += element);
+ return notificationId;
+ }
+
+ Future cancelNotification(String id) async {
+ final notificationId = getIdFromString(id);
+ await flutterLocalNotificationsPlugin.cancel(notificationId);
+ }
+}
diff --git a/todolite/lib/services/db_helper.dart b/todolite/lib/services/db_helper.dart
new file mode 100644
index 00000000..01555c31
--- /dev/null
+++ b/todolite/lib/services/db_helper.dart
@@ -0,0 +1,56 @@
+import 'package:sqflite/sqflite.dart' as sql;
+import 'package:path/path.dart';
+import 'package:todolite/models/taskmodel.dart';
+
+class DbHelper {
+ Future database() async {
+ var databasesPath = await sql.getDatabasesPath();
+ String path = join(databasesPath, "tasks.db");
+ sql.Database db = await sql.openDatabase(path, version: 1,
+ onCreate: (sql.Database db, int i) async {
+ await db.execute(
+ "CREATE TABLE Tasks(id TEXT PRIMARY KEY, taskName Text NOT NULL,deadline TEXT)");
+ });
+ return db;
+ }
+
+ Future insertData(Task task) async {
+ sql.Database db = await database();
+
+ db.insert(
+ "Tasks",
+ {
+ "id": "${task.id}",
+ "taskName": "${task.taskName}",
+ "deadline": "${task.deadLine}",
+ },
+ conflictAlgorithm: sql.ConflictAlgorithm.replace,
+ );
+ }
+
+ Future deleteTaskDatabase() async {
+ var databasesPath = await sql.getDatabasesPath();
+ String path = join(databasesPath, "tasks.db");
+ sql.deleteDatabase(path);
+ }
+
+ Future deleteTask(String id) async {
+ sql.Database db = await database();
+ db.delete("Tasks", where: "id == ?", whereArgs: [id]);
+ }
+
+ Future> getData() async {
+ sql.Database db = await database();
+ List