├── README.md ├── server ├── .gitignore ├── README.md ├── package-lock.json ├── package.json └── src │ ├── app.js │ ├── models │ └── task.js │ ├── mongoose-connect.js │ └── routes │ └── taskRoute.js └── simpletask ├── .gitignore ├── .metadata ├── README.md ├── android ├── app │ ├── build.gradle │ └── src │ │ ├── debug │ │ └── AndroidManifest.xml │ │ ├── main │ │ ├── AndroidManifest.xml │ │ ├── kotlin │ │ │ └── com │ │ │ │ └── example │ │ │ │ └── simpletask │ │ │ │ └── MainActivity.kt │ │ └── res │ │ │ ├── drawable │ │ │ └── launch_background.xml │ │ │ ├── mipmap-hdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-mdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xhdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxhdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxxhdpi │ │ │ └── ic_launcher.png │ │ │ └── values │ │ │ └── styles.xml │ │ └── profile │ │ └── AndroidManifest.xml ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties └── settings.gradle ├── ios ├── Flutter │ ├── AppFrameworkInfo.plist │ ├── Debug.xcconfig │ └── Release.xcconfig ├── Runner.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── xcshareddata │ │ └── xcschemes │ │ └── Runner.xcscheme ├── Runner.xcworkspace │ └── contents.xcworkspacedata └── Runner │ ├── AppDelegate.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 ├── appTheme.dart ├── main.dart ├── models │ └── taskModel.dart ├── provider │ └── appState.dart ├── repository │ └── api.dart └── views │ ├── addTask.dart │ ├── dialogs │ ├── deleteAllTaskDialog.dart │ └── deleteParticularTaskDialog.dart │ ├── drawer.dart │ ├── mixins │ └── inputDecorationMixin.dart │ ├── myTasks.dart │ └── updateTask.dart ├── pubspec.lock ├── pubspec.yaml └── screenshots ├── dark delete all tasks.png ├── dark delete selected task.png ├── dark drawer.png ├── dark home.png ├── dark no tasks.png ├── light delete all tasks.png ├── light delete selected task.png ├── light drawer.png ├── light home.png └── light no tasks.png /README.md: -------------------------------------------------------------------------------- 1 | # Flutter-TaskApp 2 | 3 | ### FullStack task application built on 4 | 5 | 6 | 7 | #### Flutter + Node.JS 8 | 9 |
10 | 11 | ### To get started refer: 12 | 13 | Node server - [README.MD](https://github.com/Rakshak1344/Flutter-TaskApp/tree/master/server) 14 | 15 | Flutter app - [README.MD](https://github.com/Rakshak1344/Flutter-TaskApp/tree/master/simpletask) -------------------------------------------------------------------------------- /server/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules -------------------------------------------------------------------------------- /server/README.md: -------------------------------------------------------------------------------- 1 | # Task Server 2 | 3 | 4 | 5 | **Node.JS + MongoDB** 6 | 7 | ## Server 8 | Express 9 | 10 | ## Get Started 11 | Start the server by running below command 12 | 13 | > npm run dev 14 | 15 | ## Routes used 16 | 17 | |Post|Get|Patch|Delete| 18 | |---|---|---|---| 19 | 20 | >### Create 21 | **creates single task** 22 | 23 | '/posttask' 24 | >### Read 25 | **fetches all task** 26 | 27 | '/alltask' 28 | >### Update 29 | **updates task by ID** 30 | 31 | '/updatetask/:id' 32 | >### Delete 33 | **deletes task by ID** 34 | 35 | '/deletetaskbyid/:id' 36 | **deletes all task** 37 | 38 | '/deleteAllTask' -------------------------------------------------------------------------------- /server/package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "simpletask", 3 | "version": "1.0.0", 4 | "lockfileVersion": 1, 5 | "requires": true, 6 | "dependencies": { 7 | "accepts": { 8 | "version": "1.3.7", 9 | "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz", 10 | "integrity": "sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA==", 11 | "requires": { 12 | "mime-types": "~2.1.24", 13 | "negotiator": "0.6.2" 14 | } 15 | }, 16 | "ansi-styles": { 17 | "version": "3.2.1", 18 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", 19 | "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", 20 | "requires": { 21 | "color-convert": "^1.9.0" 22 | } 23 | }, 24 | "array-flatten": { 25 | "version": "1.1.1", 26 | "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", 27 | "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=" 28 | }, 29 | "bluebird": { 30 | "version": "3.5.1", 31 | "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.5.1.tgz", 32 | "integrity": "sha512-MKiLiV+I1AA596t9w1sQJ8jkiSr5+ZKi0WKrYGUn6d1Fx+Ij4tIj+m2WMQSGczs5jZVxV339chE8iwk6F64wjA==" 33 | }, 34 | "body-parser": { 35 | "version": "1.19.0", 36 | "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.0.tgz", 37 | "integrity": "sha512-dhEPs72UPbDnAQJ9ZKMNTP6ptJaionhP5cBb541nXPlW60Jepo9RV/a4fX4XWW9CuFNK22krhrj1+rgzifNCsw==", 38 | "requires": { 39 | "bytes": "3.1.0", 40 | "content-type": "~1.0.4", 41 | "debug": "2.6.9", 42 | "depd": "~1.1.2", 43 | "http-errors": "1.7.2", 44 | "iconv-lite": "0.4.24", 45 | "on-finished": "~2.3.0", 46 | "qs": "6.7.0", 47 | "raw-body": "2.4.0", 48 | "type-is": "~1.6.17" 49 | } 50 | }, 51 | "bson": { 52 | "version": "1.1.1", 53 | "resolved": "https://registry.npmjs.org/bson/-/bson-1.1.1.tgz", 54 | "integrity": "sha512-jCGVYLoYMHDkOsbwJZBCqwMHyH4c+wzgI9hG7Z6SZJRXWr+x58pdIbm2i9a/jFGCkRJqRUr8eoI7lDWa0hTkxg==" 55 | }, 56 | "bytes": { 57 | "version": "3.1.0", 58 | "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz", 59 | "integrity": "sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg==" 60 | }, 61 | "chalk": { 62 | "version": "2.4.2", 63 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", 64 | "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", 65 | "requires": { 66 | "ansi-styles": "^3.2.1", 67 | "escape-string-regexp": "^1.0.5", 68 | "supports-color": "^5.3.0" 69 | } 70 | }, 71 | "color-convert": { 72 | "version": "1.9.3", 73 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", 74 | "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", 75 | "requires": { 76 | "color-name": "1.1.3" 77 | } 78 | }, 79 | "color-name": { 80 | "version": "1.1.3", 81 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", 82 | "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" 83 | }, 84 | "content-disposition": { 85 | "version": "0.5.3", 86 | "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.3.tgz", 87 | "integrity": "sha512-ExO0774ikEObIAEV9kDo50o+79VCUdEB6n6lzKgGwupcVeRlhrj3qGAfwq8G6uBJjkqLrhT0qEYFcWng8z1z0g==", 88 | "requires": { 89 | "safe-buffer": "5.1.2" 90 | } 91 | }, 92 | "content-type": { 93 | "version": "1.0.4", 94 | "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", 95 | "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==" 96 | }, 97 | "cookie": { 98 | "version": "0.4.0", 99 | "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.0.tgz", 100 | "integrity": "sha512-+Hp8fLp57wnUSt0tY0tHEXh4voZRDnoIrZPqlo3DPiI4y9lwg/jqx+1Om94/W6ZaPDOUbnjOt/99w66zk+l1Xg==" 101 | }, 102 | "cookie-signature": { 103 | "version": "1.0.6", 104 | "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", 105 | "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw=" 106 | }, 107 | "debug": { 108 | "version": "2.6.9", 109 | "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", 110 | "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", 111 | "requires": { 112 | "ms": "2.0.0" 113 | } 114 | }, 115 | "depd": { 116 | "version": "1.1.2", 117 | "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", 118 | "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=" 119 | }, 120 | "destroy": { 121 | "version": "1.0.4", 122 | "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz", 123 | "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=" 124 | }, 125 | "ee-first": { 126 | "version": "1.1.1", 127 | "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", 128 | "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=" 129 | }, 130 | "encodeurl": { 131 | "version": "1.0.2", 132 | "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", 133 | "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=" 134 | }, 135 | "escape-html": { 136 | "version": "1.0.3", 137 | "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", 138 | "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=" 139 | }, 140 | "escape-string-regexp": { 141 | "version": "1.0.5", 142 | "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", 143 | "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" 144 | }, 145 | "etag": { 146 | "version": "1.8.1", 147 | "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", 148 | "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=" 149 | }, 150 | "express": { 151 | "version": "4.17.1", 152 | "resolved": "https://registry.npmjs.org/express/-/express-4.17.1.tgz", 153 | "integrity": "sha512-mHJ9O79RqluphRrcw2X/GTh3k9tVv8YcoyY4Kkh4WDMUYKRZUq0h1o0w2rrrxBqM7VoeUVqgb27xlEMXTnYt4g==", 154 | "requires": { 155 | "accepts": "~1.3.7", 156 | "array-flatten": "1.1.1", 157 | "body-parser": "1.19.0", 158 | "content-disposition": "0.5.3", 159 | "content-type": "~1.0.4", 160 | "cookie": "0.4.0", 161 | "cookie-signature": "1.0.6", 162 | "debug": "2.6.9", 163 | "depd": "~1.1.2", 164 | "encodeurl": "~1.0.2", 165 | "escape-html": "~1.0.3", 166 | "etag": "~1.8.1", 167 | "finalhandler": "~1.1.2", 168 | "fresh": "0.5.2", 169 | "merge-descriptors": "1.0.1", 170 | "methods": "~1.1.2", 171 | "on-finished": "~2.3.0", 172 | "parseurl": "~1.3.3", 173 | "path-to-regexp": "0.1.7", 174 | "proxy-addr": "~2.0.5", 175 | "qs": "6.7.0", 176 | "range-parser": "~1.2.1", 177 | "safe-buffer": "5.1.2", 178 | "send": "0.17.1", 179 | "serve-static": "1.14.1", 180 | "setprototypeof": "1.1.1", 181 | "statuses": "~1.5.0", 182 | "type-is": "~1.6.18", 183 | "utils-merge": "1.0.1", 184 | "vary": "~1.1.2" 185 | } 186 | }, 187 | "finalhandler": { 188 | "version": "1.1.2", 189 | "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.2.tgz", 190 | "integrity": "sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA==", 191 | "requires": { 192 | "debug": "2.6.9", 193 | "encodeurl": "~1.0.2", 194 | "escape-html": "~1.0.3", 195 | "on-finished": "~2.3.0", 196 | "parseurl": "~1.3.3", 197 | "statuses": "~1.5.0", 198 | "unpipe": "~1.0.0" 199 | } 200 | }, 201 | "forwarded": { 202 | "version": "0.1.2", 203 | "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.1.2.tgz", 204 | "integrity": "sha1-mMI9qxF1ZXuMBXPozszZGw/xjIQ=" 205 | }, 206 | "fresh": { 207 | "version": "0.5.2", 208 | "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", 209 | "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=" 210 | }, 211 | "has-flag": { 212 | "version": "3.0.0", 213 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", 214 | "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" 215 | }, 216 | "http-errors": { 217 | "version": "1.7.2", 218 | "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.2.tgz", 219 | "integrity": "sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg==", 220 | "requires": { 221 | "depd": "~1.1.2", 222 | "inherits": "2.0.3", 223 | "setprototypeof": "1.1.1", 224 | "statuses": ">= 1.5.0 < 2", 225 | "toidentifier": "1.0.0" 226 | } 227 | }, 228 | "iconv-lite": { 229 | "version": "0.4.24", 230 | "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", 231 | "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", 232 | "requires": { 233 | "safer-buffer": ">= 2.1.2 < 3" 234 | } 235 | }, 236 | "inherits": { 237 | "version": "2.0.3", 238 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", 239 | "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=" 240 | }, 241 | "ipaddr.js": { 242 | "version": "1.9.0", 243 | "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.0.tgz", 244 | "integrity": "sha512-M4Sjn6N/+O6/IXSJseKqHoFc+5FdGJ22sXqnjTpdZweHK64MzEPAyQZyEU3R/KRv2GLoa7nNtg/C2Ev6m7z+eA==" 245 | }, 246 | "kareem": { 247 | "version": "2.3.1", 248 | "resolved": "https://registry.npmjs.org/kareem/-/kareem-2.3.1.tgz", 249 | "integrity": "sha512-l3hLhffs9zqoDe8zjmb/mAN4B8VT3L56EUvKNqLFVs9YlFA+zx7ke1DO8STAdDyYNkeSo1nKmjuvQeI12So8Xw==" 250 | }, 251 | "media-typer": { 252 | "version": "0.3.0", 253 | "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", 254 | "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=" 255 | }, 256 | "memory-pager": { 257 | "version": "1.5.0", 258 | "resolved": "https://registry.npmjs.org/memory-pager/-/memory-pager-1.5.0.tgz", 259 | "integrity": "sha512-ZS4Bp4r/Zoeq6+NLJpP+0Zzm0pR8whtGPf1XExKLJBAczGMnSi3It14OiNCStjQjM6NU1okjQGSxgEZN8eBYKg==", 260 | "optional": true 261 | }, 262 | "merge-descriptors": { 263 | "version": "1.0.1", 264 | "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", 265 | "integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=" 266 | }, 267 | "methods": { 268 | "version": "1.1.2", 269 | "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", 270 | "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=" 271 | }, 272 | "mime": { 273 | "version": "1.6.0", 274 | "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", 275 | "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==" 276 | }, 277 | "mime-db": { 278 | "version": "1.40.0", 279 | "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.40.0.tgz", 280 | "integrity": "sha512-jYdeOMPy9vnxEqFRRo6ZvTZ8d9oPb+k18PKoYNYUe2stVEBPPwsln/qWzdbmaIvnhZ9v2P+CuecK+fpUfsV2mA==" 281 | }, 282 | "mime-types": { 283 | "version": "2.1.24", 284 | "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.24.tgz", 285 | "integrity": "sha512-WaFHS3MCl5fapm3oLxU4eYDw77IQM2ACcxQ9RIxfaC3ooc6PFuBMGZZsYpvoXS5D5QTWPieo1jjLdAm3TBP3cQ==", 286 | "requires": { 287 | "mime-db": "1.40.0" 288 | } 289 | }, 290 | "mongodb": { 291 | "version": "3.3.3", 292 | "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-3.3.3.tgz", 293 | "integrity": "sha512-MdRnoOjstmnrKJsK8PY0PjP6fyF/SBS4R8coxmhsfEU7tQ46/J6j+aSHF2n4c2/H8B+Hc/Klbfp8vggZfI0mmA==", 294 | "requires": { 295 | "bson": "^1.1.1", 296 | "require_optional": "^1.0.1", 297 | "safe-buffer": "^5.1.2", 298 | "saslprep": "^1.0.0" 299 | } 300 | }, 301 | "mongoose": { 302 | "version": "5.7.8", 303 | "resolved": "https://registry.npmjs.org/mongoose/-/mongoose-5.7.8.tgz", 304 | "integrity": "sha512-GsFXYo7z3ebnIDdnqlDJYQXQFqEGS+yxfdY9G0B7fxpvUJchDpwLGuGJdVd1QbGxu2l0DscCYBO0ntl3G6OACA==", 305 | "requires": { 306 | "bson": "~1.1.1", 307 | "kareem": "2.3.1", 308 | "mongodb": "3.3.3", 309 | "mongoose-legacy-pluralize": "1.0.2", 310 | "mpath": "0.6.0", 311 | "mquery": "3.2.2", 312 | "ms": "2.1.2", 313 | "regexp-clone": "1.0.0", 314 | "safe-buffer": "5.1.2", 315 | "sift": "7.0.1", 316 | "sliced": "1.0.1" 317 | }, 318 | "dependencies": { 319 | "ms": { 320 | "version": "2.1.2", 321 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", 322 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" 323 | } 324 | } 325 | }, 326 | "mongoose-legacy-pluralize": { 327 | "version": "1.0.2", 328 | "resolved": "https://registry.npmjs.org/mongoose-legacy-pluralize/-/mongoose-legacy-pluralize-1.0.2.tgz", 329 | "integrity": "sha512-Yo/7qQU4/EyIS8YDFSeenIvXxZN+ld7YdV9LqFVQJzTLye8unujAWPZ4NWKfFA+RNjh+wvTWKY9Z3E5XM6ZZiQ==" 330 | }, 331 | "mpath": { 332 | "version": "0.6.0", 333 | "resolved": "https://registry.npmjs.org/mpath/-/mpath-0.6.0.tgz", 334 | "integrity": "sha512-i75qh79MJ5Xo/sbhxrDrPSEG0H/mr1kcZXJ8dH6URU5jD/knFxCVqVC/gVSW7GIXL/9hHWlT9haLbCXWOll3qw==" 335 | }, 336 | "mquery": { 337 | "version": "3.2.2", 338 | "resolved": "https://registry.npmjs.org/mquery/-/mquery-3.2.2.tgz", 339 | "integrity": "sha512-XB52992COp0KP230I3qloVUbkLUxJIu328HBP2t2EsxSFtf4W1HPSOBWOXf1bqxK4Xbb66lfMJ+Bpfd9/yZE1Q==", 340 | "requires": { 341 | "bluebird": "3.5.1", 342 | "debug": "3.1.0", 343 | "regexp-clone": "^1.0.0", 344 | "safe-buffer": "5.1.2", 345 | "sliced": "1.0.1" 346 | }, 347 | "dependencies": { 348 | "debug": { 349 | "version": "3.1.0", 350 | "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", 351 | "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", 352 | "requires": { 353 | "ms": "2.0.0" 354 | } 355 | } 356 | } 357 | }, 358 | "ms": { 359 | "version": "2.0.0", 360 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", 361 | "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" 362 | }, 363 | "negotiator": { 364 | "version": "0.6.2", 365 | "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.2.tgz", 366 | "integrity": "sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw==" 367 | }, 368 | "on-finished": { 369 | "version": "2.3.0", 370 | "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", 371 | "integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=", 372 | "requires": { 373 | "ee-first": "1.1.1" 374 | } 375 | }, 376 | "parseurl": { 377 | "version": "1.3.3", 378 | "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", 379 | "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==" 380 | }, 381 | "path-to-regexp": { 382 | "version": "0.1.7", 383 | "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", 384 | "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=" 385 | }, 386 | "proxy-addr": { 387 | "version": "2.0.5", 388 | "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.5.tgz", 389 | "integrity": "sha512-t/7RxHXPH6cJtP0pRG6smSr9QJidhB+3kXu0KgXnbGYMgzEnUxRQ4/LDdfOwZEMyIh3/xHb8PX3t+lfL9z+YVQ==", 390 | "requires": { 391 | "forwarded": "~0.1.2", 392 | "ipaddr.js": "1.9.0" 393 | } 394 | }, 395 | "qs": { 396 | "version": "6.7.0", 397 | "resolved": "https://registry.npmjs.org/qs/-/qs-6.7.0.tgz", 398 | "integrity": "sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ==" 399 | }, 400 | "range-parser": { 401 | "version": "1.2.1", 402 | "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", 403 | "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==" 404 | }, 405 | "raw-body": { 406 | "version": "2.4.0", 407 | "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.0.tgz", 408 | "integrity": "sha512-4Oz8DUIwdvoa5qMJelxipzi/iJIi40O5cGV1wNYp5hvZP8ZN0T+jiNkL0QepXs+EsQ9XJ8ipEDoiH70ySUJP3Q==", 409 | "requires": { 410 | "bytes": "3.1.0", 411 | "http-errors": "1.7.2", 412 | "iconv-lite": "0.4.24", 413 | "unpipe": "1.0.0" 414 | } 415 | }, 416 | "regexp-clone": { 417 | "version": "1.0.0", 418 | "resolved": "https://registry.npmjs.org/regexp-clone/-/regexp-clone-1.0.0.tgz", 419 | "integrity": "sha512-TuAasHQNamyyJ2hb97IuBEif4qBHGjPHBS64sZwytpLEqtBQ1gPJTnOaQ6qmpET16cK14kkjbazl6+p0RRv0yw==" 420 | }, 421 | "require_optional": { 422 | "version": "1.0.1", 423 | "resolved": "https://registry.npmjs.org/require_optional/-/require_optional-1.0.1.tgz", 424 | "integrity": "sha512-qhM/y57enGWHAe3v/NcwML6a3/vfESLe/sGM2dII+gEO0BpKRUkWZow/tyloNqJyN6kXSl3RyyM8Ll5D/sJP8g==", 425 | "requires": { 426 | "resolve-from": "^2.0.0", 427 | "semver": "^5.1.0" 428 | } 429 | }, 430 | "resolve-from": { 431 | "version": "2.0.0", 432 | "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-2.0.0.tgz", 433 | "integrity": "sha1-lICrIOlP+h2egKgEx+oUdhGWa1c=" 434 | }, 435 | "safe-buffer": { 436 | "version": "5.1.2", 437 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", 438 | "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" 439 | }, 440 | "safer-buffer": { 441 | "version": "2.1.2", 442 | "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", 443 | "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" 444 | }, 445 | "saslprep": { 446 | "version": "1.0.3", 447 | "resolved": "https://registry.npmjs.org/saslprep/-/saslprep-1.0.3.tgz", 448 | "integrity": "sha512-/MY/PEMbk2SuY5sScONwhUDsV2p77Znkb/q3nSVstq/yQzYJOH/Azh29p9oJLsl3LnQwSvZDKagDGBsBwSooag==", 449 | "optional": true, 450 | "requires": { 451 | "sparse-bitfield": "^3.0.3" 452 | } 453 | }, 454 | "semver": { 455 | "version": "5.7.1", 456 | "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", 457 | "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" 458 | }, 459 | "send": { 460 | "version": "0.17.1", 461 | "resolved": "https://registry.npmjs.org/send/-/send-0.17.1.tgz", 462 | "integrity": "sha512-BsVKsiGcQMFwT8UxypobUKyv7irCNRHk1T0G680vk88yf6LBByGcZJOTJCrTP2xVN6yI+XjPJcNuE3V4fT9sAg==", 463 | "requires": { 464 | "debug": "2.6.9", 465 | "depd": "~1.1.2", 466 | "destroy": "~1.0.4", 467 | "encodeurl": "~1.0.2", 468 | "escape-html": "~1.0.3", 469 | "etag": "~1.8.1", 470 | "fresh": "0.5.2", 471 | "http-errors": "~1.7.2", 472 | "mime": "1.6.0", 473 | "ms": "2.1.1", 474 | "on-finished": "~2.3.0", 475 | "range-parser": "~1.2.1", 476 | "statuses": "~1.5.0" 477 | }, 478 | "dependencies": { 479 | "ms": { 480 | "version": "2.1.1", 481 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", 482 | "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==" 483 | } 484 | } 485 | }, 486 | "serve-static": { 487 | "version": "1.14.1", 488 | "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.1.tgz", 489 | "integrity": "sha512-JMrvUwE54emCYWlTI+hGrGv5I8dEwmco/00EvkzIIsR7MqrHonbD9pO2MOfFnpFntl7ecpZs+3mW+XbQZu9QCg==", 490 | "requires": { 491 | "encodeurl": "~1.0.2", 492 | "escape-html": "~1.0.3", 493 | "parseurl": "~1.3.3", 494 | "send": "0.17.1" 495 | } 496 | }, 497 | "setprototypeof": { 498 | "version": "1.1.1", 499 | "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz", 500 | "integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==" 501 | }, 502 | "sift": { 503 | "version": "7.0.1", 504 | "resolved": "https://registry.npmjs.org/sift/-/sift-7.0.1.tgz", 505 | "integrity": "sha512-oqD7PMJ+uO6jV9EQCl0LrRw1OwsiPsiFQR5AR30heR+4Dl7jBBbDLnNvWiak20tzZlSE1H7RB30SX/1j/YYT7g==" 506 | }, 507 | "sliced": { 508 | "version": "1.0.1", 509 | "resolved": "https://registry.npmjs.org/sliced/-/sliced-1.0.1.tgz", 510 | "integrity": "sha1-CzpmK10Ewxd7GSa+qCsD+Dei70E=" 511 | }, 512 | "sparse-bitfield": { 513 | "version": "3.0.3", 514 | "resolved": "https://registry.npmjs.org/sparse-bitfield/-/sparse-bitfield-3.0.3.tgz", 515 | "integrity": "sha1-/0rm5oZWBWuks+eSqzM004JzyhE=", 516 | "optional": true, 517 | "requires": { 518 | "memory-pager": "^1.0.2" 519 | } 520 | }, 521 | "statuses": { 522 | "version": "1.5.0", 523 | "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", 524 | "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=" 525 | }, 526 | "supports-color": { 527 | "version": "5.5.0", 528 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", 529 | "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", 530 | "requires": { 531 | "has-flag": "^3.0.0" 532 | } 533 | }, 534 | "toidentifier": { 535 | "version": "1.0.0", 536 | "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz", 537 | "integrity": "sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw==" 538 | }, 539 | "type-is": { 540 | "version": "1.6.18", 541 | "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", 542 | "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", 543 | "requires": { 544 | "media-typer": "0.3.0", 545 | "mime-types": "~2.1.24" 546 | } 547 | }, 548 | "unpipe": { 549 | "version": "1.0.0", 550 | "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", 551 | "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=" 552 | }, 553 | "utils-merge": { 554 | "version": "1.0.1", 555 | "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", 556 | "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=" 557 | }, 558 | "vary": { 559 | "version": "1.1.2", 560 | "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", 561 | "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=" 562 | } 563 | } 564 | } 565 | -------------------------------------------------------------------------------- /server/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "simpletask", 3 | "version": "1.0.0", 4 | "description": "Simple Task API", 5 | "main": "app.js", 6 | "scripts": { 7 | "start": "node src/app.js", 8 | "dev": "nodemon src/app.js" 9 | }, 10 | "author": "", 11 | "license": "ISC", 12 | "dependencies": { 13 | "chalk": "^2.4.2", 14 | "express": "^4.17.1", 15 | "mongodb": "^3.3.3", 16 | "mongoose": "^5.7.8" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /server/src/app.js: -------------------------------------------------------------------------------- 1 | const express = require('express') 2 | const chalk = require('chalk') 3 | const taskRoute = require('./routes/taskRoute') 4 | require('./mongoose-connect') 5 | 6 | const app = express() 7 | const port = 3000 8 | 9 | app.use(express.json()) 10 | app.use(taskRoute) 11 | 12 | app.listen(port ,()=>{ 13 | console.log(chalk.green.bgWhite.inverse(`server is up on port ${port}`)) 14 | }) -------------------------------------------------------------------------------- /server/src/models/task.js: -------------------------------------------------------------------------------- 1 | const mongoose = require('mongoose') 2 | 3 | const taskSchema = mongoose.Schema({ 4 | name: { 5 | required: true, 6 | type: String, 7 | }, task: { 8 | required: false, 9 | type: String 10 | } 11 | }) 12 | 13 | const Task = mongoose.model('Task',taskSchema) 14 | module.exports = Task -------------------------------------------------------------------------------- /server/src/mongoose-connect.js: -------------------------------------------------------------------------------- 1 | const mongoose = require('mongoose') 2 | const chalk = require('chalk') 3 | 4 | mongoose.connect('mongodb://localhost:27017/flutter-taskApp', { 5 | useNewUrlParser: true, 6 | useCreateIndex: true, 7 | useFindAndModify: false, 8 | useUnifiedTopology: true 9 | }, (error) => { 10 | error 11 | ? console.log(chalk.white.bgRed('Unable to connect to database')) 12 | : console.log(chalk.white.bgGreen('connection successful')) 13 | }) -------------------------------------------------------------------------------- /server/src/routes/taskRoute.js: -------------------------------------------------------------------------------- 1 | const express = require('express') 2 | const Task = require('../models/task') 3 | 4 | const router = express.Router() 5 | 6 | router.post('/posttask', async (req, res) => { 7 | const task = new Task(req.body) 8 | try { 9 | await task.save() 10 | res.status(201).send({ "status": true }) 11 | } catch (e) { 12 | res.status(400).send({ "status": false }) 13 | } 14 | }) 15 | 16 | router.get('/alltask', async (req, res) => { 17 | try { 18 | const allTask = await Task.find({}) 19 | res.status(200).send(allTask) 20 | } catch (e) { 21 | res.status(400).send({ "status": false }) 22 | } 23 | }) 24 | 25 | router.delete('/deletetaskbyid/:id', async (req, res) => { 26 | try { 27 | await Task.findOneAndDelete({ _id: req.params.id }) 28 | res.status(200).send({ "status": true }) 29 | } catch (e) { 30 | res.status(404).send({ "status": false }) 31 | } 32 | }) 33 | 34 | router.patch('/updatetask/:id', async (req, res) => { 35 | const updates = Object.keys(req.body) 36 | try { 37 | const task = await Task.findByIdAndUpdate(req.params.id, req.body) 38 | if (!task) { 39 | return res.status(404).send({ "status": false }) 40 | } 41 | updates.forEach((update) => task[update] = req.body[update]) 42 | task.save() 43 | res.status(201).send({ "status": true }) 44 | } catch (e) { 45 | res.status(400).send({ "status": false }) 46 | } 47 | }) 48 | 49 | router.delete('/deleteAllTask', async (req, res) => { 50 | try { 51 | await Task.deleteMany(req.body) 52 | return res.status(200).send({ "status": true }) 53 | } catch (e) { 54 | res.status(400).send({ "status": false }) 55 | } 56 | }) 57 | 58 | 59 | module.exports = router -------------------------------------------------------------------------------- /simpletask/.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 | .dart_tool/ 26 | .flutter-plugins 27 | .packages 28 | .pub-cache/ 29 | .pub/ 30 | /build/ 31 | 32 | # Android related 33 | **/android/**/gradle-wrapper.jar 34 | **/android/.gradle 35 | **/android/captures/ 36 | **/android/gradlew 37 | **/android/gradlew.bat 38 | **/android/local.properties 39 | **/android/**/GeneratedPluginRegistrant.java 40 | 41 | # iOS/XCode related 42 | **/ios/**/*.mode1v3 43 | **/ios/**/*.mode2v3 44 | **/ios/**/*.moved-aside 45 | **/ios/**/*.pbxuser 46 | **/ios/**/*.perspectivev3 47 | **/ios/**/*sync/ 48 | **/ios/**/.sconsign.dblite 49 | **/ios/**/.tags* 50 | **/ios/**/.vagrant/ 51 | **/ios/**/DerivedData/ 52 | **/ios/**/Icon? 53 | **/ios/**/Pods/ 54 | **/ios/**/.symlinks/ 55 | **/ios/**/profile 56 | **/ios/**/xcuserdata 57 | **/ios/.generated/ 58 | **/ios/Flutter/App.framework 59 | **/ios/Flutter/Flutter.framework 60 | **/ios/Flutter/Generated.xcconfig 61 | **/ios/Flutter/app.flx 62 | **/ios/Flutter/app.zip 63 | **/ios/Flutter/flutter_assets/ 64 | **/ios/Flutter/flutter_export_environment.sh 65 | **/ios/ServiceDefinitions.json 66 | **/ios/Runner/GeneratedPluginRegistrant.* 67 | 68 | # Exceptions to above rules. 69 | !**/ios/**/default.mode1v3 70 | !**/ios/**/default.mode2v3 71 | !**/ios/**/default.pbxuser 72 | !**/ios/**/default.perspectivev3 73 | !/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages 74 | -------------------------------------------------------------------------------- /simpletask/.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: 68587a0916366e9512a78df22c44163d041dd5f3 8 | channel: stable 9 | 10 | project_type: app 11 | -------------------------------------------------------------------------------- /simpletask/README.md: -------------------------------------------------------------------------------- 1 | # Today's Task APP 2 | 3 | FullStack Day's task app 4 | 5 | ## Features 6 | 7 | >### Actions on Task 8 | 9 | |Create|View|Update|Delete|Delete All| 10 | |---|---|---|---|---| 11 | 12 | >### Theming 13 | 14 | `Dark` and `Light` theme 15 | 16 | >### Backend used 17 | 18 | 19 | **Node.JS + MongoDB** 20 | 21 | ## Get Started 22 | To build the app run below command 23 | 24 | > flutter run 25 | 26 | ## Screenshots 27 | 28 | __Tasks page__ 29 | 30 | |light |dark | 31 | |----------------------------------|------------------------------------| 32 | ![Home-light](screenshots/light%20home.png) | ![Tasks Page](screenshots/dark%20home.png) 33 | 34 | __No Tasks__ 35 | 36 | |light |dark | 37 | |----------------------------------|------------------------------------| 38 | ![NoTask-light](screenshots/light%20no%20tasks.png) | ![NoTask-dark](screenshots/dark%20no%20tasks.png) 39 | 40 | __Delete particular task__ 41 | 42 | |light |dark | 43 | |----------------------------------|------------------------------------| 44 | ![delete-light](screenshots/light%20delete%20selected%20task.png) | ![Delete-dark](screenshots/dark%20delete%20selected%20task.png) 45 | 46 | __Delete all tasks__ 47 | 48 | |light |dark | 49 | |----------------------------------|------------------------------------| 50 | ![DeleteAll-light](screenshots/light%20delete%20all%20tasks.png) | ![DeleteAll-dark](screenshots/dark%20delete%20all%20tasks.png) 51 | 52 | __Drawer__ 53 | 54 | |light |dark | 55 | |----------------------------------|------------------------------------| 56 | ![Drawer-light](screenshots/light%20drawer.png) | ![Drawer-dark](screenshots/dark%20drawer.png) 57 | 58 | >__[view demo](https://drive.google.com/file/d/1Sz_qwJXCe7Wg2Te_XIGHO2br1A5XmS8n/view?usp=sharing)__ 59 | 60 | # Thank You. -------------------------------------------------------------------------------- /simpletask/android/app/build.gradle: -------------------------------------------------------------------------------- 1 | def localProperties = new Properties() 2 | def localPropertiesFile = rootProject.file('local.properties') 3 | if (localPropertiesFile.exists()) { 4 | localPropertiesFile.withReader('UTF-8') { reader -> 5 | localProperties.load(reader) 6 | } 7 | } 8 | 9 | def flutterRoot = localProperties.getProperty('flutter.sdk') 10 | if (flutterRoot == null) { 11 | throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.") 12 | } 13 | 14 | def flutterVersionCode = localProperties.getProperty('flutter.versionCode') 15 | if (flutterVersionCode == null) { 16 | flutterVersionCode = '1' 17 | } 18 | 19 | def flutterVersionName = localProperties.getProperty('flutter.versionName') 20 | if (flutterVersionName == null) { 21 | flutterVersionName = '1.0' 22 | } 23 | 24 | apply plugin: 'com.android.application' 25 | apply plugin: 'kotlin-android' 26 | apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" 27 | 28 | android { 29 | compileSdkVersion 28 30 | 31 | sourceSets { 32 | main.java.srcDirs += 'src/main/kotlin' 33 | } 34 | 35 | lintOptions { 36 | disable 'InvalidPackage' 37 | } 38 | 39 | defaultConfig { 40 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). 41 | applicationId "com.example.simpletask" 42 | minSdkVersion 16 43 | targetSdkVersion 28 44 | versionCode flutterVersionCode.toInteger() 45 | versionName flutterVersionName 46 | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" 47 | } 48 | 49 | buildTypes { 50 | release { 51 | // TODO: Add your own signing config for the release build. 52 | // Signing with the debug keys for now, so `flutter run --release` works. 53 | signingConfig signingConfigs.debug 54 | } 55 | } 56 | } 57 | 58 | flutter { 59 | source '../..' 60 | } 61 | 62 | dependencies { 63 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" 64 | testImplementation 'junit:junit:4.12' 65 | androidTestImplementation 'com.android.support.test:runner:1.0.2' 66 | androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' 67 | } 68 | -------------------------------------------------------------------------------- /simpletask/android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /simpletask/android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 9 | 13 | 20 | 24 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /simpletask/android/app/src/main/kotlin/com/example/simpletask/MainActivity.kt: -------------------------------------------------------------------------------- 1 | package com.example.simpletask 2 | 3 | import android.os.Bundle 4 | 5 | import io.flutter.app.FlutterActivity 6 | import io.flutter.plugins.GeneratedPluginRegistrant 7 | 8 | class MainActivity: FlutterActivity() { 9 | override fun onCreate(savedInstanceState: Bundle?) { 10 | super.onCreate(savedInstanceState) 11 | GeneratedPluginRegistrant.registerWith(this) 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /simpletask/android/app/src/main/res/drawable/launch_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /simpletask/android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rakshak1344/Flutter-TaskApp/aa20c7da00bfe6d317b9d11cd961484186ee9e43/simpletask/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /simpletask/android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rakshak1344/Flutter-TaskApp/aa20c7da00bfe6d317b9d11cd961484186ee9e43/simpletask/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /simpletask/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rakshak1344/Flutter-TaskApp/aa20c7da00bfe6d317b9d11cd961484186ee9e43/simpletask/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /simpletask/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rakshak1344/Flutter-TaskApp/aa20c7da00bfe6d317b9d11cd961484186ee9e43/simpletask/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /simpletask/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rakshak1344/Flutter-TaskApp/aa20c7da00bfe6d317b9d11cd961484186ee9e43/simpletask/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /simpletask/android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | -------------------------------------------------------------------------------- /simpletask/android/app/src/profile/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /simpletask/android/build.gradle: -------------------------------------------------------------------------------- 1 | buildscript { 2 | ext.kotlin_version = '1.2.71' 3 | repositories { 4 | google() 5 | jcenter() 6 | } 7 | 8 | dependencies { 9 | classpath 'com.android.tools.build:gradle:3.2.1' 10 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" 11 | } 12 | } 13 | 14 | allprojects { 15 | repositories { 16 | google() 17 | jcenter() 18 | } 19 | } 20 | 21 | rootProject.buildDir = '../build' 22 | subprojects { 23 | project.buildDir = "${rootProject.buildDir}/${project.name}" 24 | } 25 | subprojects { 26 | project.evaluationDependsOn(':app') 27 | } 28 | 29 | task clean(type: Delete) { 30 | delete rootProject.buildDir 31 | } 32 | -------------------------------------------------------------------------------- /simpletask/android/gradle.properties: -------------------------------------------------------------------------------- 1 | org.gradle.jvmargs=-Xmx1536M 2 | 3 | -------------------------------------------------------------------------------- /simpletask/android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Fri Jun 23 08:50:38 CEST 2017 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-all.zip 7 | -------------------------------------------------------------------------------- /simpletask/android/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | 3 | def flutterProjectRoot = rootProject.projectDir.parentFile.toPath() 4 | 5 | def plugins = new Properties() 6 | def pluginsFile = new File(flutterProjectRoot.toFile(), '.flutter-plugins') 7 | if (pluginsFile.exists()) { 8 | pluginsFile.withReader('UTF-8') { reader -> plugins.load(reader) } 9 | } 10 | 11 | plugins.each { name, path -> 12 | def pluginDirectory = flutterProjectRoot.resolve(path).resolve('android').toFile() 13 | include ":$name" 14 | project(":$name").projectDir = pluginDirectory 15 | } 16 | -------------------------------------------------------------------------------- /simpletask/ios/Flutter/AppFrameworkInfo.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleExecutable 8 | App 9 | CFBundleIdentifier 10 | io.flutter.flutter.app 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | App 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1.0 23 | MinimumOSVersion 24 | 8.0 25 | 26 | 27 | -------------------------------------------------------------------------------- /simpletask/ios/Flutter/Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Generated.xcconfig" 2 | -------------------------------------------------------------------------------- /simpletask/ios/Flutter/Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Generated.xcconfig" 2 | -------------------------------------------------------------------------------- /simpletask/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 | 3B80C3941E831B6300D905FE /* App.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3B80C3931E831B6300D905FE /* App.framework */; }; 13 | 3B80C3951E831B6300D905FE /* App.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 3B80C3931E831B6300D905FE /* App.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; 14 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; }; 15 | 9705A1C61CF904A100538489 /* Flutter.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9740EEBA1CF902C7004384FC /* Flutter.framework */; }; 16 | 9705A1C71CF904A300538489 /* Flutter.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 9740EEBA1CF902C7004384FC /* Flutter.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; 17 | 9740EEB41CF90195004384FC /* Debug.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 9740EEB21CF90195004384FC /* Debug.xcconfig */; }; 18 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; }; 19 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; }; 20 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; }; 21 | /* End PBXBuildFile section */ 22 | 23 | /* Begin PBXCopyFilesBuildPhase section */ 24 | 9705A1C41CF9048500538489 /* Embed Frameworks */ = { 25 | isa = PBXCopyFilesBuildPhase; 26 | buildActionMask = 2147483647; 27 | dstPath = ""; 28 | dstSubfolderSpec = 10; 29 | files = ( 30 | 3B80C3951E831B6300D905FE /* App.framework in Embed Frameworks */, 31 | 9705A1C71CF904A300538489 /* Flutter.framework in Embed Frameworks */, 32 | ); 33 | name = "Embed Frameworks"; 34 | runOnlyForDeploymentPostprocessing = 0; 35 | }; 36 | /* End PBXCopyFilesBuildPhase section */ 37 | 38 | /* Begin PBXFileReference section */ 39 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; }; 40 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; }; 41 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; }; 42 | 3B80C3931E831B6300D905FE /* App.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = App.framework; path = Flutter/App.framework; sourceTree = ""; }; 43 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; }; 44 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 45 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; }; 46 | 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; }; 47 | 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; }; 48 | 9740EEBA1CF902C7004384FC /* Flutter.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Flutter.framework; path = Flutter/Flutter.framework; sourceTree = ""; }; 49 | 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; }; 50 | 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 51 | 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 52 | 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 53 | 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 54 | /* End PBXFileReference section */ 55 | 56 | /* Begin PBXFrameworksBuildPhase section */ 57 | 97C146EB1CF9000F007C117D /* Frameworks */ = { 58 | isa = PBXFrameworksBuildPhase; 59 | buildActionMask = 2147483647; 60 | files = ( 61 | 9705A1C61CF904A100538489 /* Flutter.framework in Frameworks */, 62 | 3B80C3941E831B6300D905FE /* App.framework in Frameworks */, 63 | ); 64 | runOnlyForDeploymentPostprocessing = 0; 65 | }; 66 | /* End PBXFrameworksBuildPhase section */ 67 | 68 | /* Begin PBXGroup section */ 69 | 9740EEB11CF90186004384FC /* Flutter */ = { 70 | isa = PBXGroup; 71 | children = ( 72 | 3B80C3931E831B6300D905FE /* App.framework */, 73 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */, 74 | 9740EEBA1CF902C7004384FC /* Flutter.framework */, 75 | 9740EEB21CF90195004384FC /* Debug.xcconfig */, 76 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */, 77 | 9740EEB31CF90195004384FC /* Generated.xcconfig */, 78 | ); 79 | name = Flutter; 80 | sourceTree = ""; 81 | }; 82 | 97C146E51CF9000F007C117D = { 83 | isa = PBXGroup; 84 | children = ( 85 | 9740EEB11CF90186004384FC /* Flutter */, 86 | 97C146F01CF9000F007C117D /* Runner */, 87 | 97C146EF1CF9000F007C117D /* Products */, 88 | ); 89 | sourceTree = ""; 90 | }; 91 | 97C146EF1CF9000F007C117D /* Products */ = { 92 | isa = PBXGroup; 93 | children = ( 94 | 97C146EE1CF9000F007C117D /* Runner.app */, 95 | ); 96 | name = Products; 97 | sourceTree = ""; 98 | }; 99 | 97C146F01CF9000F007C117D /* Runner */ = { 100 | isa = PBXGroup; 101 | children = ( 102 | 97C146FA1CF9000F007C117D /* Main.storyboard */, 103 | 97C146FD1CF9000F007C117D /* Assets.xcassets */, 104 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */, 105 | 97C147021CF9000F007C117D /* Info.plist */, 106 | 97C146F11CF9000F007C117D /* Supporting Files */, 107 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */, 108 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */, 109 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */, 110 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */, 111 | ); 112 | path = Runner; 113 | sourceTree = ""; 114 | }; 115 | 97C146F11CF9000F007C117D /* Supporting Files */ = { 116 | isa = PBXGroup; 117 | children = ( 118 | ); 119 | name = "Supporting Files"; 120 | sourceTree = ""; 121 | }; 122 | /* End PBXGroup section */ 123 | 124 | /* Begin PBXNativeTarget section */ 125 | 97C146ED1CF9000F007C117D /* Runner */ = { 126 | isa = PBXNativeTarget; 127 | buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */; 128 | buildPhases = ( 129 | 9740EEB61CF901F6004384FC /* Run Script */, 130 | 97C146EA1CF9000F007C117D /* Sources */, 131 | 97C146EB1CF9000F007C117D /* Frameworks */, 132 | 97C146EC1CF9000F007C117D /* Resources */, 133 | 9705A1C41CF9048500538489 /* Embed Frameworks */, 134 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */, 135 | ); 136 | buildRules = ( 137 | ); 138 | dependencies = ( 139 | ); 140 | name = Runner; 141 | productName = Runner; 142 | productReference = 97C146EE1CF9000F007C117D /* Runner.app */; 143 | productType = "com.apple.product-type.application"; 144 | }; 145 | /* End PBXNativeTarget section */ 146 | 147 | /* Begin PBXProject section */ 148 | 97C146E61CF9000F007C117D /* Project object */ = { 149 | isa = PBXProject; 150 | attributes = { 151 | LastUpgradeCheck = 1020; 152 | ORGANIZATIONNAME = "The Chromium Authors"; 153 | TargetAttributes = { 154 | 97C146ED1CF9000F007C117D = { 155 | CreatedOnToolsVersion = 7.3.1; 156 | LastSwiftMigration = 0910; 157 | }; 158 | }; 159 | }; 160 | buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */; 161 | compatibilityVersion = "Xcode 3.2"; 162 | developmentRegion = en; 163 | hasScannedForEncodings = 0; 164 | knownRegions = ( 165 | en, 166 | Base, 167 | ); 168 | mainGroup = 97C146E51CF9000F007C117D; 169 | productRefGroup = 97C146EF1CF9000F007C117D /* Products */; 170 | projectDirPath = ""; 171 | projectRoot = ""; 172 | targets = ( 173 | 97C146ED1CF9000F007C117D /* Runner */, 174 | ); 175 | }; 176 | /* End PBXProject section */ 177 | 178 | /* Begin PBXResourcesBuildPhase section */ 179 | 97C146EC1CF9000F007C117D /* Resources */ = { 180 | isa = PBXResourcesBuildPhase; 181 | buildActionMask = 2147483647; 182 | files = ( 183 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */, 184 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */, 185 | 9740EEB41CF90195004384FC /* Debug.xcconfig in Resources */, 186 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */, 187 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */, 188 | ); 189 | runOnlyForDeploymentPostprocessing = 0; 190 | }; 191 | /* End PBXResourcesBuildPhase section */ 192 | 193 | /* Begin PBXShellScriptBuildPhase section */ 194 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { 195 | isa = PBXShellScriptBuildPhase; 196 | buildActionMask = 2147483647; 197 | files = ( 198 | ); 199 | inputPaths = ( 200 | ); 201 | name = "Thin Binary"; 202 | outputPaths = ( 203 | ); 204 | runOnlyForDeploymentPostprocessing = 0; 205 | shellPath = /bin/sh; 206 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" thin"; 207 | }; 208 | 9740EEB61CF901F6004384FC /* Run Script */ = { 209 | isa = PBXShellScriptBuildPhase; 210 | buildActionMask = 2147483647; 211 | files = ( 212 | ); 213 | inputPaths = ( 214 | ); 215 | name = "Run Script"; 216 | outputPaths = ( 217 | ); 218 | runOnlyForDeploymentPostprocessing = 0; 219 | shellPath = /bin/sh; 220 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build"; 221 | }; 222 | /* End PBXShellScriptBuildPhase section */ 223 | 224 | /* Begin PBXSourcesBuildPhase section */ 225 | 97C146EA1CF9000F007C117D /* Sources */ = { 226 | isa = PBXSourcesBuildPhase; 227 | buildActionMask = 2147483647; 228 | files = ( 229 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */, 230 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */, 231 | ); 232 | runOnlyForDeploymentPostprocessing = 0; 233 | }; 234 | /* End PBXSourcesBuildPhase section */ 235 | 236 | /* Begin PBXVariantGroup section */ 237 | 97C146FA1CF9000F007C117D /* Main.storyboard */ = { 238 | isa = PBXVariantGroup; 239 | children = ( 240 | 97C146FB1CF9000F007C117D /* Base */, 241 | ); 242 | name = Main.storyboard; 243 | sourceTree = ""; 244 | }; 245 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = { 246 | isa = PBXVariantGroup; 247 | children = ( 248 | 97C147001CF9000F007C117D /* Base */, 249 | ); 250 | name = LaunchScreen.storyboard; 251 | sourceTree = ""; 252 | }; 253 | /* End PBXVariantGroup section */ 254 | 255 | /* Begin XCBuildConfiguration section */ 256 | 249021D3217E4FDB00AE95B9 /* Profile */ = { 257 | isa = XCBuildConfiguration; 258 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 259 | buildSettings = { 260 | ALWAYS_SEARCH_USER_PATHS = NO; 261 | CLANG_ANALYZER_NONNULL = YES; 262 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 263 | CLANG_CXX_LIBRARY = "libc++"; 264 | CLANG_ENABLE_MODULES = YES; 265 | CLANG_ENABLE_OBJC_ARC = YES; 266 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 267 | CLANG_WARN_BOOL_CONVERSION = YES; 268 | CLANG_WARN_COMMA = YES; 269 | CLANG_WARN_CONSTANT_CONVERSION = YES; 270 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 271 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 272 | CLANG_WARN_EMPTY_BODY = YES; 273 | CLANG_WARN_ENUM_CONVERSION = YES; 274 | CLANG_WARN_INFINITE_RECURSION = YES; 275 | CLANG_WARN_INT_CONVERSION = YES; 276 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 277 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 278 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 279 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 280 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 281 | CLANG_WARN_STRICT_PROTOTYPES = YES; 282 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 283 | CLANG_WARN_UNREACHABLE_CODE = YES; 284 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 285 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 286 | COPY_PHASE_STRIP = NO; 287 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 288 | ENABLE_NS_ASSERTIONS = NO; 289 | ENABLE_STRICT_OBJC_MSGSEND = YES; 290 | GCC_C_LANGUAGE_STANDARD = gnu99; 291 | GCC_NO_COMMON_BLOCKS = YES; 292 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 293 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 294 | GCC_WARN_UNDECLARED_SELECTOR = YES; 295 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 296 | GCC_WARN_UNUSED_FUNCTION = YES; 297 | GCC_WARN_UNUSED_VARIABLE = YES; 298 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 299 | MTL_ENABLE_DEBUG_INFO = NO; 300 | SDKROOT = iphoneos; 301 | TARGETED_DEVICE_FAMILY = "1,2"; 302 | VALIDATE_PRODUCT = YES; 303 | }; 304 | name = Profile; 305 | }; 306 | 249021D4217E4FDB00AE95B9 /* Profile */ = { 307 | isa = XCBuildConfiguration; 308 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 309 | buildSettings = { 310 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 311 | CLANG_ENABLE_MODULES = YES; 312 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 313 | ENABLE_BITCODE = NO; 314 | FRAMEWORK_SEARCH_PATHS = ( 315 | "$(inherited)", 316 | "$(PROJECT_DIR)/Flutter", 317 | ); 318 | INFOPLIST_FILE = Runner/Info.plist; 319 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 320 | LIBRARY_SEARCH_PATHS = ( 321 | "$(inherited)", 322 | "$(PROJECT_DIR)/Flutter", 323 | ); 324 | PRODUCT_BUNDLE_IDENTIFIER = com.example.simpletask; 325 | PRODUCT_NAME = "$(TARGET_NAME)"; 326 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 327 | SWIFT_VERSION = 4.0; 328 | VERSIONING_SYSTEM = "apple-generic"; 329 | }; 330 | name = Profile; 331 | }; 332 | 97C147031CF9000F007C117D /* Debug */ = { 333 | isa = XCBuildConfiguration; 334 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; 335 | buildSettings = { 336 | ALWAYS_SEARCH_USER_PATHS = NO; 337 | CLANG_ANALYZER_NONNULL = YES; 338 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 339 | CLANG_CXX_LIBRARY = "libc++"; 340 | CLANG_ENABLE_MODULES = YES; 341 | CLANG_ENABLE_OBJC_ARC = YES; 342 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 343 | CLANG_WARN_BOOL_CONVERSION = YES; 344 | CLANG_WARN_COMMA = YES; 345 | CLANG_WARN_CONSTANT_CONVERSION = YES; 346 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 347 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 348 | CLANG_WARN_EMPTY_BODY = YES; 349 | CLANG_WARN_ENUM_CONVERSION = YES; 350 | CLANG_WARN_INFINITE_RECURSION = YES; 351 | CLANG_WARN_INT_CONVERSION = YES; 352 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 353 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 354 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 355 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 356 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 357 | CLANG_WARN_STRICT_PROTOTYPES = YES; 358 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 359 | CLANG_WARN_UNREACHABLE_CODE = YES; 360 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 361 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 362 | COPY_PHASE_STRIP = NO; 363 | DEBUG_INFORMATION_FORMAT = dwarf; 364 | ENABLE_STRICT_OBJC_MSGSEND = YES; 365 | ENABLE_TESTABILITY = YES; 366 | GCC_C_LANGUAGE_STANDARD = gnu99; 367 | GCC_DYNAMIC_NO_PIC = NO; 368 | GCC_NO_COMMON_BLOCKS = YES; 369 | GCC_OPTIMIZATION_LEVEL = 0; 370 | GCC_PREPROCESSOR_DEFINITIONS = ( 371 | "DEBUG=1", 372 | "$(inherited)", 373 | ); 374 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 375 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 376 | GCC_WARN_UNDECLARED_SELECTOR = YES; 377 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 378 | GCC_WARN_UNUSED_FUNCTION = YES; 379 | GCC_WARN_UNUSED_VARIABLE = YES; 380 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 381 | MTL_ENABLE_DEBUG_INFO = YES; 382 | ONLY_ACTIVE_ARCH = YES; 383 | SDKROOT = iphoneos; 384 | TARGETED_DEVICE_FAMILY = "1,2"; 385 | }; 386 | name = Debug; 387 | }; 388 | 97C147041CF9000F007C117D /* Release */ = { 389 | isa = XCBuildConfiguration; 390 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 391 | buildSettings = { 392 | ALWAYS_SEARCH_USER_PATHS = NO; 393 | CLANG_ANALYZER_NONNULL = YES; 394 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 395 | CLANG_CXX_LIBRARY = "libc++"; 396 | CLANG_ENABLE_MODULES = YES; 397 | CLANG_ENABLE_OBJC_ARC = YES; 398 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 399 | CLANG_WARN_BOOL_CONVERSION = YES; 400 | CLANG_WARN_COMMA = YES; 401 | CLANG_WARN_CONSTANT_CONVERSION = YES; 402 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 403 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 404 | CLANG_WARN_EMPTY_BODY = YES; 405 | CLANG_WARN_ENUM_CONVERSION = YES; 406 | CLANG_WARN_INFINITE_RECURSION = YES; 407 | CLANG_WARN_INT_CONVERSION = YES; 408 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 409 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 410 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 411 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 412 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 413 | CLANG_WARN_STRICT_PROTOTYPES = YES; 414 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 415 | CLANG_WARN_UNREACHABLE_CODE = YES; 416 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 417 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 418 | COPY_PHASE_STRIP = NO; 419 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 420 | ENABLE_NS_ASSERTIONS = NO; 421 | ENABLE_STRICT_OBJC_MSGSEND = YES; 422 | GCC_C_LANGUAGE_STANDARD = gnu99; 423 | GCC_NO_COMMON_BLOCKS = YES; 424 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 425 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 426 | GCC_WARN_UNDECLARED_SELECTOR = YES; 427 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 428 | GCC_WARN_UNUSED_FUNCTION = YES; 429 | GCC_WARN_UNUSED_VARIABLE = YES; 430 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 431 | MTL_ENABLE_DEBUG_INFO = NO; 432 | SDKROOT = iphoneos; 433 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 434 | TARGETED_DEVICE_FAMILY = "1,2"; 435 | VALIDATE_PRODUCT = YES; 436 | }; 437 | name = Release; 438 | }; 439 | 97C147061CF9000F007C117D /* Debug */ = { 440 | isa = XCBuildConfiguration; 441 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; 442 | buildSettings = { 443 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 444 | CLANG_ENABLE_MODULES = YES; 445 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 446 | ENABLE_BITCODE = NO; 447 | FRAMEWORK_SEARCH_PATHS = ( 448 | "$(inherited)", 449 | "$(PROJECT_DIR)/Flutter", 450 | ); 451 | INFOPLIST_FILE = Runner/Info.plist; 452 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 453 | LIBRARY_SEARCH_PATHS = ( 454 | "$(inherited)", 455 | "$(PROJECT_DIR)/Flutter", 456 | ); 457 | PRODUCT_BUNDLE_IDENTIFIER = com.example.simpletask; 458 | PRODUCT_NAME = "$(TARGET_NAME)"; 459 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 460 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 461 | SWIFT_VERSION = 4.0; 462 | VERSIONING_SYSTEM = "apple-generic"; 463 | }; 464 | name = Debug; 465 | }; 466 | 97C147071CF9000F007C117D /* Release */ = { 467 | isa = XCBuildConfiguration; 468 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 469 | buildSettings = { 470 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 471 | CLANG_ENABLE_MODULES = YES; 472 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 473 | ENABLE_BITCODE = NO; 474 | FRAMEWORK_SEARCH_PATHS = ( 475 | "$(inherited)", 476 | "$(PROJECT_DIR)/Flutter", 477 | ); 478 | INFOPLIST_FILE = Runner/Info.plist; 479 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 480 | LIBRARY_SEARCH_PATHS = ( 481 | "$(inherited)", 482 | "$(PROJECT_DIR)/Flutter", 483 | ); 484 | PRODUCT_BUNDLE_IDENTIFIER = com.example.simpletask; 485 | PRODUCT_NAME = "$(TARGET_NAME)"; 486 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 487 | SWIFT_VERSION = 4.0; 488 | VERSIONING_SYSTEM = "apple-generic"; 489 | }; 490 | name = Release; 491 | }; 492 | /* End XCBuildConfiguration section */ 493 | 494 | /* Begin XCConfigurationList section */ 495 | 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = { 496 | isa = XCConfigurationList; 497 | buildConfigurations = ( 498 | 97C147031CF9000F007C117D /* Debug */, 499 | 97C147041CF9000F007C117D /* Release */, 500 | 249021D3217E4FDB00AE95B9 /* Profile */, 501 | ); 502 | defaultConfigurationIsVisible = 0; 503 | defaultConfigurationName = Release; 504 | }; 505 | 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = { 506 | isa = XCConfigurationList; 507 | buildConfigurations = ( 508 | 97C147061CF9000F007C117D /* Debug */, 509 | 97C147071CF9000F007C117D /* Release */, 510 | 249021D4217E4FDB00AE95B9 /* Profile */, 511 | ); 512 | defaultConfigurationIsVisible = 0; 513 | defaultConfigurationName = Release; 514 | }; 515 | /* End XCConfigurationList section */ 516 | 517 | }; 518 | rootObject = 97C146E61CF9000F007C117D /* Project object */; 519 | } 520 | -------------------------------------------------------------------------------- /simpletask/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /simpletask/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 | -------------------------------------------------------------------------------- /simpletask/ios/Runner.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /simpletask/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 | -------------------------------------------------------------------------------- /simpletask/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 | -------------------------------------------------------------------------------- /simpletask/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rakshak1344/Flutter-TaskApp/aa20c7da00bfe6d317b9d11cd961484186ee9e43/simpletask/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png -------------------------------------------------------------------------------- /simpletask/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rakshak1344/Flutter-TaskApp/aa20c7da00bfe6d317b9d11cd961484186ee9e43/simpletask/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png -------------------------------------------------------------------------------- /simpletask/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rakshak1344/Flutter-TaskApp/aa20c7da00bfe6d317b9d11cd961484186ee9e43/simpletask/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png -------------------------------------------------------------------------------- /simpletask/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rakshak1344/Flutter-TaskApp/aa20c7da00bfe6d317b9d11cd961484186ee9e43/simpletask/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png -------------------------------------------------------------------------------- /simpletask/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rakshak1344/Flutter-TaskApp/aa20c7da00bfe6d317b9d11cd961484186ee9e43/simpletask/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png -------------------------------------------------------------------------------- /simpletask/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rakshak1344/Flutter-TaskApp/aa20c7da00bfe6d317b9d11cd961484186ee9e43/simpletask/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png -------------------------------------------------------------------------------- /simpletask/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rakshak1344/Flutter-TaskApp/aa20c7da00bfe6d317b9d11cd961484186ee9e43/simpletask/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png -------------------------------------------------------------------------------- /simpletask/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rakshak1344/Flutter-TaskApp/aa20c7da00bfe6d317b9d11cd961484186ee9e43/simpletask/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png -------------------------------------------------------------------------------- /simpletask/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rakshak1344/Flutter-TaskApp/aa20c7da00bfe6d317b9d11cd961484186ee9e43/simpletask/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png -------------------------------------------------------------------------------- /simpletask/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rakshak1344/Flutter-TaskApp/aa20c7da00bfe6d317b9d11cd961484186ee9e43/simpletask/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png -------------------------------------------------------------------------------- /simpletask/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rakshak1344/Flutter-TaskApp/aa20c7da00bfe6d317b9d11cd961484186ee9e43/simpletask/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png -------------------------------------------------------------------------------- /simpletask/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rakshak1344/Flutter-TaskApp/aa20c7da00bfe6d317b9d11cd961484186ee9e43/simpletask/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png -------------------------------------------------------------------------------- /simpletask/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rakshak1344/Flutter-TaskApp/aa20c7da00bfe6d317b9d11cd961484186ee9e43/simpletask/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png -------------------------------------------------------------------------------- /simpletask/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rakshak1344/Flutter-TaskApp/aa20c7da00bfe6d317b9d11cd961484186ee9e43/simpletask/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png -------------------------------------------------------------------------------- /simpletask/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rakshak1344/Flutter-TaskApp/aa20c7da00bfe6d317b9d11cd961484186ee9e43/simpletask/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png -------------------------------------------------------------------------------- /simpletask/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 | -------------------------------------------------------------------------------- /simpletask/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rakshak1344/Flutter-TaskApp/aa20c7da00bfe6d317b9d11cd961484186ee9e43/simpletask/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png -------------------------------------------------------------------------------- /simpletask/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rakshak1344/Flutter-TaskApp/aa20c7da00bfe6d317b9d11cd961484186ee9e43/simpletask/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png -------------------------------------------------------------------------------- /simpletask/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rakshak1344/Flutter-TaskApp/aa20c7da00bfe6d317b9d11cd961484186ee9e43/simpletask/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png -------------------------------------------------------------------------------- /simpletask/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. -------------------------------------------------------------------------------- /simpletask/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 | -------------------------------------------------------------------------------- /simpletask/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 | -------------------------------------------------------------------------------- /simpletask/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 | simpletask 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 | -------------------------------------------------------------------------------- /simpletask/ios/Runner/Runner-Bridging-Header.h: -------------------------------------------------------------------------------- 1 | #import "GeneratedPluginRegistrant.h" -------------------------------------------------------------------------------- /simpletask/lib/appTheme.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class AppTheme { 4 | AppTheme._(); 5 | 6 | static Color _lightIconColor = Colors.redAccent; 7 | 8 | static Color _lightPrimaryColor = Colors.white; 9 | static Color _lightPrimaryVariantColor = Color(0XFFE1E1E1); 10 | static Color _lightSecondaryColor = Colors.red; 11 | static Color _lightOnPrimaryColor = Colors.black; 12 | 13 | static final ThemeData lightTheme = ThemeData( 14 | scaffoldBackgroundColor: _lightPrimaryVariantColor, 15 | appBarTheme: AppBarTheme( 16 | color: _lightPrimaryVariantColor, 17 | iconTheme: IconThemeData(color: _lightIconColor), 18 | ), 19 | colorScheme: ColorScheme.light( 20 | primary: _lightPrimaryColor, 21 | primaryVariant: _lightPrimaryVariantColor, 22 | secondary: _lightSecondaryColor, 23 | onPrimary: _lightOnPrimaryColor, 24 | ), 25 | iconTheme: IconThemeData(color: _lightIconColor), 26 | textTheme: _lightTextTheme, 27 | floatingActionButtonTheme: FloatingActionButtonThemeData( 28 | backgroundColor: Colors.white, 29 | elevation: 10, 30 | ), 31 | ); 32 | 33 | static final TextTheme _lightTextTheme = TextTheme( 34 | headline: _lightScreenHeadingTextStyle, 35 | body1: _lightScreenTaskNameTextStyle, 36 | body2: _lightScreenTaskDescTextStyle, 37 | ); 38 | 39 | static final TextStyle _lightScreenHeadingTextStyle = 40 | TextStyle(fontSize: 48.0, color: _lightOnPrimaryColor); 41 | static final TextStyle _lightScreenTaskNameTextStyle = 42 | TextStyle(fontSize: 20.0, color: _lightOnPrimaryColor); 43 | static final TextStyle _lightScreenTaskDescTextStyle = 44 | TextStyle(fontSize: 16.0, color: Colors.grey); 45 | 46 | static Color _darkPrimaryVariantColor = Colors.black; 47 | static Color _darkPrimaryColor = Colors.white24; 48 | static Color _darkOnPrimaryColor = Colors.white; 49 | static Color _darkSecondaryColor = Colors.white; 50 | 51 | static final ThemeData darkTheme = ThemeData( 52 | scaffoldBackgroundColor: _darkPrimaryVariantColor, 53 | appBarTheme: AppBarTheme( 54 | color: _darkPrimaryVariantColor, 55 | iconTheme: IconThemeData(color: _darkOnPrimaryColor), 56 | ), 57 | colorScheme: ColorScheme.light( 58 | primary: _darkPrimaryColor, 59 | primaryVariant: _darkPrimaryVariantColor, 60 | secondary: _darkSecondaryColor, 61 | onPrimary: _darkOnPrimaryColor, 62 | ), 63 | iconTheme: IconThemeData(color: _darkOnPrimaryColor), 64 | textTheme: _darkTextTheme, 65 | floatingActionButtonTheme: FloatingActionButtonThemeData( 66 | backgroundColor: Colors.redAccent, 67 | ), 68 | ); 69 | 70 | static final TextTheme _darkTextTheme = TextTheme( 71 | headline: _darkScreenHeadingTextStyle, 72 | body1: _darkScreenTaskNameTextStyle, 73 | body2: _darkScreenTaskDescTextStyle, 74 | ); 75 | 76 | static final TextStyle _darkScreenHeadingTextStyle = 77 | _lightScreenHeadingTextStyle.copyWith(color: _darkOnPrimaryColor); 78 | static final TextStyle _darkScreenTaskNameTextStyle = 79 | _lightScreenTaskNameTextStyle.copyWith(color: _darkOnPrimaryColor); 80 | static final TextStyle _darkScreenTaskDescTextStyle = 81 | _lightScreenTaskNameTextStyle.copyWith(color: _darkPrimaryColor); 82 | } 83 | -------------------------------------------------------------------------------- /simpletask/lib/main.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:provider/provider.dart'; 3 | import 'package:simpletask/appTheme.dart'; 4 | import 'package:simpletask/views/myTasks.dart'; 5 | import './provider/appState.dart'; 6 | 7 | void main() => runApp( 8 | ChangeNotifierProvider( 9 | child: MyApp(), 10 | create: (context)=> AppState(), 11 | ), 12 | ); 13 | 14 | class MyApp extends StatelessWidget { 15 | @override 16 | Widget build(BuildContext context) { 17 | return Consumer( 18 | builder: (context, appState, child) { 19 | return MaterialApp( 20 | debugShowCheckedModeBanner: false, 21 | title: 'Simple Task', 22 | theme: AppTheme.lightTheme, 23 | darkTheme: AppTheme.darkTheme, 24 | themeMode: appState.isDarkModeOn ? ThemeMode.dark : ThemeMode.light, 25 | home: MyTasks(), 26 | ); 27 | }, 28 | ); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /simpletask/lib/models/taskModel.dart: -------------------------------------------------------------------------------- 1 | class Task { 2 | String id; 3 | String name; 4 | String task; 5 | 6 | Task({this.id, this.name, this.task}); 7 | 8 | Task.fromJson(Map json) { 9 | id = json['_id']; 10 | name = json['name']; 11 | task = json['task']; 12 | } 13 | 14 | Map toJson() { 15 | final Map data = new Map(); 16 | data['_id'] = this.id; 17 | data['name'] = this.name; 18 | data['task'] = this.task; 19 | return data; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /simpletask/lib/provider/appState.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/cupertino.dart'; 2 | 3 | class AppState extends ChangeNotifier{ 4 | bool isDarkModeOn = false; 5 | 6 | void updateTheme(bool isDarkModeOn){ 7 | this.isDarkModeOn = isDarkModeOn; 8 | notifyListeners(); 9 | } 10 | } -------------------------------------------------------------------------------- /simpletask/lib/repository/api.dart: -------------------------------------------------------------------------------- 1 | import 'dart:convert'; 2 | 3 | import 'package:http/http.dart' as http; 4 | import 'package:simpletask/models/taskModel.dart'; 5 | 6 | class API { 7 | String baseURL = "http://10.0.2.2:3000"; 8 | Map headers = { 9 | "Content-type": "application/json", 10 | "Accept": "application/json" 11 | }; 12 | 13 | Future> fetchAllTask() async { 14 | List tasks = []; 15 | var response = await http.get( 16 | '$baseURL/alltask', 17 | headers: headers, 18 | ); 19 | 20 | Iterable list = jsonDecode(response.body); 21 | tasks = list.map((model) => Task.fromJson(model)).toList(); 22 | 23 | print(tasks.length); 24 | return tasks; 25 | } 26 | 27 | postTask(Task task) async { 28 | /*refer the below obj 29 | Task task = new Task( 30 | name: nameEditingController.text, 31 | task: taskEditingController.text, 32 | ); 33 | */ 34 | String newData = json.encode(task.toJson()); 35 | // Map data = task.toJson(); 36 | await http.post( 37 | "$baseURL/posttask", 38 | body: newData, 39 | headers: headers, 40 | ); 41 | 42 | } 43 | 44 | deleteAllTask() async { 45 | await http.delete( 46 | "$baseURL/deleteAllTask", 47 | headers: headers, 48 | ); 49 | } 50 | 51 | deleteTask(Task task) async { 52 | await http.delete( 53 | "$baseURL/deletetaskbyid/${task.id}", 54 | headers: headers, 55 | ); 56 | } 57 | updateTask(Task task,String id) async { 58 | String body = json.encode(task.toJson()); 59 | print(body); 60 | await http.patch( 61 | "$baseURL/updatetask/$id", 62 | body: body, 63 | headers: { 64 | "Content-type": "application/json", 65 | "Accept": "application/json" 66 | }, 67 | ); 68 | } 69 | } 70 | -------------------------------------------------------------------------------- /simpletask/lib/views/addTask.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:simpletask/models/taskModel.dart'; 3 | import 'package:simpletask/repository/api.dart'; 4 | import 'package:simpletask/views/mixins/inputDecorationMixin.dart'; 5 | 6 | class AddTask extends StatefulWidget { 7 | @override 8 | _AddTaskState createState() => _AddTaskState(); 9 | } 10 | 11 | class _AddTaskState extends State with DecorationMixin { 12 | var _formKey = GlobalKey(); 13 | TextEditingController nameEditingController = new TextEditingController(); 14 | TextEditingController taskEditingController = new TextEditingController(); 15 | String name = "", myTask = ""; 16 | 17 | API api = new API(); 18 | DecorationMixin decor = new DecorationMixin(); 19 | @override 20 | Widget build(BuildContext context) { 21 | var theme = Theme.of(context); 22 | return Scaffold( 23 | appBar: AppBar( 24 | elevation: 0, 25 | ), 26 | body: ListView( 27 | children: [ 28 | SizedBox( 29 | height: 10, 30 | ), 31 | Padding( 32 | padding: const EdgeInsets.symmetric(horizontal: 20.0), 33 | child: Text( 34 | "Add Task", 35 | style: TextStyle(color: theme.iconTheme.color, fontSize: 40), 36 | ), 37 | ), 38 | Card( 39 | color: theme.colorScheme.primary, 40 | shape: RoundedRectangleBorder( 41 | borderRadius: BorderRadius.circular(10), 42 | ), 43 | elevation: 4, 44 | margin: EdgeInsets.symmetric(vertical: 8, horizontal: 20), 45 | child: Padding( 46 | padding: const EdgeInsets.all(10.0), 47 | child: Form( 48 | key: _formKey, 49 | child: Column(children: [ 50 | Container( 51 | // decoration: BoxDecoration(), 52 | child: TextFormField( 53 | controller: nameEditingController, 54 | validator: (String value) => 55 | value.isEmpty ? "Name required" : null, 56 | onSaved: (value) => name = value, 57 | decoration: buildInputDecoration( 58 | theme, "Task Name", "Ex: get keys"), 59 | maxLines: null, 60 | autofocus: false, 61 | cursorColor: Colors.redAccent, 62 | cursorWidth: 6, 63 | style: theme.textTheme.body1, 64 | ), 65 | ), 66 | SizedBox( 67 | height: 30, 68 | ), 69 | TextFormField( 70 | controller: taskEditingController, 71 | validator: (String task) => 72 | task.isEmpty ? "Task required" : null, 73 | onSaved: (value) => myTask = value, 74 | decoration: buildInputDecoration( 75 | theme, "Task to be done", "Ex: get keys from studio"), 76 | maxLines: null, 77 | cursorColor: Colors.redAccent, 78 | cursorWidth: 6, 79 | style: theme.textTheme.body1, 80 | ), 81 | SizedBox( 82 | height: 20, 83 | ), 84 | ]), 85 | ), 86 | ), 87 | ), 88 | SizedBox( 89 | height: 20, 90 | ), 91 | Row( 92 | mainAxisAlignment: MainAxisAlignment.end, 93 | children: [ 94 | Padding( 95 | padding: const EdgeInsets.only(right: 10.0), 96 | child: FloatingActionButton( 97 | child: Icon( 98 | Icons.add, 99 | color: theme.iconTheme.color, 100 | ), 101 | onPressed: () { 102 | if (_formKey.currentState.validate()) { 103 | Task task = new Task( 104 | name: nameEditingController.text.trim(), 105 | task: taskEditingController.text.trim(), 106 | ); 107 | _formKey.currentState.save(); 108 | api.postTask(task); 109 | Navigator.of(context).pop(); 110 | print('success'); 111 | } 112 | }, 113 | ), 114 | ) 115 | ], 116 | ) 117 | ], 118 | ), 119 | ); 120 | } 121 | } 122 | -------------------------------------------------------------------------------- /simpletask/lib/views/dialogs/deleteAllTaskDialog.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | enum DeleteAllTaskDialogAction { confirm, cancel } 4 | 5 | class DeleteAllTaskDialog { 6 | static Future deleteAllTaskDialog( 7 | BuildContext context, 8 | String title, 9 | String body, 10 | ) async { 11 | final action = await showDialog( 12 | context: context, 13 | barrierDismissible: false, 14 | builder: (BuildContext context) { 15 | return Dialog( 16 | shape: RoundedRectangleBorder( 17 | borderRadius: BorderRadius.circular(10.0), 18 | ), 19 | backgroundColor: Theme.of(context).colorScheme.primaryVariant, 20 | child: Container( 21 | height: 200, 22 | child: Column( 23 | children: [ 24 | SizedBox( 25 | height: 20, 26 | ), 27 | Container( 28 | height: 60, 29 | child: Text(title, style: TextStyle(fontSize: 30))), 30 | Container( 31 | height: 50, 32 | child: Text(body, 33 | style: TextStyle( 34 | fontSize: 20, fontStyle: FontStyle.italic))), 35 | SizedBox( 36 | height: 10, 37 | ), 38 | Row( 39 | mainAxisAlignment: MainAxisAlignment.spaceAround, 40 | children: [ 41 | Container( 42 | height: 50, 43 | decoration: BoxDecoration( 44 | borderRadius: BorderRadius.circular(40)), 45 | child: FlatButton( 46 | child: Text("Cancel", 47 | style: TextStyle( 48 | color: Colors.redAccent, fontSize: 25)), 49 | onPressed: () { 50 | Navigator.of(context) 51 | .pop(DeleteAllTaskDialogAction.cancel); 52 | }, 53 | ), 54 | ), 55 | Container( 56 | height: 50, 57 | child: FlatButton( 58 | child: Text("Confirm", 59 | style: TextStyle( 60 | color: Colors.redAccent, fontSize: 25)), 61 | onPressed: () { 62 | Navigator.of(context) 63 | .pop(DeleteAllTaskDialogAction.confirm); 64 | }, 65 | ), 66 | ), 67 | ], 68 | ) 69 | ], 70 | ), 71 | ), 72 | ); 73 | }, 74 | ); 75 | return (action != null) ? action : DeleteAllTaskDialogAction.cancel; 76 | } 77 | } 78 | -------------------------------------------------------------------------------- /simpletask/lib/views/dialogs/deleteParticularTaskDialog.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/cupertino.dart'; 2 | import 'package:flutter/material.dart'; 3 | 4 | enum DeleteParticularTaskDialogAction { confirm, cancel } 5 | 6 | class DeleteParticularTaskDialog { 7 | static Future deleteTask( 8 | BuildContext context, 9 | String taskName, 10 | String taskDesc, 11 | ) async { 12 | final action = await showDialog( 13 | context: context, 14 | barrierDismissible: true, 15 | builder: (context) { 16 | return Dialog( 17 | shape: 18 | RoundedRectangleBorder(borderRadius: BorderRadius.circular(20.0)), 19 | backgroundColor: Theme.of(context).colorScheme.primaryVariant, 20 | elevation: 10, 21 | child: Container( 22 | height: 250, 23 | child: Column( 24 | children: [ 25 | SizedBox( 26 | height: 20, 27 | ), 28 | Container( 29 | height: 60, 30 | child: Text( 31 | taskName, 32 | style: TextStyle(fontSize: 30), 33 | ), 34 | ), 35 | Container( 36 | height: 100, 37 | margin: EdgeInsets.symmetric(horizontal: 50), 38 | child: Text( 39 | taskDesc, 40 | style: TextStyle(fontSize: 20,fontStyle: FontStyle.italic), 41 | ), 42 | ), 43 | SizedBox( 44 | height: 5, 45 | ), 46 | Row( 47 | mainAxisAlignment: MainAxisAlignment.spaceAround, 48 | children: [ 49 | Container( 50 | height: 50, 51 | decoration: BoxDecoration( 52 | borderRadius: BorderRadius.circular(40)), 53 | child: FlatButton( 54 | child: Text("Cancel", 55 | style: TextStyle( 56 | color: Colors.redAccent, fontSize: 25)), 57 | onPressed: () { 58 | Navigator.of(context) 59 | .pop(DeleteParticularTaskDialogAction.cancel); 60 | }, 61 | ), 62 | ), 63 | Container( 64 | height: 50, 65 | // width: double.infinity, 66 | child: FlatButton( 67 | child: Text("Confirm", 68 | style: TextStyle( 69 | color: Colors.redAccent, fontSize: 25)), 70 | onPressed: () { 71 | Navigator.of(context) 72 | .pop(DeleteParticularTaskDialogAction.confirm); 73 | }, 74 | ), 75 | ), 76 | ], 77 | ) 78 | ], 79 | )), 80 | ); 81 | }, 82 | ); 83 | return action != null ? action : DeleteParticularTaskDialogAction.cancel; 84 | } 85 | } 86 | -------------------------------------------------------------------------------- /simpletask/lib/views/drawer.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:provider/provider.dart'; 3 | import 'package:simpletask/provider/appState.dart'; 4 | 5 | class CustomDrawer extends StatelessWidget { 6 | Widget build(BuildContext context) { 7 | return SizedBox( 8 | width: 200, 9 | child: Drawer( 10 | elevation: 10, 11 | child: SafeArea( 12 | child: Container( 13 | color: Theme.of(context).colorScheme.primaryVariant, 14 | child: ListTile( 15 | leading: Text( 16 | "Dark Mode", 17 | style: Theme.of(context).textTheme.body1, 18 | ), 19 | trailing: Switch( 20 | activeColor: Colors.redAccent, 21 | value: Provider.of(context).isDarkModeOn, 22 | onChanged: (booleanValue) { 23 | Provider.of(context).updateTheme(booleanValue); 24 | }, 25 | ), 26 | ), 27 | ), 28 | ), 29 | ), 30 | ); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /simpletask/lib/views/mixins/inputDecorationMixin.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class DecorationMixin { 4 | InputDecoration buildInputDecoration( 5 | theme, String labelText, String hintText) { 6 | return InputDecoration( 7 | hintText: hintText, 8 | labelText: labelText, 9 | hintStyle: theme.textTheme.body2, 10 | labelStyle: theme.textTheme.body1, 11 | enabledBorder: _buildUnderlineInputBorder(), 12 | focusedBorder: _buildUnderlineInputBorder(), 13 | errorBorder: _buildUnderlineInputBorder(), 14 | focusedErrorBorder: _buildUnderlineInputBorder(), 15 | ); 16 | } 17 | 18 | UnderlineInputBorder _buildUnderlineInputBorder() { 19 | return UnderlineInputBorder( 20 | borderSide: BorderSide( 21 | color: Colors.redAccent, 22 | )); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /simpletask/lib/views/myTasks.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:simpletask/models/taskModel.dart'; 3 | import 'package:simpletask/repository/api.dart'; 4 | import 'package:simpletask/views/addTask.dart'; 5 | import 'package:simpletask/views/dialogs/deleteAllTaskDialog.dart'; 6 | import 'package:simpletask/views/drawer.dart'; 7 | import 'package:simpletask/views/updateTask.dart'; 8 | 9 | import 'dialogs/deleteParticularTaskDialog.dart'; 10 | 11 | class MyTasks extends StatefulWidget { 12 | @override 13 | _MyTasksState createState() => _MyTasksState(); 14 | } 15 | 16 | class _MyTasksState extends State { 17 | API api = new API(); 18 | 19 | @override 20 | Widget build(BuildContext context) { 21 | var theme = Theme.of(context); 22 | Future> fetchTask = api.fetchAllTask(); 23 | return Scaffold( 24 | drawer: CustomDrawer(), 25 | appBar: appBar(fetchTask, theme), 26 | body: Column( 27 | children: [ 28 | Expanded( 29 | flex: 1, 30 | child: Padding( 31 | padding: const EdgeInsets.symmetric(horizontal: 20), 32 | child: Row( 33 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 34 | children: [ 35 | Text( 36 | "Today's task", 37 | style: 38 | TextStyle(color: theme.iconTheme.color, fontSize: 40), 39 | ), 40 | FloatingActionButton( 41 | onPressed: () { 42 | Navigator.push( 43 | context, 44 | MaterialPageRoute( 45 | builder: (context) => AddTask(), 46 | ), 47 | ); 48 | }, 49 | child: Icon( 50 | Icons.add, 51 | color: theme.iconTheme.color, 52 | ), 53 | ) 54 | ], 55 | ), 56 | ), 57 | ), 58 | Expanded( 59 | flex: 7, 60 | child: FutureBuilder( 61 | future: fetchTask, 62 | builder: (context, AsyncSnapshot snapshot) { 63 | if (!snapshot.hasData) { 64 | return buildCircularProgressIndicator(); 65 | } else if (snapshot.data.length == 0) { 66 | return buildNoTasks(theme); 67 | } else { 68 | return ListView.builder( 69 | itemCount: snapshot.data.length, 70 | itemBuilder: (context, int index) { 71 | var data = snapshot.data[index]; 72 | return Card( 73 | color: theme.colorScheme.primary, 74 | shape: RoundedRectangleBorder( 75 | borderRadius: BorderRadius.circular(10), 76 | ), 77 | elevation: 4, 78 | margin: 79 | EdgeInsets.symmetric(vertical: 8, horizontal: 20), 80 | child: ListTile( 81 | title: Text(data.name, style: theme.textTheme.body1), 82 | subtitle: 83 | Text(data.task, style: theme.textTheme.body2), 84 | trailing: IconButton( 85 | icon: Icon( 86 | Icons.delete_outline, 87 | color: theme.iconTheme.color, 88 | size: 30, 89 | ), 90 | onPressed: () async { 91 | Task task = new Task( 92 | id: data.id, 93 | name: data.name, 94 | task: data.task, 95 | ); 96 | final action = 97 | await DeleteParticularTaskDialog.deleteTask( 98 | context, 99 | "Delete ${data.name} ?", 100 | "This action will permanently delete the task ${data.name}", 101 | ); 102 | if (action == 103 | DeleteParticularTaskDialogAction.confirm) { 104 | await api.deleteTask(task); 105 | setState(() { 106 | fetchTask = api.fetchAllTask(); 107 | }); 108 | } 109 | }, 110 | ), 111 | onTap: () { 112 | Navigator.push( 113 | context, 114 | MaterialPageRoute( 115 | builder: (BuildContext context) => 116 | UpdateTask(data), 117 | ), 118 | ); 119 | }, 120 | //to pass the data to other class send it through constructor AddTask(snapshot.data[index]) 121 | ), 122 | ); 123 | }, 124 | ); 125 | } 126 | }, 127 | ), 128 | ), 129 | ], 130 | ), 131 | ); 132 | } 133 | 134 | Center buildCircularProgressIndicator() { 135 | return Center( 136 | child: CircularProgressIndicator( 137 | strokeWidth: 5, 138 | valueColor: AlwaysStoppedAnimation(Colors.redAccent), 139 | ), 140 | ); 141 | } 142 | 143 | Center buildNoTasks(ThemeData theme) { 144 | return Center( 145 | child: Container( 146 | child: Column( 147 | mainAxisAlignment: MainAxisAlignment.spaceAround, 148 | children: [ 149 | Column( 150 | children: [ 151 | Icon( 152 | Icons.sentiment_dissatisfied, 153 | size: 100, 154 | color: Colors.redAccent, 155 | ), 156 | Card( 157 | color: theme.colorScheme.primary, 158 | shape: RoundedRectangleBorder( 159 | borderRadius: BorderRadius.circular(10), 160 | ), 161 | elevation: 10, 162 | child: Padding( 163 | padding: const EdgeInsets.all(10.0), 164 | child: Text( 165 | "No Tasks", 166 | style: TextStyle(color: theme.colorScheme.onPrimary), 167 | ), 168 | ), 169 | ) 170 | ], 171 | ), 172 | ], 173 | ), 174 | ), 175 | ); 176 | } 177 | 178 | Widget appBar(fetchTask, theme) { 179 | return AppBar( 180 | elevation: 0, 181 | actions: [ 182 | Padding( 183 | padding: const EdgeInsets.symmetric(horizontal: 20.0), 184 | child: IconButton( 185 | icon: Icon(Icons.delete_forever), 186 | color: Theme.of(context).iconTheme.color, 187 | iconSize: 30, 188 | onPressed: () async { 189 | final action = await DeleteAllTaskDialog.deleteAllTaskDialog( 190 | context, 191 | "Delete All Task", 192 | "This action cannot be recovered", 193 | ); 194 | if (action == DeleteAllTaskDialogAction.confirm) { 195 | await api.deleteAllTask(); 196 | setState(() { 197 | fetchTask = api.fetchAllTask(); 198 | }); 199 | } 200 | }, 201 | ), 202 | ), 203 | ], 204 | ); 205 | } 206 | } 207 | -------------------------------------------------------------------------------- /simpletask/lib/views/updateTask.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:simpletask/models/taskModel.dart'; 3 | import 'package:simpletask/repository/api.dart'; 4 | import 'package:simpletask/views/mixins/inputDecorationMixin.dart'; 5 | 6 | class UpdateTask extends StatefulWidget { 7 | final Task updateTask; 8 | UpdateTask(this.updateTask); 9 | @override 10 | _UpdateTaskState createState() => _UpdateTaskState(); 11 | } 12 | 13 | class _UpdateTaskState extends State with DecorationMixin { 14 | 15 | var _formKey = GlobalKey(); 16 | TextEditingController nameEditingController = new TextEditingController(); 17 | TextEditingController taskEditingController = new TextEditingController(); 18 | String name, myTask; 19 | API api = new API(); 20 | 21 | @override 22 | Widget build(BuildContext context) { 23 | var theme = Theme.of(context); 24 | return Scaffold( 25 | appBar: AppBar( 26 | // title: Text("Update Task", style: theme.textTheme.body1), 27 | elevation: 0, 28 | ), 29 | body: ListView( 30 | children: [ 31 | SizedBox( 32 | height: 10, 33 | ), 34 | Column( 35 | mainAxisAlignment: MainAxisAlignment.start, 36 | crossAxisAlignment: CrossAxisAlignment.start, 37 | children: [ 38 | Padding( 39 | padding: const EdgeInsets.symmetric(horizontal: 20.0), 40 | child: Text( 41 | "Update Task", 42 | style: TextStyle(color: Colors.redAccent, fontSize: 40), 43 | ), 44 | ), 45 | Container( 46 | padding: const EdgeInsets.symmetric(horizontal: 20.0), 47 | child: Text( 48 | "${widget.updateTask.name}", 49 | style: TextStyle( 50 | color: theme.colorScheme.onPrimary, fontSize: 40), 51 | ), 52 | ), 53 | SizedBox( 54 | height: 10, 55 | ) 56 | ], 57 | ), 58 | Card( 59 | color: theme.colorScheme.primary, 60 | shape: RoundedRectangleBorder( 61 | borderRadius: BorderRadius.circular(10), 62 | ), 63 | elevation: 4, 64 | margin: EdgeInsets.symmetric(vertical: 8, horizontal: 20), 65 | child: Padding( 66 | padding: const EdgeInsets.all(10.0), 67 | child: Form( 68 | key: _formKey, 69 | child: Column(children: [ 70 | Container( 71 | child: TextFormField( 72 | controller: nameEditingController, 73 | validator: (String value) => 74 | value.isEmpty ? "Name required" : null, 75 | onSaved: (value) => name = value, 76 | decoration: buildInputDecoration( 77 | theme, 78 | "Task Name", 79 | "Ex: get keys", 80 | ), 81 | maxLines: null, 82 | autofocus: false, 83 | cursorColor: theme.iconTheme.color, 84 | cursorWidth: 6, 85 | style: theme.textTheme.body1, 86 | ), 87 | ), 88 | SizedBox( 89 | height: 25, 90 | ), 91 | TextFormField( 92 | controller: taskEditingController, 93 | validator: (String task) => 94 | task.isEmpty ? "Task required" : null, 95 | onSaved: (value) => myTask = value, 96 | decoration: buildInputDecoration( 97 | theme, "Task to be done", "Ex: get keys from studio"), 98 | maxLines: null, 99 | cursorColor: theme.iconTheme.color, 100 | cursorWidth: 6, 101 | style: theme.textTheme.body1, 102 | ), 103 | SizedBox( 104 | height: 20, 105 | ), 106 | ]), 107 | ), 108 | ), 109 | ), 110 | SizedBox( 111 | height: 20, 112 | ), 113 | Row( 114 | mainAxisAlignment: MainAxisAlignment.end, 115 | children: [ 116 | Padding( 117 | padding: const EdgeInsets.only(right: 10.0), 118 | child: FloatingActionButton( 119 | child: Icon( 120 | Icons.done, 121 | color: theme.iconTheme.color, 122 | ), 123 | onPressed: () { 124 | if (_formKey.currentState.validate()) { 125 | Task task = new Task( 126 | id: widget.updateTask.id, 127 | name: nameEditingController.text.trim(), 128 | task: taskEditingController.text.trim(), 129 | ); 130 | _formKey.currentState.save(); 131 | api.updateTask(task, task.id); 132 | print('success'); 133 | Navigator.of(context).pop(); 134 | } 135 | }, 136 | ), 137 | ) 138 | ], 139 | ) 140 | ], 141 | ), 142 | ); 143 | } 144 | } 145 | -------------------------------------------------------------------------------- /simpletask/pubspec.lock: -------------------------------------------------------------------------------- 1 | # Generated by pub 2 | # See https://dart.dev/tools/pub/glossary#lockfile 3 | packages: 4 | async: 5 | dependency: transitive 6 | description: 7 | name: async 8 | url: "https://pub.dartlang.org" 9 | source: hosted 10 | version: "2.3.0" 11 | boolean_selector: 12 | dependency: transitive 13 | description: 14 | name: boolean_selector 15 | url: "https://pub.dartlang.org" 16 | source: hosted 17 | version: "1.0.5" 18 | charcode: 19 | dependency: transitive 20 | description: 21 | name: charcode 22 | url: "https://pub.dartlang.org" 23 | source: hosted 24 | version: "1.1.2" 25 | collection: 26 | dependency: transitive 27 | description: 28 | name: collection 29 | url: "https://pub.dartlang.org" 30 | source: hosted 31 | version: "1.14.11" 32 | cupertino_icons: 33 | dependency: "direct main" 34 | description: 35 | name: cupertino_icons 36 | url: "https://pub.dartlang.org" 37 | source: hosted 38 | version: "0.1.2" 39 | flutter: 40 | dependency: "direct main" 41 | description: flutter 42 | source: sdk 43 | version: "0.0.0" 44 | flutter_test: 45 | dependency: "direct dev" 46 | description: flutter 47 | source: sdk 48 | version: "0.0.0" 49 | http: 50 | dependency: "direct main" 51 | description: 52 | name: http 53 | url: "https://pub.dartlang.org" 54 | source: hosted 55 | version: "0.12.0+2" 56 | http_parser: 57 | dependency: transitive 58 | description: 59 | name: http_parser 60 | url: "https://pub.dartlang.org" 61 | source: hosted 62 | version: "3.1.3" 63 | matcher: 64 | dependency: transitive 65 | description: 66 | name: matcher 67 | url: "https://pub.dartlang.org" 68 | source: hosted 69 | version: "0.12.5" 70 | meta: 71 | dependency: transitive 72 | description: 73 | name: meta 74 | url: "https://pub.dartlang.org" 75 | source: hosted 76 | version: "1.1.7" 77 | path: 78 | dependency: transitive 79 | description: 80 | name: path 81 | url: "https://pub.dartlang.org" 82 | source: hosted 83 | version: "1.6.4" 84 | pedantic: 85 | dependency: transitive 86 | description: 87 | name: pedantic 88 | url: "https://pub.dartlang.org" 89 | source: hosted 90 | version: "1.8.0+1" 91 | provider: 92 | dependency: "direct main" 93 | description: 94 | name: provider 95 | url: "https://pub.dartlang.org" 96 | source: hosted 97 | version: "3.2.0" 98 | quiver: 99 | dependency: transitive 100 | description: 101 | name: quiver 102 | url: "https://pub.dartlang.org" 103 | source: hosted 104 | version: "2.0.5" 105 | sky_engine: 106 | dependency: transitive 107 | description: flutter 108 | source: sdk 109 | version: "0.0.99" 110 | source_span: 111 | dependency: transitive 112 | description: 113 | name: source_span 114 | url: "https://pub.dartlang.org" 115 | source: hosted 116 | version: "1.5.5" 117 | stack_trace: 118 | dependency: transitive 119 | description: 120 | name: stack_trace 121 | url: "https://pub.dartlang.org" 122 | source: hosted 123 | version: "1.9.3" 124 | stream_channel: 125 | dependency: transitive 126 | description: 127 | name: stream_channel 128 | url: "https://pub.dartlang.org" 129 | source: hosted 130 | version: "2.0.0" 131 | string_scanner: 132 | dependency: transitive 133 | description: 134 | name: string_scanner 135 | url: "https://pub.dartlang.org" 136 | source: hosted 137 | version: "1.0.5" 138 | term_glyph: 139 | dependency: transitive 140 | description: 141 | name: term_glyph 142 | url: "https://pub.dartlang.org" 143 | source: hosted 144 | version: "1.1.0" 145 | test_api: 146 | dependency: transitive 147 | description: 148 | name: test_api 149 | url: "https://pub.dartlang.org" 150 | source: hosted 151 | version: "0.2.5" 152 | typed_data: 153 | dependency: transitive 154 | description: 155 | name: typed_data 156 | url: "https://pub.dartlang.org" 157 | source: hosted 158 | version: "1.1.6" 159 | vector_math: 160 | dependency: transitive 161 | description: 162 | name: vector_math 163 | url: "https://pub.dartlang.org" 164 | source: hosted 165 | version: "2.0.8" 166 | sdks: 167 | dart: ">=2.2.2 <3.0.0" 168 | -------------------------------------------------------------------------------- /simpletask/pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: simpletask 2 | description: A new Flutter project. 3 | 4 | # The following defines the version and build number for your application. 5 | # A version number is three numbers separated by dots, like 1.2.43 6 | # followed by an optional build number separated by a +. 7 | # Both the version and the builder number may be overridden in flutter 8 | # build by specifying --build-name and --build-number, respectively. 9 | # In Android, build-name is used as versionName while build-number used as versionCode. 10 | # Read more about Android versioning at https://developer.android.com/studio/publish/versioning 11 | # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. 12 | # Read more about iOS versioning at 13 | # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html 14 | version: 1.0.0+1 15 | 16 | environment: 17 | sdk: ">=2.1.0 <3.0.0" 18 | 19 | dependencies: 20 | flutter: 21 | sdk: flutter 22 | 23 | # The following adds the Cupertino Icons font to your application. 24 | # Use with the CupertinoIcons class for iOS style icons. 25 | cupertino_icons: ^0.1.2 26 | http: 27 | provider: 28 | dev_dependencies: 29 | flutter_test: 30 | sdk: flutter 31 | 32 | 33 | # For information on the generic Dart part of this file, see the 34 | # following page: https://dart.dev/tools/pub/pubspec 35 | 36 | # The following section is specific to Flutter. 37 | flutter: 38 | 39 | # The following line ensures that the Material Icons font is 40 | # included with your application, so that you can use the icons in 41 | # the material Icons class. 42 | uses-material-design: true 43 | 44 | # To add assets to your application, add an assets section, like this: 45 | # assets: 46 | # - images/a_dot_burr.jpeg 47 | # - images/a_dot_ham.jpeg 48 | 49 | # An image asset can refer to one or more resolution-specific "variants", see 50 | # https://flutter.dev/assets-and-images/#resolution-aware. 51 | 52 | # For details regarding adding assets from package dependencies, see 53 | # https://flutter.dev/assets-and-images/#from-packages 54 | 55 | # To add custom fonts to your application, add a fonts section here, 56 | # in this "flutter" section. Each entry in this list should have a 57 | # "family" key with the font family name, and a "fonts" key with a 58 | # list giving the asset and other descriptors for the font. For 59 | # example: 60 | # fonts: 61 | # - family: Schyler 62 | # fonts: 63 | # - asset: fonts/Schyler-Regular.ttf 64 | # - asset: fonts/Schyler-Italic.ttf 65 | # style: italic 66 | # - family: Trajan Pro 67 | # fonts: 68 | # - asset: fonts/TrajanPro.ttf 69 | # - asset: fonts/TrajanPro_Bold.ttf 70 | # weight: 700 71 | # 72 | # For details regarding fonts from package dependencies, 73 | # see https://flutter.dev/custom-fonts/#from-packages 74 | -------------------------------------------------------------------------------- /simpletask/screenshots/dark delete all tasks.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rakshak1344/Flutter-TaskApp/aa20c7da00bfe6d317b9d11cd961484186ee9e43/simpletask/screenshots/dark delete all tasks.png -------------------------------------------------------------------------------- /simpletask/screenshots/dark delete selected task.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rakshak1344/Flutter-TaskApp/aa20c7da00bfe6d317b9d11cd961484186ee9e43/simpletask/screenshots/dark delete selected task.png -------------------------------------------------------------------------------- /simpletask/screenshots/dark drawer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rakshak1344/Flutter-TaskApp/aa20c7da00bfe6d317b9d11cd961484186ee9e43/simpletask/screenshots/dark drawer.png -------------------------------------------------------------------------------- /simpletask/screenshots/dark home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rakshak1344/Flutter-TaskApp/aa20c7da00bfe6d317b9d11cd961484186ee9e43/simpletask/screenshots/dark home.png -------------------------------------------------------------------------------- /simpletask/screenshots/dark no tasks.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rakshak1344/Flutter-TaskApp/aa20c7da00bfe6d317b9d11cd961484186ee9e43/simpletask/screenshots/dark no tasks.png -------------------------------------------------------------------------------- /simpletask/screenshots/light delete all tasks.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rakshak1344/Flutter-TaskApp/aa20c7da00bfe6d317b9d11cd961484186ee9e43/simpletask/screenshots/light delete all tasks.png -------------------------------------------------------------------------------- /simpletask/screenshots/light delete selected task.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rakshak1344/Flutter-TaskApp/aa20c7da00bfe6d317b9d11cd961484186ee9e43/simpletask/screenshots/light delete selected task.png -------------------------------------------------------------------------------- /simpletask/screenshots/light drawer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rakshak1344/Flutter-TaskApp/aa20c7da00bfe6d317b9d11cd961484186ee9e43/simpletask/screenshots/light drawer.png -------------------------------------------------------------------------------- /simpletask/screenshots/light home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rakshak1344/Flutter-TaskApp/aa20c7da00bfe6d317b9d11cd961484186ee9e43/simpletask/screenshots/light home.png -------------------------------------------------------------------------------- /simpletask/screenshots/light no tasks.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rakshak1344/Flutter-TaskApp/aa20c7da00bfe6d317b9d11cd961484186ee9e43/simpletask/screenshots/light no tasks.png --------------------------------------------------------------------------------