diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..dfe0770
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,2 @@
+# Auto detect text files and perform LF normalization
+* text=auto
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..dbef116
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,21 @@
+# See https://www.dartlang.org/guides/libraries/private-files
+
+# Files and directories created by pub
+.dart_tool/
+.packages
+build/
+# If you're building an application, you may want to check-in your pubspec.lock
+pubspec.lock
+
+# Directory created by dartdoc
+# If you don't generate documentation locally you can remove this line.
+doc/api/
+
+# Avoid committing generated Javascript files:
+*.dart.js
+*.info.json # Produced by the --dump-info flag.
+*.js # When generated by dart2js. Don't specify *.js if your
+ # project includes source files written in JavaScript.
+*.js_
+*.js.deps
+*.js.map
diff --git a/.idea/libraries/Dart_SDK.xml b/.idea/libraries/Dart_SDK.xml
new file mode 100644
index 0000000..333a382
--- /dev/null
+++ b/.idea/libraries/Dart_SDK.xml
@@ -0,0 +1,19 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Flutter_for_Android.xml b/.idea/libraries/Flutter_for_Android.xml
new file mode 100644
index 0000000..172b967
--- /dev/null
+++ b/.idea/libraries/Flutter_for_Android.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
diff --git a/.idea/libraries/KotlinJavaRuntime.xml b/.idea/libraries/KotlinJavaRuntime.xml
new file mode 100644
index 0000000..2b96ac4
--- /dev/null
+++ b/.idea/libraries/KotlinJavaRuntime.xml
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/.idea/modules.xml b/.idea/modules.xml
new file mode 100644
index 0000000..03d2107
--- /dev/null
+++ b/.idea/modules.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
diff --git a/.idea/runConfigurations/main_dart.xml b/.idea/runConfigurations/main_dart.xml
new file mode 100644
index 0000000..aab7b5c
--- /dev/null
+++ b/.idea/runConfigurations/main_dart.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
new file mode 100644
index 0000000..5b3388c
--- /dev/null
+++ b/.idea/workspace.xml
@@ -0,0 +1,36 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/.metadata b/.metadata
new file mode 100644
index 0000000..625d6e1
--- /dev/null
+++ b/.metadata
@@ -0,0 +1,10 @@
+# This file tracks properties of this Flutter project.
+# Used by Flutter tool to assess capabilities and perform upgrades etc.
+#
+# This file should be version controlled and should not be manually edited.
+
+version:
+ revision: d3ed9ec945f8869f0e136c357d0c2a6be2b60c98
+ channel: beta
+
+project_type: app
diff --git a/.vscode/launch.json b/.vscode/launch.json
new file mode 100644
index 0000000..3287bb6
--- /dev/null
+++ b/.vscode/launch.json
@@ -0,0 +1,13 @@
+{
+ // Use IntelliSense to learn about possible attributes.
+ // Hover to view descriptions of existing attributes.
+ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
+ "version": "0.2.0",
+ "configurations": [
+ {
+ "name": "Flutter",
+ "request": "launch",
+ "type": "dart"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..41e4766
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2020 Rafael Karczevski
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..916b788
--- /dev/null
+++ b/README.md
@@ -0,0 +1,2 @@
+# corona_tracker
+ Rastreamento Covid-19
diff --git a/android/.gitignore b/android/.gitignore
new file mode 100644
index 0000000..bc2100d
--- /dev/null
+++ b/android/.gitignore
@@ -0,0 +1,7 @@
+gradle-wrapper.jar
+/.gradle
+/captures/
+/gradlew
+/gradlew.bat
+/local.properties
+GeneratedPluginRegistrant.java
diff --git a/android/app/build.gradle b/android/app/build.gradle
new file mode 100644
index 0000000..7f066ba
--- /dev/null
+++ b/android/app/build.gradle
@@ -0,0 +1,79 @@
+def localProperties = new Properties()
+def localPropertiesFile = rootProject.file('local.properties')
+if (localPropertiesFile.exists()) {
+ localPropertiesFile.withReader('UTF-8') { reader ->
+ localProperties.load(reader)
+ }
+}
+
+def flutterRoot = localProperties.getProperty('flutter.sdk')
+if (flutterRoot == null) {
+ throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
+}
+
+def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
+if (flutterVersionCode == null) {
+ flutterVersionCode = '1'
+}
+
+def flutterVersionName = localProperties.getProperty('flutter.versionName')
+if (flutterVersionName == null) {
+ flutterVersionName = '1.0'
+}
+
+apply plugin: 'com.android.application'
+apply plugin: 'com.google.gms.google-services'
+apply plugin: 'kotlin-android'
+apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
+
+def keystoreProperties = new Properties()
+def keystorePropertiesFile = rootProject.file('key.properties')
+if (keystorePropertiesFile.exists()) {
+ keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
+}
+
+android {
+ compileSdkVersion 28
+
+ sourceSets {
+ main.java.srcDirs += 'src/main/kotlin'
+ }
+
+ lintOptions {
+ disable 'InvalidPackage'
+ }
+
+ defaultConfig {
+ // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
+ applicationId "com.rkarcapps.corona"
+ minSdkVersion 16
+ targetSdkVersion 28
+ versionCode flutterVersionCode.toInteger()
+ versionName flutterVersionName
+ }
+
+ signingConfigs {
+ release {
+ keyAlias keystoreProperties['keyAlias']
+ keyPassword keystoreProperties['keyPassword']
+ storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
+ storePassword keystoreProperties['storePassword']
+ }
+ }
+
+ buildTypes {
+ release {
+ // TODO: Add your own signing config for the release build.
+ // Signing with the debug keys for now, so `flutter run --release` works.
+ signingConfig signingConfigs.release
+ }
+ }
+}
+
+flutter {
+ source '../..'
+}
+
+dependencies {
+ implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
+}
diff --git a/android/app/google-services.json b/android/app/google-services.json
new file mode 100644
index 0000000..e784c8e
--- /dev/null
+++ b/android/app/google-services.json
@@ -0,0 +1,40 @@
+{
+ "project_info": {
+ "project_number": "138988701717",
+ "firebase_url": "https://corona-tracker-c3ed6.firebaseio.com",
+ "project_id": "corona-tracker-c3ed6",
+ "storage_bucket": "corona-tracker-c3ed6.appspot.com"
+ },
+ "client": [
+ {
+ "client_info": {
+ "mobilesdk_app_id": "1:138988701717:android:306c4b4268daa03a41a61c",
+ "android_client_info": {
+ "package_name": "com.rkarcapps.corona"
+ }
+ },
+ "oauth_client": [
+ {
+ "client_id": "138988701717-s5dvk54fpm7lm3mcrb9te38r14btqokj.apps.googleusercontent.com",
+ "client_type": 3
+ }
+ ],
+ "api_key": [
+ {
+ "current_key": "AIzaSyCAZhRpFoNBJKOKygjcrOtlLkkJUeZeAu4"
+ }
+ ],
+ "services": {
+ "appinvite_service": {
+ "other_platform_oauth_client": [
+ {
+ "client_id": "138988701717-s5dvk54fpm7lm3mcrb9te38r14btqokj.apps.googleusercontent.com",
+ "client_type": 3
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "configuration_version": "1"
+}
\ No newline at end of file
diff --git a/android/app/src/debug/AndroidManifest.xml b/android/app/src/debug/AndroidManifest.xml
new file mode 100644
index 0000000..0e49b04
--- /dev/null
+++ b/android/app/src/debug/AndroidManifest.xml
@@ -0,0 +1,7 @@
+
+
+
+
diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml
new file mode 100644
index 0000000..cbb4e29
--- /dev/null
+++ b/android/app/src/main/AndroidManifest.xml
@@ -0,0 +1,54 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/android/app/src/main/kotlin/com/example/corona_tracker/MainActivity.kt b/android/app/src/main/kotlin/com/example/corona_tracker/MainActivity.kt
new file mode 100644
index 0000000..5f4cec7
--- /dev/null
+++ b/android/app/src/main/kotlin/com/example/corona_tracker/MainActivity.kt
@@ -0,0 +1,6 @@
+package com.rkarcapps.corona
+
+import io.flutter.embedding.android.FlutterActivity
+
+class MainActivity: FlutterActivity() {
+}
diff --git a/android/app/src/main/res/drawable-hdpi/splash.png b/android/app/src/main/res/drawable-hdpi/splash.png
new file mode 100644
index 0000000..9d4db88
Binary files /dev/null and b/android/app/src/main/res/drawable-hdpi/splash.png differ
diff --git a/android/app/src/main/res/drawable-mdpi/splash.png b/android/app/src/main/res/drawable-mdpi/splash.png
new file mode 100644
index 0000000..2a38d13
Binary files /dev/null and b/android/app/src/main/res/drawable-mdpi/splash.png differ
diff --git a/android/app/src/main/res/drawable-xhdpi/splash.png b/android/app/src/main/res/drawable-xhdpi/splash.png
new file mode 100644
index 0000000..03ef2f2
Binary files /dev/null and b/android/app/src/main/res/drawable-xhdpi/splash.png differ
diff --git a/android/app/src/main/res/drawable-xxhdpi/splash.png b/android/app/src/main/res/drawable-xxhdpi/splash.png
new file mode 100644
index 0000000..59d4f57
Binary files /dev/null and b/android/app/src/main/res/drawable-xxhdpi/splash.png differ
diff --git a/android/app/src/main/res/drawable-xxxhdpi/splash.png b/android/app/src/main/res/drawable-xxxhdpi/splash.png
new file mode 100644
index 0000000..e966f00
Binary files /dev/null and b/android/app/src/main/res/drawable-xxxhdpi/splash.png differ
diff --git a/android/app/src/main/res/drawable/launch_background.xml b/android/app/src/main/res/drawable/launch_background.xml
new file mode 100644
index 0000000..8c09435
--- /dev/null
+++ b/android/app/src/main/res/drawable/launch_background.xml
@@ -0,0 +1,16 @@
+
+
+
+
+
+
+
+ -
+
+
+
+
diff --git a/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
new file mode 100644
index 0000000..01fe8c0
Binary files /dev/null and b/android/app/src/main/res/mipmap-hdpi/ic_launcher.png differ
diff --git a/android/app/src/main/res/mipmap-hdpi/logo.png b/android/app/src/main/res/mipmap-hdpi/logo.png
new file mode 100644
index 0000000..50d11fd
Binary files /dev/null and b/android/app/src/main/res/mipmap-hdpi/logo.png differ
diff --git a/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
new file mode 100644
index 0000000..f31df36
Binary files /dev/null and b/android/app/src/main/res/mipmap-mdpi/ic_launcher.png differ
diff --git a/android/app/src/main/res/mipmap-mdpi/logo.png b/android/app/src/main/res/mipmap-mdpi/logo.png
new file mode 100644
index 0000000..c9ba41d
Binary files /dev/null and b/android/app/src/main/res/mipmap-mdpi/logo.png differ
diff --git a/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
new file mode 100644
index 0000000..208dad9
Binary files /dev/null and b/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ
diff --git a/android/app/src/main/res/mipmap-xhdpi/logo.png b/android/app/src/main/res/mipmap-xhdpi/logo.png
new file mode 100644
index 0000000..264f234
Binary files /dev/null and b/android/app/src/main/res/mipmap-xhdpi/logo.png differ
diff --git a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
new file mode 100644
index 0000000..4fcd536
Binary files /dev/null and b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ
diff --git a/android/app/src/main/res/mipmap-xxhdpi/logo.png b/android/app/src/main/res/mipmap-xxhdpi/logo.png
new file mode 100644
index 0000000..f01ce16
Binary files /dev/null and b/android/app/src/main/res/mipmap-xxhdpi/logo.png differ
diff --git a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
new file mode 100644
index 0000000..6b529a1
Binary files /dev/null and b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ
diff --git a/android/app/src/main/res/mipmap-xxxhdpi/logo.png b/android/app/src/main/res/mipmap-xxxhdpi/logo.png
new file mode 100644
index 0000000..1e38773
Binary files /dev/null and b/android/app/src/main/res/mipmap-xxxhdpi/logo.png differ
diff --git a/android/app/src/main/res/values/colors.xml b/android/app/src/main/res/values/colors.xml
new file mode 100644
index 0000000..fcf84d3
--- /dev/null
+++ b/android/app/src/main/res/values/colors.xml
@@ -0,0 +1,4 @@
+
+
+ #ffffff
+
\ No newline at end of file
diff --git a/android/app/src/main/res/values/styles.xml b/android/app/src/main/res/values/styles.xml
new file mode 100644
index 0000000..9e98ac5
--- /dev/null
+++ b/android/app/src/main/res/values/styles.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/android/app/src/profile/AndroidManifest.xml b/android/app/src/profile/AndroidManifest.xml
new file mode 100644
index 0000000..0e49b04
--- /dev/null
+++ b/android/app/src/profile/AndroidManifest.xml
@@ -0,0 +1,7 @@
+
+
+
+
diff --git a/android/build.gradle b/android/build.gradle
new file mode 100644
index 0000000..0745ab6
--- /dev/null
+++ b/android/build.gradle
@@ -0,0 +1,32 @@
+buildscript {
+ ext.kotlin_version = '1.3.50'
+ repositories {
+ google()
+ jcenter()
+ }
+
+ dependencies {
+ classpath 'com.android.tools.build:gradle:3.2.1'
+ classpath 'com.google.gms:google-services:4.2.0'
+ classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
+ }
+}
+
+allprojects {
+ repositories {
+ google()
+ jcenter()
+ }
+}
+
+rootProject.buildDir = '../build'
+subprojects {
+ project.buildDir = "${rootProject.buildDir}/${project.name}"
+}
+subprojects {
+ project.evaluationDependsOn(':app')
+}
+
+task clean(type: Delete) {
+ delete rootProject.buildDir
+}
diff --git a/android/corona_tracker_android.iml b/android/corona_tracker_android.iml
new file mode 100644
index 0000000..1029d72
--- /dev/null
+++ b/android/corona_tracker_android.iml
@@ -0,0 +1,29 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/android/gradle.properties b/android/gradle.properties
new file mode 100644
index 0000000..38c8d45
--- /dev/null
+++ b/android/gradle.properties
@@ -0,0 +1,4 @@
+org.gradle.jvmargs=-Xmx1536M
+android.enableR8=true
+android.useAndroidX=true
+android.enableJetifier=true
diff --git a/android/gradle/wrapper/gradle-wrapper.properties b/android/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..296b146
--- /dev/null
+++ b/android/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Fri Jun 23 08:50:38 CEST 2017
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-all.zip
diff --git a/android/key.properties b/android/key.properties
new file mode 100644
index 0000000..c8bbf9d
--- /dev/null
+++ b/android/key.properties
@@ -0,0 +1,4 @@
+storePassword=412167
+keyPassword=412167
+keyAlias=key
+storeFile=C:\\Users\\rkarc\\key.jks
\ No newline at end of file
diff --git a/android/settings.gradle b/android/settings.gradle
new file mode 100644
index 0000000..5a2f14f
--- /dev/null
+++ b/android/settings.gradle
@@ -0,0 +1,15 @@
+include ':app'
+
+def flutterProjectRoot = rootProject.projectDir.parentFile.toPath()
+
+def plugins = new Properties()
+def pluginsFile = new File(flutterProjectRoot.toFile(), '.flutter-plugins')
+if (pluginsFile.exists()) {
+ pluginsFile.withReader('UTF-8') { reader -> plugins.load(reader) }
+}
+
+plugins.each { name, path ->
+ def pluginDirectory = flutterProjectRoot.resolve(path).resolve('android').toFile()
+ include ":$name"
+ project(":$name").projectDir = pluginDirectory
+}
diff --git a/assets/fonts/Poppins/Poppins-Bold.ttf b/assets/fonts/Poppins/Poppins-Bold.ttf
new file mode 100644
index 0000000..6e26de7
Binary files /dev/null and b/assets/fonts/Poppins/Poppins-Bold.ttf differ
diff --git a/assets/fonts/Poppins/Poppins-Medium.ttf b/assets/fonts/Poppins/Poppins-Medium.ttf
new file mode 100644
index 0000000..89aae6b
Binary files /dev/null and b/assets/fonts/Poppins/Poppins-Medium.ttf differ
diff --git a/assets/fonts/Poppins/Poppins-Regular.ttf b/assets/fonts/Poppins/Poppins-Regular.ttf
new file mode 100644
index 0000000..441d3ba
Binary files /dev/null and b/assets/fonts/Poppins/Poppins-Regular.ttf differ
diff --git a/assets/icons/Drcorona.svg b/assets/icons/Drcorona.svg
new file mode 100644
index 0000000..6eac6a6
--- /dev/null
+++ b/assets/icons/Drcorona.svg
@@ -0,0 +1,3 @@
+
diff --git a/assets/icons/Intersection.svg b/assets/icons/Intersection.svg
new file mode 100644
index 0000000..2ebbb41
--- /dev/null
+++ b/assets/icons/Intersection.svg
@@ -0,0 +1,3 @@
+
diff --git a/assets/icons/coronadr.svg b/assets/icons/coronadr.svg
new file mode 100644
index 0000000..cd4f658
--- /dev/null
+++ b/assets/icons/coronadr.svg
@@ -0,0 +1,3 @@
+
diff --git a/assets/icons/dropdown.svg b/assets/icons/dropdown.svg
new file mode 100644
index 0000000..0ac35ea
--- /dev/null
+++ b/assets/icons/dropdown.svg
@@ -0,0 +1,3 @@
+
diff --git a/assets/icons/forward.svg b/assets/icons/forward.svg
new file mode 100644
index 0000000..8f8c565
--- /dev/null
+++ b/assets/icons/forward.svg
@@ -0,0 +1,3 @@
+
diff --git a/assets/icons/map.svg b/assets/icons/map.svg
new file mode 100644
index 0000000..5f3c8be
--- /dev/null
+++ b/assets/icons/map.svg
@@ -0,0 +1,8 @@
+
diff --git a/assets/icons/maps-and-flags.svg b/assets/icons/maps-and-flags.svg
new file mode 100644
index 0000000..9c56834
--- /dev/null
+++ b/assets/icons/maps-and-flags.svg
@@ -0,0 +1,3 @@
+
diff --git a/assets/icons/menu.svg b/assets/icons/menu.svg
new file mode 100644
index 0000000..b1f09a5
--- /dev/null
+++ b/assets/icons/menu.svg
@@ -0,0 +1,6 @@
+
diff --git a/assets/icons/shape_small.svg b/assets/icons/shape_small.svg
new file mode 100644
index 0000000..42ac1c8
--- /dev/null
+++ b/assets/icons/shape_small.svg
@@ -0,0 +1,3 @@
+
diff --git a/assets/images/conjutivite.png b/assets/images/conjutivite.png
new file mode 100644
index 0000000..a12cdc9
Binary files /dev/null and b/assets/images/conjutivite.png differ
diff --git a/assets/images/cough.png b/assets/images/cough.png
new file mode 100644
index 0000000..78a020d
Binary files /dev/null and b/assets/images/cough.png differ
diff --git a/assets/images/fever.png b/assets/images/fever.png
new file mode 100644
index 0000000..bc3d3a3
Binary files /dev/null and b/assets/images/fever.png differ
diff --git a/assets/images/garganta.png b/assets/images/garganta.png
new file mode 100644
index 0000000..f3b1d2e
Binary files /dev/null and b/assets/images/garganta.png differ
diff --git a/assets/images/house.png b/assets/images/house.png
new file mode 100644
index 0000000..c69bea8
Binary files /dev/null and b/assets/images/house.png differ
diff --git a/assets/images/map.png b/assets/images/map.png
new file mode 100644
index 0000000..3c78a7c
Binary files /dev/null and b/assets/images/map.png differ
diff --git a/assets/images/patient.png b/assets/images/patient.png
new file mode 100644
index 0000000..107f3f3
Binary files /dev/null and b/assets/images/patient.png differ
diff --git a/assets/images/sad.png b/assets/images/sad.png
new file mode 100644
index 0000000..f33bc10
Binary files /dev/null and b/assets/images/sad.png differ
diff --git a/assets/images/virus.png b/assets/images/virus.png
new file mode 100644
index 0000000..eafe6f9
Binary files /dev/null and b/assets/images/virus.png differ
diff --git a/assets/images/wash_hands.png b/assets/images/wash_hands.png
new file mode 100644
index 0000000..ea0ba75
Binary files /dev/null and b/assets/images/wash_hands.png differ
diff --git a/assets/images/washing-hands.png b/assets/images/washing-hands.png
new file mode 100644
index 0000000..0c65b0b
Binary files /dev/null and b/assets/images/washing-hands.png differ
diff --git a/assets/images/wear_mask.png b/assets/images/wear_mask.png
new file mode 100644
index 0000000..014a024
Binary files /dev/null and b/assets/images/wear_mask.png differ
diff --git a/assets/rKarcApps.png b/assets/rKarcApps.png
new file mode 100644
index 0000000..34558a5
Binary files /dev/null and b/assets/rKarcApps.png differ
diff --git a/assets/rKarcApps_old.png b/assets/rKarcApps_old.png
new file mode 100644
index 0000000..e39fb2e
Binary files /dev/null and b/assets/rKarcApps_old.png differ
diff --git a/assets/virus.png b/assets/virus.png
new file mode 100644
index 0000000..ab2877e
Binary files /dev/null and b/assets/virus.png differ
diff --git a/corona_tracker.iml b/corona_tracker.iml
new file mode 100644
index 0000000..e5c8371
--- /dev/null
+++ b/corona_tracker.iml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ios/.gitignore b/ios/.gitignore
new file mode 100644
index 0000000..e96ef60
--- /dev/null
+++ b/ios/.gitignore
@@ -0,0 +1,32 @@
+*.mode1v3
+*.mode2v3
+*.moved-aside
+*.pbxuser
+*.perspectivev3
+**/*sync/
+.sconsign.dblite
+.tags*
+**/.vagrant/
+**/DerivedData/
+Icon?
+**/Pods/
+**/.symlinks/
+profile
+xcuserdata
+**/.generated/
+Flutter/App.framework
+Flutter/Flutter.framework
+Flutter/Flutter.podspec
+Flutter/Generated.xcconfig
+Flutter/app.flx
+Flutter/app.zip
+Flutter/flutter_assets/
+Flutter/flutter_export_environment.sh
+ServiceDefinitions.json
+Runner/GeneratedPluginRegistrant.*
+
+# Exceptions to above rules.
+!default.mode1v3
+!default.mode2v3
+!default.pbxuser
+!default.perspectivev3
diff --git a/ios/Flutter/AppFrameworkInfo.plist b/ios/Flutter/AppFrameworkInfo.plist
new file mode 100644
index 0000000..6b4c0f7
--- /dev/null
+++ b/ios/Flutter/AppFrameworkInfo.plist
@@ -0,0 +1,26 @@
+
+
+
+
+ CFBundleDevelopmentRegion
+ $(DEVELOPMENT_LANGUAGE)
+ CFBundleExecutable
+ App
+ CFBundleIdentifier
+ io.flutter.flutter.app
+ CFBundleInfoDictionaryVersion
+ 6.0
+ CFBundleName
+ App
+ CFBundlePackageType
+ FMWK
+ CFBundleShortVersionString
+ 1.0
+ CFBundleSignature
+ ????
+ CFBundleVersion
+ 1.0
+ MinimumOSVersion
+ 8.0
+
+
diff --git a/ios/Flutter/Debug.xcconfig b/ios/Flutter/Debug.xcconfig
new file mode 100644
index 0000000..592ceee
--- /dev/null
+++ b/ios/Flutter/Debug.xcconfig
@@ -0,0 +1 @@
+#include "Generated.xcconfig"
diff --git a/ios/Flutter/Release.xcconfig b/ios/Flutter/Release.xcconfig
new file mode 100644
index 0000000..592ceee
--- /dev/null
+++ b/ios/Flutter/Release.xcconfig
@@ -0,0 +1 @@
+#include "Generated.xcconfig"
diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj
new file mode 100644
index 0000000..b102b35
--- /dev/null
+++ b/ios/Runner.xcodeproj/project.pbxproj
@@ -0,0 +1,506 @@
+// !$*UTF8*$!
+{
+ archiveVersion = 1;
+ classes = {
+ };
+ objectVersion = 46;
+ objects = {
+
+/* Begin PBXBuildFile section */
+ 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };
+ 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
+ 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; };
+ 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
+ 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
+ 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXCopyFilesBuildPhase section */
+ 9705A1C41CF9048500538489 /* Embed Frameworks */ = {
+ isa = PBXCopyFilesBuildPhase;
+ buildActionMask = 2147483647;
+ dstPath = "";
+ dstSubfolderSpec = 10;
+ files = (
+ );
+ name = "Embed Frameworks";
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXCopyFilesBuildPhase section */
+
+/* Begin PBXFileReference section */
+ 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; };
+ 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; };
+ 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; };
+ 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; };
+ 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
+ 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; };
+ 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; };
+ 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; };
+ 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; };
+ 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
+ 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
+ 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; };
+ 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+ 97C146EB1CF9000F007C117D /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+ 9740EEB11CF90186004384FC /* Flutter */ = {
+ isa = PBXGroup;
+ children = (
+ 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */,
+ 9740EEB21CF90195004384FC /* Debug.xcconfig */,
+ 7AFA3C8E1D35360C0083082E /* Release.xcconfig */,
+ 9740EEB31CF90195004384FC /* Generated.xcconfig */,
+ );
+ name = Flutter;
+ sourceTree = "";
+ };
+ 97C146E51CF9000F007C117D = {
+ isa = PBXGroup;
+ children = (
+ 9740EEB11CF90186004384FC /* Flutter */,
+ 97C146F01CF9000F007C117D /* Runner */,
+ 97C146EF1CF9000F007C117D /* Products */,
+ );
+ sourceTree = "";
+ };
+ 97C146EF1CF9000F007C117D /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ 97C146EE1CF9000F007C117D /* Runner.app */,
+ );
+ name = Products;
+ sourceTree = "";
+ };
+ 97C146F01CF9000F007C117D /* Runner */ = {
+ isa = PBXGroup;
+ children = (
+ 97C146FA1CF9000F007C117D /* Main.storyboard */,
+ 97C146FD1CF9000F007C117D /* Assets.xcassets */,
+ 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */,
+ 97C147021CF9000F007C117D /* Info.plist */,
+ 97C146F11CF9000F007C117D /* Supporting Files */,
+ 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */,
+ 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */,
+ 74858FAE1ED2DC5600515810 /* AppDelegate.swift */,
+ 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */,
+ );
+ path = Runner;
+ sourceTree = "";
+ };
+ 97C146F11CF9000F007C117D /* Supporting Files */ = {
+ isa = PBXGroup;
+ children = (
+ );
+ name = "Supporting Files";
+ sourceTree = "";
+ };
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+ 97C146ED1CF9000F007C117D /* Runner */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
+ buildPhases = (
+ 9740EEB61CF901F6004384FC /* Run Script */,
+ 97C146EA1CF9000F007C117D /* Sources */,
+ 97C146EB1CF9000F007C117D /* Frameworks */,
+ 97C146EC1CF9000F007C117D /* Resources */,
+ 9705A1C41CF9048500538489 /* Embed Frameworks */,
+ 3B06AD1E1E4923F5004D2608 /* Thin Binary */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ );
+ name = Runner;
+ productName = Runner;
+ productReference = 97C146EE1CF9000F007C117D /* Runner.app */;
+ productType = "com.apple.product-type.application";
+ };
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+ 97C146E61CF9000F007C117D /* Project object */ = {
+ isa = PBXProject;
+ attributes = {
+ LastUpgradeCheck = 1020;
+ ORGANIZATIONNAME = "";
+ TargetAttributes = {
+ 97C146ED1CF9000F007C117D = {
+ CreatedOnToolsVersion = 7.3.1;
+ LastSwiftMigration = 1100;
+ };
+ };
+ };
+ buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */;
+ compatibilityVersion = "Xcode 9.3";
+ developmentRegion = en;
+ hasScannedForEncodings = 0;
+ knownRegions = (
+ en,
+ Base,
+ );
+ mainGroup = 97C146E51CF9000F007C117D;
+ productRefGroup = 97C146EF1CF9000F007C117D /* Products */;
+ projectDirPath = "";
+ projectRoot = "";
+ targets = (
+ 97C146ED1CF9000F007C117D /* Runner */,
+ );
+ };
+/* End PBXProject section */
+
+/* Begin PBXResourcesBuildPhase section */
+ 97C146EC1CF9000F007C117D /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */,
+ 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */,
+ 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */,
+ 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXResourcesBuildPhase section */
+
+/* Begin PBXShellScriptBuildPhase section */
+ 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ );
+ name = "Thin Binary";
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin";
+ };
+ 9740EEB61CF901F6004384FC /* Run Script */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ );
+ name = "Run Script";
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
+ };
+/* End PBXShellScriptBuildPhase section */
+
+/* Begin PBXSourcesBuildPhase section */
+ 97C146EA1CF9000F007C117D /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */,
+ 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXSourcesBuildPhase section */
+
+/* Begin PBXVariantGroup section */
+ 97C146FA1CF9000F007C117D /* Main.storyboard */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 97C146FB1CF9000F007C117D /* Base */,
+ );
+ name = Main.storyboard;
+ sourceTree = "";
+ };
+ 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 97C147001CF9000F007C117D /* Base */,
+ );
+ name = LaunchScreen.storyboard;
+ sourceTree = "";
+ };
+/* End PBXVariantGroup section */
+
+/* Begin XCBuildConfiguration section */
+ 249021D3217E4FDB00AE95B9 /* Profile */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ CLANG_ANALYZER_NONNULL = YES;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_MODULES = YES;
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
+ CLANG_WARN_BOOL_CONVERSION = YES;
+ CLANG_WARN_COMMA = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INFINITE_RECURSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
+ CLANG_WARN_UNREACHABLE_CODE = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ COPY_PHASE_STRIP = NO;
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+ ENABLE_NS_ASSERTIONS = NO;
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_NO_COMMON_BLOCKS = YES;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 8.0;
+ MTL_ENABLE_DEBUG_INFO = NO;
+ SDKROOT = iphoneos;
+ SUPPORTED_PLATFORMS = iphoneos;
+ TARGETED_DEVICE_FAMILY = "1,2";
+ VALIDATE_PRODUCT = YES;
+ };
+ name = Profile;
+ };
+ 249021D4217E4FDB00AE95B9 /* Profile */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ CLANG_ENABLE_MODULES = YES;
+ CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
+ ENABLE_BITCODE = NO;
+ FRAMEWORK_SEARCH_PATHS = (
+ "$(inherited)",
+ "$(PROJECT_DIR)/Flutter",
+ );
+ INFOPLIST_FILE = Runner/Info.plist;
+ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
+ LIBRARY_SEARCH_PATHS = (
+ "$(inherited)",
+ "$(PROJECT_DIR)/Flutter",
+ );
+ PRODUCT_BUNDLE_IDENTIFIER = com.example.coronaTracker;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
+ SWIFT_VERSION = 5.0;
+ VERSIONING_SYSTEM = "apple-generic";
+ };
+ name = Profile;
+ };
+ 97C147031CF9000F007C117D /* Debug */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ CLANG_ANALYZER_NONNULL = YES;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_MODULES = YES;
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
+ CLANG_WARN_BOOL_CONVERSION = YES;
+ CLANG_WARN_COMMA = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INFINITE_RECURSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
+ CLANG_WARN_UNREACHABLE_CODE = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ COPY_PHASE_STRIP = NO;
+ DEBUG_INFORMATION_FORMAT = dwarf;
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
+ ENABLE_TESTABILITY = YES;
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_NO_COMMON_BLOCKS = YES;
+ GCC_OPTIMIZATION_LEVEL = 0;
+ GCC_PREPROCESSOR_DEFINITIONS = (
+ "DEBUG=1",
+ "$(inherited)",
+ );
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 8.0;
+ MTL_ENABLE_DEBUG_INFO = YES;
+ ONLY_ACTIVE_ARCH = YES;
+ SDKROOT = iphoneos;
+ TARGETED_DEVICE_FAMILY = "1,2";
+ };
+ name = Debug;
+ };
+ 97C147041CF9000F007C117D /* Release */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ CLANG_ANALYZER_NONNULL = YES;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_MODULES = YES;
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
+ CLANG_WARN_BOOL_CONVERSION = YES;
+ CLANG_WARN_COMMA = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INFINITE_RECURSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
+ CLANG_WARN_UNREACHABLE_CODE = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ COPY_PHASE_STRIP = NO;
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+ ENABLE_NS_ASSERTIONS = NO;
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_NO_COMMON_BLOCKS = YES;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 8.0;
+ MTL_ENABLE_DEBUG_INFO = NO;
+ SDKROOT = iphoneos;
+ SUPPORTED_PLATFORMS = iphoneos;
+ SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
+ TARGETED_DEVICE_FAMILY = "1,2";
+ VALIDATE_PRODUCT = YES;
+ };
+ name = Release;
+ };
+ 97C147061CF9000F007C117D /* Debug */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ CLANG_ENABLE_MODULES = YES;
+ CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
+ ENABLE_BITCODE = NO;
+ FRAMEWORK_SEARCH_PATHS = (
+ "$(inherited)",
+ "$(PROJECT_DIR)/Flutter",
+ );
+ INFOPLIST_FILE = Runner/Info.plist;
+ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
+ LIBRARY_SEARCH_PATHS = (
+ "$(inherited)",
+ "$(PROJECT_DIR)/Flutter",
+ );
+ PRODUCT_BUNDLE_IDENTIFIER = com.example.coronaTracker;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
+ SWIFT_OPTIMIZATION_LEVEL = "-Onone";
+ SWIFT_VERSION = 5.0;
+ VERSIONING_SYSTEM = "apple-generic";
+ };
+ name = Debug;
+ };
+ 97C147071CF9000F007C117D /* Release */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ CLANG_ENABLE_MODULES = YES;
+ CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
+ ENABLE_BITCODE = NO;
+ FRAMEWORK_SEARCH_PATHS = (
+ "$(inherited)",
+ "$(PROJECT_DIR)/Flutter",
+ );
+ INFOPLIST_FILE = Runner/Info.plist;
+ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
+ LIBRARY_SEARCH_PATHS = (
+ "$(inherited)",
+ "$(PROJECT_DIR)/Flutter",
+ );
+ PRODUCT_BUNDLE_IDENTIFIER = com.example.coronaTracker;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
+ SWIFT_VERSION = 5.0;
+ VERSIONING_SYSTEM = "apple-generic";
+ };
+ name = Release;
+ };
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+ 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 97C147031CF9000F007C117D /* Debug */,
+ 97C147041CF9000F007C117D /* Release */,
+ 249021D3217E4FDB00AE95B9 /* Profile */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 97C147061CF9000F007C117D /* Debug */,
+ 97C147071CF9000F007C117D /* Release */,
+ 249021D4217E4FDB00AE95B9 /* Profile */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+/* End XCConfigurationList section */
+ };
+ rootObject = 97C146E61CF9000F007C117D /* Project object */;
+}
diff --git a/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata
new file mode 100644
index 0000000..1d526a1
--- /dev/null
+++ b/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata
@@ -0,0 +1,7 @@
+
+
+
+
+
diff --git a/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
new file mode 100644
index 0000000..18d9810
--- /dev/null
+++ b/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
@@ -0,0 +1,8 @@
+
+
+
+
+ IDEDidComputeMac32BitWarning
+
+
+
diff --git a/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
new file mode 100644
index 0000000..f9b0d7c
--- /dev/null
+++ b/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
@@ -0,0 +1,8 @@
+
+
+
+
+ PreviewsEnabled
+
+
+
diff --git a/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
new file mode 100644
index 0000000..a28140c
--- /dev/null
+++ b/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ios/Runner.xcworkspace/contents.xcworkspacedata b/ios/Runner.xcworkspace/contents.xcworkspacedata
new file mode 100644
index 0000000..1d526a1
--- /dev/null
+++ b/ios/Runner.xcworkspace/contents.xcworkspacedata
@@ -0,0 +1,7 @@
+
+
+
+
+
diff --git a/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
new file mode 100644
index 0000000..18d9810
--- /dev/null
+++ b/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
@@ -0,0 +1,8 @@
+
+
+
+
+ IDEDidComputeMac32BitWarning
+
+
+
diff --git a/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
new file mode 100644
index 0000000..f9b0d7c
--- /dev/null
+++ b/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
@@ -0,0 +1,8 @@
+
+
+
+
+ PreviewsEnabled
+
+
+
diff --git a/ios/Runner/AppDelegate.swift b/ios/Runner/AppDelegate.swift
new file mode 100644
index 0000000..70693e4
--- /dev/null
+++ b/ios/Runner/AppDelegate.swift
@@ -0,0 +1,13 @@
+import UIKit
+import Flutter
+
+@UIApplicationMain
+@objc class AppDelegate: FlutterAppDelegate {
+ override func application(
+ _ application: UIApplication,
+ didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
+ ) -> Bool {
+ GeneratedPluginRegistrant.register(with: self)
+ return super.application(application, didFinishLaunchingWithOptions: launchOptions)
+ }
+}
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
new file mode 100644
index 0000000..d36b1fa
--- /dev/null
+++ b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
@@ -0,0 +1,122 @@
+{
+ "images" : [
+ {
+ "size" : "20x20",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-20x20@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "20x20",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-20x20@3x.png",
+ "scale" : "3x"
+ },
+ {
+ "size" : "29x29",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-29x29@1x.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "29x29",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-29x29@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "29x29",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-29x29@3x.png",
+ "scale" : "3x"
+ },
+ {
+ "size" : "40x40",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-40x40@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "40x40",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-40x40@3x.png",
+ "scale" : "3x"
+ },
+ {
+ "size" : "60x60",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-60x60@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "60x60",
+ "idiom" : "iphone",
+ "filename" : "Icon-App-60x60@3x.png",
+ "scale" : "3x"
+ },
+ {
+ "size" : "20x20",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-20x20@1x.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "20x20",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-20x20@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "29x29",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-29x29@1x.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "29x29",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-29x29@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "40x40",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-40x40@1x.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "40x40",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-40x40@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "76x76",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-76x76@1x.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "76x76",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-76x76@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "83.5x83.5",
+ "idiom" : "ipad",
+ "filename" : "Icon-App-83.5x83.5@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "1024x1024",
+ "idiom" : "ios-marketing",
+ "filename" : "Icon-App-1024x1024@1x.png",
+ "scale" : "1x"
+ }
+ ],
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png
new file mode 100644
index 0000000..547db8e
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png
new file mode 100644
index 0000000..49926ed
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png
new file mode 100644
index 0000000..b6f4236
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png
new file mode 100644
index 0000000..161ed37
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png
new file mode 100644
index 0000000..1528b3f
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png
new file mode 100644
index 0000000..b25a9f2
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png
new file mode 100644
index 0000000..bd90d29
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png
new file mode 100644
index 0000000..b6f4236
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png
new file mode 100644
index 0000000..dfcdacd
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png
new file mode 100644
index 0000000..95eacad
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-50x50@1x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-50x50@1x.png
new file mode 100644
index 0000000..799ce4a
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-50x50@1x.png differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-50x50@2x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-50x50@2x.png
new file mode 100644
index 0000000..66da66a
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-50x50@2x.png differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@1x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@1x.png
new file mode 100644
index 0000000..73d667e
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@1x.png differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@2x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@2x.png
new file mode 100644
index 0000000..7680e89
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@2x.png differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png
new file mode 100644
index 0000000..95eacad
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png
new file mode 100644
index 0000000..b7729e0
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@1x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@1x.png
new file mode 100644
index 0000000..01fe8c0
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@1x.png differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@2x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@2x.png
new file mode 100644
index 0000000..4fcd536
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@2x.png differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png
new file mode 100644
index 0000000..f909dac
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png
new file mode 100644
index 0000000..134e706
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png differ
diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png
new file mode 100644
index 0000000..1702d60
Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png differ
diff --git a/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json b/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json
new file mode 100644
index 0000000..0bedcf2
--- /dev/null
+++ b/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json
@@ -0,0 +1,23 @@
+{
+ "images" : [
+ {
+ "idiom" : "universal",
+ "filename" : "LaunchImage.png",
+ "scale" : "1x"
+ },
+ {
+ "idiom" : "universal",
+ "filename" : "LaunchImage@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "idiom" : "universal",
+ "filename" : "LaunchImage@3x.png",
+ "scale" : "3x"
+ }
+ ],
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
diff --git a/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png b/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
new file mode 100644
index 0000000..9da19ea
Binary files /dev/null and b/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png differ
diff --git a/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png b/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
new file mode 100644
index 0000000..9da19ea
Binary files /dev/null and b/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png differ
diff --git a/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png b/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png
new file mode 100644
index 0000000..9da19ea
Binary files /dev/null and b/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png differ
diff --git a/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md b/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md
new file mode 100644
index 0000000..89c2725
--- /dev/null
+++ b/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md
@@ -0,0 +1,5 @@
+# Launch Screen Assets
+
+You can customize the launch screen with your own desired assets by replacing the image files in this directory.
+
+You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images.
\ No newline at end of file
diff --git a/ios/Runner/Base.lproj/LaunchScreen.storyboard b/ios/Runner/Base.lproj/LaunchScreen.storyboard
new file mode 100644
index 0000000..f2e259c
--- /dev/null
+++ b/ios/Runner/Base.lproj/LaunchScreen.storyboard
@@ -0,0 +1,37 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ios/Runner/Base.lproj/Main.storyboard b/ios/Runner/Base.lproj/Main.storyboard
new file mode 100644
index 0000000..f3c2851
--- /dev/null
+++ b/ios/Runner/Base.lproj/Main.storyboard
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ios/Runner/Info.plist b/ios/Runner/Info.plist
new file mode 100644
index 0000000..9275054
--- /dev/null
+++ b/ios/Runner/Info.plist
@@ -0,0 +1,45 @@
+
+
+
+
+ CFBundleDevelopmentRegion
+ $(DEVELOPMENT_LANGUAGE)
+ CFBundleExecutable
+ $(EXECUTABLE_NAME)
+ CFBundleIdentifier
+ $(PRODUCT_BUNDLE_IDENTIFIER)
+ CFBundleInfoDictionaryVersion
+ 6.0
+ CFBundleName
+ corona_tracker
+ CFBundlePackageType
+ APPL
+ CFBundleShortVersionString
+ $(FLUTTER_BUILD_NAME)
+ CFBundleSignature
+ ????
+ CFBundleVersion
+ $(FLUTTER_BUILD_NUMBER)
+ LSRequiresIPhoneOS
+
+ UILaunchStoryboardName
+ LaunchScreen
+ UIMainStoryboardFile
+ Main
+ UISupportedInterfaceOrientations
+
+ UIInterfaceOrientationPortrait
+ UIInterfaceOrientationLandscapeLeft
+ UIInterfaceOrientationLandscapeRight
+
+ UISupportedInterfaceOrientations~ipad
+
+ UIInterfaceOrientationPortrait
+ UIInterfaceOrientationPortraitUpsideDown
+ UIInterfaceOrientationLandscapeLeft
+ UIInterfaceOrientationLandscapeRight
+
+ UIViewControllerBasedStatusBarAppearance
+
+
+
diff --git a/ios/Runner/Runner-Bridging-Header.h b/ios/Runner/Runner-Bridging-Header.h
new file mode 100644
index 0000000..308a2a5
--- /dev/null
+++ b/ios/Runner/Runner-Bridging-Header.h
@@ -0,0 +1 @@
+#import "GeneratedPluginRegistrant.h"
diff --git a/lib/api/apiGetDadosCovid.dart b/lib/api/apiGetDadosCovid.dart
new file mode 100644
index 0000000..b04256b
--- /dev/null
+++ b/lib/api/apiGetDadosCovid.dart
@@ -0,0 +1,73 @@
+import 'dart:async';
+import 'dart:convert';
+
+import 'package:corona_tracker/model/modelDadosPPais.dart';
+import 'package:http/http.dart' as http;
+
+class GetDadosCovid {
+ static Future getFlagUrl() async {
+ final response = await http
+ .get('https://restcountries.eu/rest/v2/name/Dominican Republic');
+
+ var dados = json.decode(response.body);
+ if (response.statusCode == 200) {
+ return dados[0]['flag'];
+ } else {
+ throw Exception('Falhou a obter os dados');
+ }
+ }
+
+ static Future getDadosMundo() {
+ return http
+ .get('https://covid19-brazil-api.now.sh/api/report/v1/countries');
+ }
+
+ static Future fetchDadosMundo() async {
+ final response = await getDadosMundo();
+ DadosPorPaisData dadosPorPais;
+
+ if (response.statusCode == 200) {
+ dadosPorPais = DadosPorPaisData.fromJson(json.decode(response.body));
+ dadosPorPais.data.sort((a, b) => b.confirmed.compareTo(a.confirmed));
+ return dadosPorPais;
+ } else {
+ throw Exception('Falhou a obter os dados');
+ }
+ }
+
+ static Future getDadosEstado({String pais}) {
+ return http.get('https://covid19-brazil-api.now.sh/api/report/v1');
+ }
+
+ static Future fetchDadosPais() async {
+ final response = await getDadosEstado();
+ DadosPorEstadoData dadosPorEstado;
+
+ if (response.statusCode == 200) {
+ dadosPorEstado = DadosPorEstadoData.fromJson(json.decode(response.body));
+ dadosPorEstado.data.sort((a, b) => b.cases.compareTo(a.cases));
+ return dadosPorEstado;
+ } else {
+ throw Exception('Falhou a obter os dados');
+ }
+ }
+
+ static Future getDadosCidades({String uf}) {
+ return http.get(
+ 'https://brasil.io/api/dataset/covid19/caso/data/?format=json&place_type=city&is_last=true&state=' +
+ uf);
+ }
+
+ static Future fetchDadosEstado({String uf}) async {
+ final response = await getDadosCidades(uf: uf);
+ DadosPorCidadeData dadosPorEstado;
+
+ if (response.statusCode == 200) {
+ dadosPorEstado = DadosPorCidadeData.fromJson(json.decode(response.body));
+ dadosPorEstado.data.sort((a, b) => b.confirmed.compareTo(a.confirmed));
+ return dadosPorEstado;
+ } else {
+ throw Exception('Falhou a obter os dados');
+ }
+ }
+}
diff --git a/lib/constants.dart b/lib/constants.dart
new file mode 100644
index 0000000..9a490df
--- /dev/null
+++ b/lib/constants.dart
@@ -0,0 +1,54 @@
+import 'package:flutter/material.dart';
+import 'package:flutter/widgets.dart';
+
+// Colors
+const kBackgroundColor = Color(0xFFFEFEFE);
+const kTitleTextColor = Color(0xFF303030);
+const kBodyTextColor = Color(0xFF4B4B4B);
+const kTextLightColor = Color(0xFF959595);
+const kInfectedColor = Color(0xFFFF8748);
+const kDeathColor = Color(0xFFFF4848);
+const kRecovercolor = Color(0xFF36C12C);
+const kPrimaryColor = Color(0xFF3382CC);
+final kShadowColor = Color(0xFFB7B7B7).withOpacity(.16);
+final kActiveShadowColor = Color(0xFF4056C6).withOpacity(.15);
+
+// Text Style
+const kHeadingTextStyle = TextStyle(
+ fontSize: 22,
+ fontWeight: FontWeight.w600,
+);
+
+const kSubTextStyle = TextStyle(fontSize: 16, color: kTextLightColor);
+
+const kTitleTextstyle = TextStyle(
+ fontSize: 18,
+ color: kTitleTextColor,
+ fontWeight: FontWeight.bold,
+);
+
+class SizeConfig {
+ static MediaQueryData _mediaQueryData;
+ static double screenWidth;
+ static double screenHeight;
+ static double blockSizeHorizontal;
+ static double blockSizeVertical;
+ static double _safeAreaHorizontal;
+ static double _safeAreaVertical;
+ static double safeBlockHorizontal;
+ static double safeBlockVertical;
+
+ void init(BuildContext context) {
+ _mediaQueryData = MediaQuery.of(context);
+ screenWidth = _mediaQueryData.size.width;
+ screenHeight = _mediaQueryData.size.height;
+ blockSizeHorizontal = screenWidth / 100;
+ blockSizeVertical = screenHeight / 100;
+ _safeAreaHorizontal =
+ _mediaQueryData.padding.left + _mediaQueryData.padding.right;
+ _safeAreaVertical =
+ _mediaQueryData.padding.top + _mediaQueryData.padding.bottom;
+ safeBlockHorizontal = (screenWidth - _safeAreaHorizontal) / 100;
+ safeBlockVertical = (screenHeight - _safeAreaVertical) / 100;
+ }
+}
diff --git a/lib/main.dart b/lib/main.dart
new file mode 100644
index 0000000..9a30db7
--- /dev/null
+++ b/lib/main.dart
@@ -0,0 +1,21 @@
+import 'package:corona_tracker/pages/pageHomePage.dart';
+import 'package:flutter/material.dart';
+
+void main() {
+ runApp(MyApp());
+}
+
+class MyApp extends StatelessWidget {
+ @override
+ Widget build(BuildContext context) {
+ return MaterialApp(
+ title: 'Rastreamento COVID-19',
+ debugShowCheckedModeBanner: false,
+ theme: ThemeData(
+ primarySwatch: Colors.blue,
+ visualDensity: VisualDensity.adaptivePlatformDensity,
+ ),
+ home: MyHomePage(title: 'Rastreamento COVID-19'),
+ );
+ }
+}
diff --git a/lib/model/modelDadosPPais.dart b/lib/model/modelDadosPPais.dart
new file mode 100644
index 0000000..b62b2e0
--- /dev/null
+++ b/lib/model/modelDadosPPais.dart
@@ -0,0 +1,132 @@
+import 'package:corona_tracker/api/apiGetDadosCovid.dart';
+
+class DadosPorPaisData {
+ List data;
+
+ DadosPorPaisData({this.data});
+
+ factory DadosPorPaisData.fromJson(Map json) {
+ var list = json['data'];
+ List dadosList =
+ list.map((i) => DadosPorPais.fromJson(i)).toList();
+
+ return DadosPorPaisData(
+ data: dadosList,
+ );
+ }
+}
+
+class DadosPorPais {
+ String name;
+ int cases;
+ int confirmed;
+ int deaths;
+ int recovered;
+ String newDeaths;
+ String newCases;
+ String criticalCases;
+ String activeCases;
+ String flagUrl;
+
+ DadosPorPais({
+ this.name,
+ this.cases,
+ this.confirmed,
+ this.deaths,
+ this.recovered,
+ this.newDeaths,
+ this.newCases,
+ this.criticalCases,
+ this.activeCases,
+ });
+
+ factory DadosPorPais.fromJson(Map json) {
+ return DadosPorPais(
+ name: json['country'],
+ cases: json['cases'],
+ confirmed: json['confirmed'],
+ deaths: json['deaths'],
+ recovered: json['recovered'],
+ );
+ }
+}
+
+class DadosPorEstadoData {
+ List data;
+
+ DadosPorEstadoData({this.data});
+
+ factory DadosPorEstadoData.fromJson(Map json) {
+ var list = json['data'];
+ List dadosList =
+ list.map((i) => DadosPorEstado.fromJson(i)).toList();
+
+ return DadosPorEstadoData(
+ data: dadosList,
+ );
+ }
+}
+
+class DadosPorEstado {
+ String uf;
+ String state;
+ int cases;
+ int deaths;
+ int suspects;
+ int refuses;
+
+ DadosPorEstado({
+ this.uf,
+ this.state,
+ this.cases,
+ this.deaths,
+ this.suspects,
+ this.refuses,
+ });
+
+ factory DadosPorEstado.fromJson(Map json) {
+ return DadosPorEstado(
+ uf: json['uf'],
+ state: json['state'],
+ cases: json['cases'],
+ deaths: json['deaths'],
+ suspects: json['suspects'],
+ refuses: json['refuses'],
+ );
+ }
+}
+
+class DadosPorCidadeData {
+ List data;
+
+ DadosPorCidadeData({this.data});
+
+ factory DadosPorCidadeData.fromJson(Map json) {
+ var list = json['results'];
+ List dadosList =
+ list.map((i) => DadosPorCidade.fromJson(i)).toList();
+
+ return DadosPorCidadeData(
+ data: dadosList,
+ );
+ }
+}
+
+class DadosPorCidade {
+ String city;
+ int confirmed;
+ int deaths;
+ DadosPorCidade({
+ this.city,
+ this.confirmed,
+ this.deaths,
+ });
+
+ factory DadosPorCidade.fromJson(Map json) {
+ return DadosPorCidade(
+ city: json['city'],
+ confirmed: json['confirmed'],
+ deaths: json['deaths'],
+ );
+ }
+}
diff --git a/lib/pages/pageCasos.dart b/lib/pages/pageCasos.dart
new file mode 100644
index 0000000..a994674
--- /dev/null
+++ b/lib/pages/pageCasos.dart
@@ -0,0 +1,107 @@
+import 'package:corona_tracker/api/apiGetDadosCovid.dart';
+import 'package:corona_tracker/model/modelDadosPPais.dart';
+import 'package:corona_tracker/pages/pageDetail.dart';
+import 'package:corona_tracker/pages/pageNavDrawer.dart';
+import 'package:corona_tracker/constants.dart';
+import 'package:corona_tracker/pages/widgetHeader.dart';
+import 'package:flutter/material.dart';
+import 'package:intl/intl.dart';
+import 'package:flutter_svg/flutter_svg.dart';
+
+class CasosPage extends StatefulWidget {
+ CasosPage({Key key, this.title}) : super(key: key);
+
+ final String title;
+
+ @override
+ _CasosPageState createState() => _CasosPageState();
+}
+
+class _CasosPageState extends State {
+ DadosPorPaisData dadosPorPais = new DadosPorPaisData();
+ final formatter = new NumberFormat("#,###", "pt_BR");
+
+ @override
+ void initState() {
+ GetDadosCovid.fetchDadosMundo().then((value) async {
+ setState(() {
+ dadosPorPais = value;
+ });
+ });
+ super.initState();
+ }
+
+ @override
+ Widget build(BuildContext context) {
+ return Scaffold(
+ //drawer: NavDrawer(),
+ appBar: AppBar(
+ title: Text(
+ "Casos COVID-19",
+ style: TextStyle(color: Colors.black),
+ ),
+ backgroundColor: Color.fromRGBO(255, 255, 255, 1),
+ iconTheme: IconThemeData(color: Colors.black),
+ ),
+ // Expanded(
+ // child: body(),
+ // )
+ body: body());
+ }
+
+ Widget body() {
+ if (dadosPorPais.data != null) {
+ return ListView.builder(
+ itemCount: dadosPorPais.data.length,
+ itemBuilder: (context, index) {
+ return GestureDetector(
+ child: ListTile(
+ onTap: () {
+ Navigator.push(
+ context,
+ MaterialPageRoute(
+ builder: (context) => PageDetail(
+ index: index,
+ paisData: dadosPorPais.data[index],
+ )),
+ );
+ },
+ trailing: Wrap(
+ spacing: 12, // space between two icons
+ children: [
+ Icon(Icons.navigate_next),
+ ],
+ ),
+ title: Text(dadosPorPais.data[index].name),
+ subtitle: Text("Casos: " +
+ formatter.format(dadosPorPais.data[index].confirmed)),
+ ),
+ );
+ },
+ );
+ }
+ return Center(
+ child: Container(
+ width: MediaQuery.of(context).size.width,
+ height: MediaQuery.of(context).size.height,
+ color: Colors.black87,
+ child: Column(
+ mainAxisAlignment: MainAxisAlignment.center,
+ children: [
+ CircularProgressIndicator(),
+ SizedBox(
+ height: 10,
+ ),
+ Text(
+ "Carregando...",
+ style: TextStyle(color: Colors.white),
+ )
+ ],
+ ),
+ ));
+ }
+
+ Future getFlagUrl() async {
+ return GetDadosCovid.getFlagUrl();
+ }
+}
diff --git a/lib/pages/pageDetail.dart b/lib/pages/pageDetail.dart
new file mode 100644
index 0000000..592b516
--- /dev/null
+++ b/lib/pages/pageDetail.dart
@@ -0,0 +1,162 @@
+import 'package:corona_tracker/api/apiGetDadosCovid.dart';
+import 'package:corona_tracker/model/modelDadosPPais.dart';
+import 'package:corona_tracker/pages/pageDetailUF.dart';
+import 'package:flutter/material.dart';
+import 'package:intl/intl.dart';
+
+class PageDetail extends StatefulWidget {
+ final DadosPorPais paisData;
+ final int index;
+
+ PageDetail({this.index, this.paisData});
+ @override
+ _PageDetailState createState() => _PageDetailState();
+}
+
+class _PageDetailState extends State {
+ DadosPorEstadoData dadosPorEstado = new DadosPorEstadoData();
+
+ @override
+ void initState() {
+ if (widget.paisData.name == "Brazil") {
+ GetDadosCovid.fetchDadosPais().then((value) {
+ dadosPorEstado = value;
+ setState(() {});
+ });
+ }
+ super.initState();
+ }
+
+ @override
+ Widget build(BuildContext context) {
+ return Scaffold(
+ appBar: AppBar(
+ title: Text(
+ widget.paisData.name,
+ style: TextStyle(color: Colors.black),
+ ),
+ backgroundColor: Color.fromRGBO(255, 255, 255, 1),
+ iconTheme: IconThemeData(color: Colors.black),
+ ),
+ body: Column(
+ children: [
+ Expanded(
+ child: body(),
+ ),
+ ],
+ ));
+ }
+
+ List listBody() {
+ final formatter = new NumberFormat("#,###", "pt_BR");
+ var list = new List();
+ list.add(Row(
+ mainAxisAlignment: MainAxisAlignment.spaceAround,
+ children: [
+ cardInfo(
+ tipo: "Casos",
+ valor: widget.paisData.confirmed,
+ icon: Icons.all_inclusive),
+ cardInfo(
+ tipo: "Mortes",
+ valor: widget.paisData.deaths,
+ icon: Icons.airline_seat_flat_angled),
+ ],
+ ));
+ list.add(Row(
+ mainAxisAlignment: MainAxisAlignment.spaceAround,
+ children: [
+ cardInfo(
+ tipo: "Ativos", valor: widget.paisData.cases, icon: Icons.check),
+ cardInfo(
+ tipo: "Curados",
+ valor: widget.paisData.recovered,
+ icon: Icons.local_hospital),
+ ],
+ ));
+
+ if (dadosPorEstado.data != null) {
+ for (var i = 0; i < dadosPorEstado.data.length; i++) {
+ list.add(GestureDetector(
+ onTap: () {
+ Navigator.push(
+ context,
+ MaterialPageRoute(
+ builder: (context) => PageDetailUF(
+ estadoData: dadosPorEstado.data[i],
+ )),
+ );
+ },
+ child: ListTile(
+ leading: Image.network(
+ "https://devarthurribeiro.github.io/covid19-brazil-api/static/flags/" +
+ dadosPorEstado.data[i].uf +
+ ".png"),
+ title: Text(dadosPorEstado.data[i].state),
+ trailing: Wrap(
+ spacing: 12, // space between two icons
+ children: [
+ Icon(Icons.navigate_next),
+ ],
+ ),
+ subtitle: Text(
+ "Casos: " + formatter.format(dadosPorEstado.data[i].cases)),
+ ),
+ ));
+ }
+ }
+ return list;
+ }
+
+ Widget body() {
+ if (dadosPorEstado.data != null ||
+ (dadosPorEstado.data == null && widget.paisData.name != "Brazil")) {
+ return ListView(children: listBody());
+ }
+ return Center(
+ child: Container(
+ width: MediaQuery.of(context).size.width,
+ height: MediaQuery.of(context).size.height,
+ color: Colors.black87,
+ child: Column(
+ mainAxisAlignment: MainAxisAlignment.center,
+ children: [
+ CircularProgressIndicator(),
+ SizedBox(
+ height: 10,
+ ),
+ Text(
+ "Carregando...",
+ style: TextStyle(color: Colors.white),
+ )
+ ],
+ ),
+ ));
+ }
+
+ Widget cardInfo({String tipo, int valor, IconData icon}) {
+ final formatter = new NumberFormat("#,###", "pt_BR");
+ return Card(
+ child: new Container(
+ width: MediaQuery.of(context).size.width / 2.1,
+ height: 80,
+ //padding: new EdgeInsets.all(32.0),
+ child: Row(
+ mainAxisAlignment: MainAxisAlignment.spaceEvenly,
+ children: [
+ Icon(
+ icon,
+ size: 45,
+ ),
+ new Column(
+ mainAxisAlignment: MainAxisAlignment.spaceEvenly,
+ children: [
+ new Text(tipo),
+ new Text(formatter.format(valor))
+ ],
+ ),
+ ],
+ )),
+ );
+ }
+}
diff --git a/lib/pages/pageDetailUF.dart b/lib/pages/pageDetailUF.dart
new file mode 100644
index 0000000..138ad1e
--- /dev/null
+++ b/lib/pages/pageDetailUF.dart
@@ -0,0 +1,172 @@
+import 'dart:convert';
+
+import 'package:corona_tracker/api/apiGetDadosCovid.dart';
+import 'package:corona_tracker/model/modelDadosPPais.dart';
+import 'package:flutter/material.dart';
+import 'package:intl/intl.dart';
+
+class PageDetailUF extends StatefulWidget {
+ final DadosPorEstado estadoData;
+
+ PageDetailUF({this.estadoData});
+ @override
+ _PageDetailUFState createState() => _PageDetailUFState();
+}
+
+class _PageDetailUFState extends State {
+ DadosPorCidadeData dadosPorEstado = new DadosPorCidadeData();
+
+ @override
+ void initState() {
+ GetDadosCovid.fetchDadosEstado(uf: widget.estadoData.uf).then((value) {
+ dadosPorEstado = value;
+ setState(() {});
+ });
+ super.initState();
+ }
+
+ @override
+ Widget build(BuildContext context) {
+ return Scaffold(
+ appBar: AppBar(
+ title: Row(
+ children: [
+ Image.network(
+ "https://devarthurribeiro.github.io/covid19-brazil-api/static/flags/" +
+ widget.estadoData.uf +
+ ".png"),
+ SizedBox(
+ width: 25,
+ ),
+ Text(
+ widget.estadoData.state,
+ style: TextStyle(color: Colors.black),
+ ),
+ ],
+ ),
+ backgroundColor: Color.fromRGBO(255, 255, 255, 1),
+ iconTheme: IconThemeData(color: Colors.black),
+ ),
+ body: Column(
+ children: [
+ Expanded(
+ child: body(),
+ ),
+ ],
+ ));
+ }
+
+ List listBody() {
+ final formatter = new NumberFormat("#,###", "pt_BR");
+ var list = new List();
+
+ /*list.add(Container(
+ padding: EdgeInsets.all(8),
+ child: Container(
+ padding: EdgeInsets.all(8),
+ decoration: BoxDecoration(
+ border: Border.all(),
+ color: Color.fromRGBO(152, 181, 235, 1),
+ borderRadius: BorderRadius.all(
+ Radius.circular(5.0) // <--- border radius here
+ ),
+ ),
+ child: Row(
+ children: [
+ SizedBox(
+ width: 5,
+ ),
+ Icon(Icons.info),
+ SizedBox(
+ width: 10,
+ ),
+ Flexible(
+ child: Text(
+ "Devido ao tempo de atualização dos dados os numeros de casos por cidade pode variar com o total do estado."),
+ )
+ ],
+ )),
+ ));*/
+
+ list.add(Row(
+ mainAxisAlignment: MainAxisAlignment.spaceAround,
+ children: [
+ cardInfo(
+ tipo: "Casos",
+ valor: widget.estadoData.cases,
+ icon: Icons.all_inclusive),
+ cardInfo(
+ tipo: "Mortes",
+ valor: widget.estadoData.deaths,
+ icon: Icons.airline_seat_flat_angled),
+ ],
+ ));
+
+ if (dadosPorEstado.data != null) {
+ for (var i = 0; i < dadosPorEstado.data.length; i++) {
+ list.add(GestureDetector(
+ child: ListTile(
+ title:
+ Text(utf8.decode(dadosPorEstado.data[i].city.runes.toList())),
+ subtitle: Text("Casos: " +
+ formatter.format(dadosPorEstado.data[i].confirmed) +
+ " - Mortes: " +
+ formatter.format(dadosPorEstado.data[i].deaths)),
+ ),
+ ));
+ }
+ }
+ return list;
+ }
+
+ Widget body() {
+ if (dadosPorEstado.data != null) {
+ return ListView(children: listBody());
+ }
+ return Center(
+ child: Container(
+ width: MediaQuery.of(context).size.width,
+ height: MediaQuery.of(context).size.height,
+ color: Colors.black87,
+ child: Column(
+ mainAxisAlignment: MainAxisAlignment.center,
+ children: [
+ CircularProgressIndicator(),
+ SizedBox(
+ height: 10,
+ ),
+ Text(
+ "Carregando...",
+ style: TextStyle(color: Colors.white),
+ )
+ ],
+ ),
+ ));
+ }
+
+ Widget cardInfo({String tipo, int valor, IconData icon}) {
+ final formatter = new NumberFormat("#,###", "pt_BR");
+ return Card(
+ child: new Container(
+ width: MediaQuery.of(context).size.width / 2.1,
+ height: 80,
+ //padding: new EdgeInsets.all(32.0),
+ child: Row(
+ mainAxisAlignment: MainAxisAlignment.spaceEvenly,
+ children: [
+ Icon(
+ icon,
+ size: 45,
+ ),
+ new Column(
+ mainAxisAlignment: MainAxisAlignment.spaceEvenly,
+ children: [
+ new Text(tipo),
+ new Text(formatter.format(valor))
+ ],
+ ),
+ ],
+ )),
+ );
+ }
+}
diff --git a/lib/pages/pageHomePage.dart b/lib/pages/pageHomePage.dart
new file mode 100644
index 0000000..cb4803a
--- /dev/null
+++ b/lib/pages/pageHomePage.dart
@@ -0,0 +1,278 @@
+import 'package:corona_tracker/model/modelDadosPPais.dart';
+import 'package:corona_tracker/pages/pageCasos.dart';
+import 'package:corona_tracker/constants.dart';
+import 'package:flutter/material.dart';
+
+class MyHomePage extends StatefulWidget {
+ MyHomePage({Key key, this.title}) : super(key: key);
+
+ final String title;
+
+ @override
+ _MyHomePageState createState() => _MyHomePageState();
+}
+
+class _MyHomePageState extends State {
+ DadosPorPaisData dadosPorPais = new DadosPorPaisData();
+
+ @override
+ void initState() {
+ super.initState();
+ }
+
+ @override
+ Widget build(BuildContext context) {
+ final controller = ScrollController();
+
+ return Scaffold(
+ //drawer: NavDrawer(),
+ // appBar: AppBar(
+ // title: Text(widget.title),
+ // backgroundColor: Color.fromRGBO(255, 219, 0, 1),
+ // ),
+ // Expanded(
+ // child: body(),
+ // )
+ body: Transform.scale(
+ scale: 1,
+ child: SafeArea(
+ child: Column(
+ crossAxisAlignment: CrossAxisAlignment.center,
+ mainAxisAlignment: MainAxisAlignment.center,
+ children: [
+ SingleChildScrollView(
+ controller: controller,
+ child: Column(
+ crossAxisAlignment: CrossAxisAlignment.center,
+ children: [
+ Padding(
+ padding: EdgeInsets.symmetric(horizontal: 20),
+ child: Column(
+ crossAxisAlignment: CrossAxisAlignment.start,
+ children: [
+ SizedBox(height: 5),
+ Text(
+ "Sintomas",
+ style: kTitleTextstyle,
+ ),
+ SizedBox(height: 20),
+ SingleChildScrollView(
+ scrollDirection: Axis.horizontal,
+ child: Row(
+ mainAxisAlignment: MainAxisAlignment.spaceBetween,
+ children: [
+ SymptomCard(
+ image: "assets/images/sad.png",
+ title: "Dor de Cabeça",
+ isActive: true,
+ ),
+ SymptomCard(
+ image: "assets/images/cough.png",
+ title: "Tosse",
+ ),
+ SymptomCard(
+ image: "assets/images/fever.png",
+ title: "Febre",
+ ),
+ SymptomCard(
+ image: "assets/images/garganta.png",
+ title: "Dor de garganta",
+ ),
+ SymptomCard(
+ image: "assets/images/conjutivite.png",
+ title: "Conjuntivite",
+ ),
+ ],
+ ),
+ ),
+ SizedBox(height: 20),
+ Text("Prevenção", style: kTitleTextstyle),
+ SizedBox(height: 20),
+ Container(
+ height: (MediaQuery.of(context).size.height * 156) /
+ 737.45 *
+ 2.2,
+ child: ListView(
+ children: [
+ PreventCard(
+ text:
+ "Para a segurança de todos, fique em casa",
+ image: "assets/images/house.png",
+ title: "Fique em casa",
+ ),
+ PreventCard(
+ text:
+ "Desde o início do surto de coronavírus, alguns lugares adotaram completamente o uso de máscaras faciais",
+ image: "assets/images/patient.png",
+ title: "Usar máscara facial",
+ ),
+ PreventCard(
+ text:
+ "Este é o principal meio de combate ao coronavírus",
+ image: "assets/images/washing-hands.png",
+ title: "Lave suas mãos",
+ ),
+ ],
+ ),
+ ),
+ SizedBox(height: 25),
+ Center(
+ child: FlatButton(
+ shape: RoundedRectangleBorder(
+ borderRadius: BorderRadius.circular(18.0),
+ side: BorderSide(color: Colors.red)),
+ color: Colors.white,
+ textColor: Colors.red,
+ padding: EdgeInsets.all(8.0),
+ onPressed: () {
+ Navigator.push(
+ context,
+ MaterialPageRoute(
+ builder: (context) => CasosPage()),
+ );
+ },
+ child: Text(
+ " Acompanhar Casos ".toUpperCase(),
+ style: TextStyle(
+ fontSize: 20.0,
+ ),
+ ),
+ ),
+ )
+ ],
+ ),
+ ),
+ ],
+ ),
+ ),
+ ],
+ ),
+ ),
+ ));
+ }
+}
+
+class PreventCard extends StatelessWidget {
+ final String image;
+ final String title;
+ final String text;
+ const PreventCard({
+ Key key,
+ this.image,
+ this.title,
+ this.text,
+ }) : super(key: key);
+
+ @override
+ Widget build(BuildContext context) {
+ return Padding(
+ padding: const EdgeInsets.only(bottom: 10),
+ child: SizedBox(
+ height: (MediaQuery.of(context).size.height * 156) / 737.45,
+ child: Stack(
+ alignment: Alignment.centerLeft,
+ children: [
+ Container(
+ height: (MediaQuery.of(context).size.height * 136) / 737.45,
+ width: double.infinity,
+ decoration: BoxDecoration(
+ borderRadius: BorderRadius.circular(20),
+ color: Colors.white,
+ boxShadow: [
+ BoxShadow(
+ offset: Offset(0, 8),
+ blurRadius: 24,
+ color: kShadowColor,
+ ),
+ ],
+ ),
+ ),
+ Image.asset(image),
+ Positioned(
+ left: 130,
+ child: Container(
+ padding: EdgeInsets.symmetric(horizontal: 25, vertical: 20),
+ height: 150,
+ width: MediaQuery.of(context).size.width - 140,
+ child: Column(
+ crossAxisAlignment: CrossAxisAlignment.start,
+ mainAxisAlignment: MainAxisAlignment.spaceEvenly,
+ children: [
+ Center(
+ child: Text(
+ title,
+ style: kTitleTextstyle.copyWith(
+ fontSize: 16,
+ ),
+ ),
+ ),
+ Center(
+ child: Text(
+ text,
+ maxLines: 4,
+ overflow: TextOverflow.ellipsis,
+ style: TextStyle(
+ fontSize: 12,
+ ),
+ ),
+ )
+ // Align(
+ // alignment: Alignment.topRight,
+ // child: SvgPicture.asset("assets/icons/forward.svg"),
+ // ),
+ ],
+ ),
+ ),
+ ),
+ ],
+ ),
+ ),
+ );
+ }
+}
+
+class SymptomCard extends StatelessWidget {
+ final String image;
+ final String title;
+ final bool isActive;
+ const SymptomCard({
+ Key key,
+ this.image,
+ this.title,
+ this.isActive = false,
+ }) : super(key: key);
+
+ @override
+ Widget build(BuildContext context) {
+ return Container(
+ padding: EdgeInsets.all(10),
+ decoration: BoxDecoration(
+ borderRadius: BorderRadius.circular(15),
+ color: Colors.white,
+ boxShadow: [
+ isActive
+ ? BoxShadow(
+ offset: Offset(0, 10),
+ blurRadius: 20,
+ color: kActiveShadowColor,
+ )
+ : BoxShadow(
+ offset: Offset(0, 3),
+ blurRadius: 6,
+ color: kShadowColor,
+ ),
+ ],
+ ),
+ child: Column(
+ children: [
+ Image.asset(image,
+ height: (MediaQuery.of(context).size.height * 90) / 737.45),
+ Text(
+ title,
+ style: TextStyle(fontWeight: FontWeight.bold),
+ ),
+ ],
+ ),
+ );
+ }
+}
diff --git a/lib/pages/pageNavDrawer.dart b/lib/pages/pageNavDrawer.dart
new file mode 100644
index 0000000..2f1bdef
--- /dev/null
+++ b/lib/pages/pageNavDrawer.dart
@@ -0,0 +1,45 @@
+import 'package:flutter/material.dart';
+
+class NavDrawer extends StatelessWidget {
+ @override
+ Widget build(BuildContext context) {
+ return Drawer(
+ child: ListView(
+ padding: EdgeInsets.zero,
+ children: [
+ DrawerHeader(
+ child: Text(
+ 'Side menu',
+ style: TextStyle(color: Colors.white, fontSize: 25),
+ ),
+ /*decoration: BoxDecoration(
+ color: Colors.green,
+ image: DecorationImage(
+ fit: BoxFit.fill,
+ image: AssetImage('assets/images/cover.jpg'))),*/
+ ),
+ // ListTile(
+ // leading: Icon(Icons.map),
+ // title: Text('Mapa'),
+ // onTap: () => {
+ // Navigator.push(
+ // context,
+ // MaterialPageRoute(builder: (context) => PageMap()),
+ // )
+ // },
+ // ),
+ ListTile(
+ leading: Icon(Icons.border_color),
+ title: Text('Feedback'),
+ onTap: () => {Navigator.of(context).pop()},
+ ),
+ ListTile(
+ leading: Icon(Icons.exit_to_app),
+ title: Text('Sair'),
+ onTap: () => {Navigator.of(context).pop()},
+ ),
+ ],
+ ),
+ );
+ }
+}
diff --git a/lib/pages/widgetHeader.dart b/lib/pages/widgetHeader.dart
new file mode 100644
index 0000000..453c4fa
--- /dev/null
+++ b/lib/pages/widgetHeader.dart
@@ -0,0 +1,107 @@
+import 'package:corona_tracker/constants.dart';
+import 'package:corona_tracker/pages/pageHomePage.dart';
+import 'package:flutter/material.dart';
+import 'package:flutter_svg/flutter_svg.dart';
+
+class MyHeader extends StatefulWidget {
+ final String image;
+ final String textTop;
+ final String textBottom;
+ final double offset;
+ const MyHeader(
+ {Key key, this.image, this.textTop, this.textBottom, this.offset})
+ : super(key: key);
+
+ @override
+ _MyHeaderState createState() => _MyHeaderState();
+}
+
+class _MyHeaderState extends State {
+ @override
+ Widget build(BuildContext context) {
+ return ClipPath(
+ clipper: MyClipper(),
+ child: Container(
+ padding: EdgeInsets.only(left: 40, top: 50, right: 20),
+ height: 350,
+ width: double.infinity,
+ decoration: BoxDecoration(
+ gradient: LinearGradient(
+ begin: Alignment.topRight,
+ end: Alignment.bottomLeft,
+ colors: [
+ Color(0xFF3383CD),
+ Color(0xFF11249F),
+ ],
+ ),
+ image: DecorationImage(
+ image: AssetImage("assets/images/virus.png"),
+ ),
+ ),
+ child: Column(
+ crossAxisAlignment: CrossAxisAlignment.end,
+ children: [
+ GestureDetector(
+ /*onTap: () {
+ Navigator.push(
+ context,
+ MaterialPageRoute(
+ builder: (context) {
+ return InfoScreen();
+ },
+ ),
+ );
+ },*/
+ child: SvgPicture.asset("assets/icons/menu.svg"),
+ ),
+ SizedBox(height: 20),
+ Expanded(
+ child: Stack(
+ children: [
+ Positioned(
+ top: (widget.offset < 0) ? 0 : widget.offset,
+ child: SvgPicture.asset(
+ widget.image,
+ width: 230,
+ fit: BoxFit.fitWidth,
+ alignment: Alignment.topCenter,
+ ),
+ ),
+ Positioned(
+ top: 20 - widget.offset / 2,
+ left: 150,
+ child: Text(
+ "${widget.textTop} \n${widget.textBottom}",
+ style: kHeadingTextStyle.copyWith(
+ color: Colors.white,
+ ),
+ ),
+ ),
+ Container(), // I dont know why it can't work without container
+ ],
+ ),
+ ),
+ ],
+ ),
+ ),
+ );
+ }
+}
+
+class MyClipper extends CustomClipper {
+ @override
+ Path getClip(Size size) {
+ var path = Path();
+ path.lineTo(0, size.height - 80);
+ path.quadraticBezierTo(
+ size.width / 2, size.height, size.width, size.height - 80);
+ path.lineTo(size.width, 0);
+ path.close();
+ return path;
+ }
+
+ @override
+ bool shouldReclip(CustomClipper oldClipper) {
+ return false;
+ }
+}
diff --git a/pubspec.yaml b/pubspec.yaml
new file mode 100644
index 0000000..684c9a1
--- /dev/null
+++ b/pubspec.yaml
@@ -0,0 +1,96 @@
+name: corona_tracker
+description: A new Flutter project.
+
+# The following line prevents the package from being accidentally published to
+# pub.dev using `pub publish`. This is preferred for private packages.
+publish_to: 'none' # Remove this line if you wish to publish to pub.dev
+
+# The following defines the version and build number for your application.
+# A version number is three numbers separated by dots, like 1.2.43
+# followed by an optional build number separated by a +.
+# Both the version and the builder number may be overridden in flutter
+# build by specifying --build-name and --build-number, respectively.
+# In Android, build-name is used as versionName while build-number used as versionCode.
+# Read more about Android versioning at https://developer.android.com/studio/publish/versioning
+# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
+# Read more about iOS versioning at
+# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
+version: 1.1.0+5
+
+environment:
+ sdk: ">=2.7.0 <3.0.0"
+
+dependencies:
+ flutter:
+ sdk: flutter
+
+ # The following adds the Cupertino Icons font to your application.
+ # Use with the CupertinoIcons class for iOS style icons.
+ cupertino_icons: ^0.1.3
+
+ http: 0.12.1
+ intl: ">=0.14.0"
+ fl_chart: ^0.10.0
+ flutter_svg: ^0.17.4
+ responsive_widgets: 2.0.1
+
+dev_dependencies:
+ flutter_test:
+ sdk: flutter
+
+ flutter_launcher_icons: "^0.7.0"
+ flutter_native_splash: ^0.1.4
+
+flutter_icons:
+ ios: true
+ android: true
+ image_path_ios: "assets/virus.png"
+ image_path_android: "assets/virus.png"
+
+flutter_native_splash:
+ image: assets/rKarcApps.png
+ color: "ffffff"
+
+# For information on the generic Dart part of this file, see the
+# following page: https://dart.dev/tools/pub/pubspec
+
+# The following section is specific to Flutter.
+flutter:
+
+ # The following line ensures that the Material Icons font is
+ # included with your application, so that you can use the icons in
+ # the material Icons class.
+ uses-material-design: true
+
+ # To add assets to your application, add an assets section, like this:
+ # assets:
+ # - images/a_dot_burr.jpeg
+ # - images/a_dot_ham.jpeg
+
+ assets:
+ - assets/virus.png
+ - assets/icons/
+ - assets/images/
+
+ # An image asset can refer to one or more resolution-specific "variants", see
+ # https://flutter.dev/assets-and-images/#resolution-aware.
+
+ # For details regarding adding assets from package dependencies, see
+ # https://flutter.dev/assets-and-images/#from-packages
+
+ # To add custom fonts to your application, add a fonts section here,
+ # in this "flutter" section. Each entry in this list should have a
+ # "family" key with the font family name, and a "fonts" key with a
+ # list giving the asset and other descriptors for the font. For
+ # example:
+ fonts:
+ - family: Poppins
+ fonts:
+ - asset: assets/fonts/Poppins/Poppins-Regular.ttf
+ - asset: assets/fonts/Poppins/Poppins-Medium.ttf
+ weight: 600
+ - asset: assets/fonts/Poppins/Poppins-Bold.ttf
+ weight: 700
+ #
+ # For details regarding fonts from package dependencies,
+ # see https://flutter.dev/custom-fonts/#from-packages
diff --git a/test/widget_test.dart b/test/widget_test.dart
new file mode 100644
index 0000000..349f72b
--- /dev/null
+++ b/test/widget_test.dart
@@ -0,0 +1,30 @@
+// This is a basic Flutter widget test.
+//
+// To perform an interaction with a widget in your test, use the WidgetTester
+// utility that Flutter provides. For example, you can send tap and scroll
+// gestures. You can also use WidgetTester to find child widgets in the widget
+// tree, read text, and verify that the values of widget properties are correct.
+
+import 'package:flutter/material.dart';
+import 'package:flutter_test/flutter_test.dart';
+
+import 'package:corona_tracker/main.dart';
+
+void main() {
+ testWidgets('Counter increments smoke test', (WidgetTester tester) async {
+ // Build our app and trigger a frame.
+ await tester.pumpWidget(MyApp());
+
+ // Verify that our counter starts at 0.
+ expect(find.text('0'), findsOneWidget);
+ expect(find.text('1'), findsNothing);
+
+ // Tap the '+' icon and trigger a frame.
+ await tester.tap(find.byIcon(Icons.add));
+ await tester.pump();
+
+ // Verify that our counter has incremented.
+ expect(find.text('0'), findsNothing);
+ expect(find.text('1'), findsOneWidget);
+ });
+}