diff --git a/qualifica_challenge/.gitignore b/qualifica_challenge/.gitignore
new file mode 100644
index 0000000..24476c5
--- /dev/null
+++ b/qualifica_challenge/.gitignore
@@ -0,0 +1,44 @@
+# Miscellaneous
+*.class
+*.log
+*.pyc
+*.swp
+.DS_Store
+.atom/
+.buildlog/
+.history
+.svn/
+migrate_working_dir/
+
+# IntelliJ related
+*.iml
+*.ipr
+*.iws
+.idea/
+
+# The .vscode folder contains launch configuration and tasks you configure in
+# VS Code which you may wish to be included in version control, so this line
+# is commented out by default.
+#.vscode/
+
+# Flutter/Dart/Pub related
+**/doc/api/
+**/ios/Flutter/.last_build_id
+.dart_tool/
+.flutter-plugins
+.flutter-plugins-dependencies
+.packages
+.pub-cache/
+.pub/
+/build/
+
+# Symbolication related
+app.*.symbols
+
+# Obfuscation related
+app.*.map.json
+
+# Android Studio will place build artifacts here
+/android/app/debug
+/android/app/profile
+/android/app/release
diff --git a/qualifica_challenge/.metadata b/qualifica_challenge/.metadata
new file mode 100644
index 0000000..9637226
--- /dev/null
+++ b/qualifica_challenge/.metadata
@@ -0,0 +1,33 @@
+# 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.
+
+version:
+ revision: c07f7888888435fd9df505aa2efc38d3cf65681b
+ channel: stable
+
+project_type: app
+
+# Tracks metadata for the flutter migrate command
+migration:
+ platforms:
+ - platform: root
+ create_revision: c07f7888888435fd9df505aa2efc38d3cf65681b
+ base_revision: c07f7888888435fd9df505aa2efc38d3cf65681b
+ - platform: android
+ create_revision: c07f7888888435fd9df505aa2efc38d3cf65681b
+ base_revision: c07f7888888435fd9df505aa2efc38d3cf65681b
+ - platform: ios
+ create_revision: c07f7888888435fd9df505aa2efc38d3cf65681b
+ base_revision: c07f7888888435fd9df505aa2efc38d3cf65681b
+
+ # User provided section
+
+ # List of Local paths (relative to this file) that should be
+ # ignored by the migrate tool.
+ #
+ # Files that are not part of the templates will be ignored by default.
+ unmanaged_files:
+ - 'lib/main.dart'
+ - 'ios/Runner.xcodeproj/project.pbxproj'
diff --git a/qualifica_challenge/README.md b/qualifica_challenge/README.md
new file mode 100644
index 0000000..9a76da2
--- /dev/null
+++ b/qualifica_challenge/README.md
@@ -0,0 +1,79 @@
+# Desafio front-end da Qualifica
+
+Aplicativo Desafio da Qualifica para o consumo de uma API de Star Wars onde é mostrada uma lista de personagens, espécies, planetas e filmes da saga. Foi utilizado o Fluter para construir esse aplicativo.
+
+
+## Ambiente Flutter
+
+Flutter 3.7.5 • channel stable
+
+Dart 2.19.2 • channel stable
+
+
+## Packages
+
+#### Os packages utilizados foram:
+O [Dio](https://pub.dev/packages/dio) em sua versão mais recente, usado como client HTTP para consumir a API [Star Wars](https://swapi.dev/api).
+
+E o [GetX](https://pub.dev/packages/get) também em sua versão mais recente, usado para gerenciamento de estado e injeção de dependência.
+
+
+## Instalação do projeto
+
+* Clone o projeto.
+
+* Abra o projeto através de sua IDE favorita.
+
+* Digite ou cole no terminal o código abaixo:
+
+```bash
+flutter pub get
+```
+* Após isso, já é possível debugar o projeto.
+
+#### Testes do projeto
+
+É possível rodar os testes de duas formas, através do terminal ou debugando o teste.
+
+#### Testes no terminal
+
+* Abra o terminal do projeto.
+
+* Digite ou cole no terminal o seguinte código:
+
+```bash
+flutter test
+```
+
+#### Testes no debug
+
+* Abra a pasta test do projeto.
+
+* Abra os arquivos com o final ___test.dart__.
+
+* Clique na palavra __Run__ ou __Debug__ acima de cada teste.
+
+* Se o teste passou, aparecerá o símbolo (__✓__) seguido do que é esperado no teste.
+
+
+## Screenshots
+
+
+
+ Home |
+ Details Page |
+ Films Page |
+ Details Films |
+
+
+ |
+ |
+ |
+ |
+
+
+
+
+### Autor
+
+### [Daniel Eliziario](https://www.linkedin.com/in/daniel-eliziario/)
\ No newline at end of file
diff --git a/qualifica_challenge/analysis_options.yaml b/qualifica_challenge/analysis_options.yaml
new file mode 100644
index 0000000..61b6c4d
--- /dev/null
+++ b/qualifica_challenge/analysis_options.yaml
@@ -0,0 +1,29 @@
+# This file configures the analyzer, which statically analyzes Dart code to
+# check for errors, warnings, and lints.
+#
+# The issues identified by the analyzer are surfaced in the UI of Dart-enabled
+# IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be
+# invoked from the command line by running `flutter analyze`.
+
+# The following line activates a set of recommended lints for Flutter apps,
+# packages, and plugins designed to encourage good coding practices.
+include: package:flutter_lints/flutter.yaml
+
+linter:
+ # The lint rules applied to this project can be customized in the
+ # section below to disable rules from the `package:flutter_lints/flutter.yaml`
+ # included above or to enable additional rules. A list of all available lints
+ # and their documentation is published at
+ # https://dart-lang.github.io/linter/lints/index.html.
+ #
+ # Instead of disabling a lint rule for the entire project in the
+ # section below, it can also be suppressed for a single line of code
+ # or a specific dart file by using the `// ignore: name_of_lint` and
+ # `// ignore_for_file: name_of_lint` syntax on the line or in the file
+ # producing the lint.
+ rules:
+ # avoid_print: false # Uncomment to disable the `avoid_print` rule
+ # prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule
+
+# Additional information about this file can be found at
+# https://dart.dev/guides/language/analysis-options
diff --git a/qualifica_challenge/android/.gitignore b/qualifica_challenge/android/.gitignore
new file mode 100644
index 0000000..6f56801
--- /dev/null
+++ b/qualifica_challenge/android/.gitignore
@@ -0,0 +1,13 @@
+gradle-wrapper.jar
+/.gradle
+/captures/
+/gradlew
+/gradlew.bat
+/local.properties
+GeneratedPluginRegistrant.java
+
+# Remember to never publicly share your keystore.
+# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app
+key.properties
+**/*.keystore
+**/*.jks
diff --git a/qualifica_challenge/android/app/build.gradle b/qualifica_challenge/android/app/build.gradle
new file mode 100644
index 0000000..53d216d
--- /dev/null
+++ b/qualifica_challenge/android/app/build.gradle
@@ -0,0 +1,71 @@
+def localProperties = new Properties()
+def localPropertiesFile = rootProject.file('local.properties')
+if (localPropertiesFile.exists()) {
+ localPropertiesFile.withReader('UTF-8') { reader ->
+ localProperties.load(reader)
+ }
+}
+
+def flutterRoot = localProperties.getProperty('flutter.sdk')
+if (flutterRoot == null) {
+ throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
+}
+
+def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
+if (flutterVersionCode == null) {
+ flutterVersionCode = '1'
+}
+
+def flutterVersionName = localProperties.getProperty('flutter.versionName')
+if (flutterVersionName == null) {
+ flutterVersionName = '1.0'
+}
+
+apply plugin: 'com.android.application'
+apply plugin: 'kotlin-android'
+apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
+
+android {
+ compileSdkVersion flutter.compileSdkVersion
+ ndkVersion flutter.ndkVersion
+
+ compileOptions {
+ sourceCompatibility JavaVersion.VERSION_1_8
+ targetCompatibility JavaVersion.VERSION_1_8
+ }
+
+ kotlinOptions {
+ jvmTarget = '1.8'
+ }
+
+ sourceSets {
+ main.java.srcDirs += 'src/main/kotlin'
+ }
+
+ defaultConfig {
+ // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
+ applicationId "br.com.eliziario.qualifica_challenge"
+ // You can update the following values to match your application needs.
+ // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
+ minSdkVersion flutter.minSdkVersion
+ targetSdkVersion flutter.targetSdkVersion
+ versionCode flutterVersionCode.toInteger()
+ versionName flutterVersionName
+ }
+
+ 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.debug
+ }
+ }
+}
+
+flutter {
+ source '../..'
+}
+
+dependencies {
+ implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
+}
diff --git a/qualifica_challenge/android/app/src/debug/AndroidManifest.xml b/qualifica_challenge/android/app/src/debug/AndroidManifest.xml
new file mode 100644
index 0000000..02550fc
--- /dev/null
+++ b/qualifica_challenge/android/app/src/debug/AndroidManifest.xml
@@ -0,0 +1,8 @@
+
+
+
+
diff --git a/qualifica_challenge/android/app/src/main/AndroidManifest.xml b/qualifica_challenge/android/app/src/main/AndroidManifest.xml
new file mode 100644
index 0000000..bd87d28
--- /dev/null
+++ b/qualifica_challenge/android/app/src/main/AndroidManifest.xml
@@ -0,0 +1,34 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/qualifica_challenge/android/app/src/main/kotlin/br/com/eliziario/qualifica_challenge/MainActivity.kt b/qualifica_challenge/android/app/src/main/kotlin/br/com/eliziario/qualifica_challenge/MainActivity.kt
new file mode 100644
index 0000000..64f3fae
--- /dev/null
+++ b/qualifica_challenge/android/app/src/main/kotlin/br/com/eliziario/qualifica_challenge/MainActivity.kt
@@ -0,0 +1,6 @@
+package br.com.eliziario.qualifica_challenge
+
+import io.flutter.embedding.android.FlutterActivity
+
+class MainActivity: FlutterActivity() {
+}
diff --git a/qualifica_challenge/android/app/src/main/res/drawable-v21/launch_background.xml b/qualifica_challenge/android/app/src/main/res/drawable-v21/launch_background.xml
new file mode 100644
index 0000000..f74085f
--- /dev/null
+++ b/qualifica_challenge/android/app/src/main/res/drawable-v21/launch_background.xml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
diff --git a/qualifica_challenge/android/app/src/main/res/drawable/launch_background.xml b/qualifica_challenge/android/app/src/main/res/drawable/launch_background.xml
new file mode 100644
index 0000000..304732f
--- /dev/null
+++ b/qualifica_challenge/android/app/src/main/res/drawable/launch_background.xml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
diff --git a/qualifica_challenge/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/qualifica_challenge/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
new file mode 100644
index 0000000..db77bb4
Binary files /dev/null and b/qualifica_challenge/android/app/src/main/res/mipmap-hdpi/ic_launcher.png differ
diff --git a/qualifica_challenge/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/qualifica_challenge/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
new file mode 100644
index 0000000..17987b7
Binary files /dev/null and b/qualifica_challenge/android/app/src/main/res/mipmap-mdpi/ic_launcher.png differ
diff --git a/qualifica_challenge/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/qualifica_challenge/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
new file mode 100644
index 0000000..09d4391
Binary files /dev/null and b/qualifica_challenge/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ
diff --git a/qualifica_challenge/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/qualifica_challenge/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
new file mode 100644
index 0000000..d5f1c8d
Binary files /dev/null and b/qualifica_challenge/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ
diff --git a/qualifica_challenge/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/qualifica_challenge/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
new file mode 100644
index 0000000..4d6372e
Binary files /dev/null and b/qualifica_challenge/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ
diff --git a/qualifica_challenge/android/app/src/main/res/values-night/styles.xml b/qualifica_challenge/android/app/src/main/res/values-night/styles.xml
new file mode 100644
index 0000000..06952be
--- /dev/null
+++ b/qualifica_challenge/android/app/src/main/res/values-night/styles.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
diff --git a/qualifica_challenge/android/app/src/main/res/values/styles.xml b/qualifica_challenge/android/app/src/main/res/values/styles.xml
new file mode 100644
index 0000000..cb1ef88
--- /dev/null
+++ b/qualifica_challenge/android/app/src/main/res/values/styles.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
diff --git a/qualifica_challenge/android/app/src/profile/AndroidManifest.xml b/qualifica_challenge/android/app/src/profile/AndroidManifest.xml
new file mode 100644
index 0000000..02550fc
--- /dev/null
+++ b/qualifica_challenge/android/app/src/profile/AndroidManifest.xml
@@ -0,0 +1,8 @@
+
+
+
+
diff --git a/qualifica_challenge/android/build.gradle b/qualifica_challenge/android/build.gradle
new file mode 100644
index 0000000..58a8c74
--- /dev/null
+++ b/qualifica_challenge/android/build.gradle
@@ -0,0 +1,31 @@
+buildscript {
+ ext.kotlin_version = '1.7.10'
+ repositories {
+ google()
+ mavenCentral()
+ }
+
+ dependencies {
+ classpath 'com.android.tools.build:gradle:7.2.0'
+ classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
+ }
+}
+
+allprojects {
+ repositories {
+ google()
+ mavenCentral()
+ }
+}
+
+rootProject.buildDir = '../build'
+subprojects {
+ project.buildDir = "${rootProject.buildDir}/${project.name}"
+}
+subprojects {
+ project.evaluationDependsOn(':app')
+}
+
+task clean(type: Delete) {
+ delete rootProject.buildDir
+}
diff --git a/qualifica_challenge/android/gradle.properties b/qualifica_challenge/android/gradle.properties
new file mode 100644
index 0000000..94adc3a
--- /dev/null
+++ b/qualifica_challenge/android/gradle.properties
@@ -0,0 +1,3 @@
+org.gradle.jvmargs=-Xmx1536M
+android.useAndroidX=true
+android.enableJetifier=true
diff --git a/qualifica_challenge/android/gradle/wrapper/gradle-wrapper.properties b/qualifica_challenge/android/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..3c472b9
--- /dev/null
+++ b/qualifica_challenge/android/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,5 @@
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip
diff --git a/qualifica_challenge/android/settings.gradle b/qualifica_challenge/android/settings.gradle
new file mode 100644
index 0000000..44e62bc
--- /dev/null
+++ b/qualifica_challenge/android/settings.gradle
@@ -0,0 +1,11 @@
+include ':app'
+
+def localPropertiesFile = new File(rootProject.projectDir, "local.properties")
+def properties = new Properties()
+
+assert localPropertiesFile.exists()
+localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) }
+
+def flutterSdkPath = properties.getProperty("flutter.sdk")
+assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
+apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle"
diff --git a/qualifica_challenge/assets/images/atack_clone.jpg b/qualifica_challenge/assets/images/atack_clone.jpg
new file mode 100644
index 0000000..d3916b6
Binary files /dev/null and b/qualifica_challenge/assets/images/atack_clone.jpg differ
diff --git a/qualifica_challenge/assets/images/empire_strikes.jpg b/qualifica_challenge/assets/images/empire_strikes.jpg
new file mode 100644
index 0000000..0a8a450
Binary files /dev/null and b/qualifica_challenge/assets/images/empire_strikes.jpg differ
diff --git a/qualifica_challenge/assets/images/new_hope.jpg b/qualifica_challenge/assets/images/new_hope.jpg
new file mode 100644
index 0000000..333e616
Binary files /dev/null and b/qualifica_challenge/assets/images/new_hope.jpg differ
diff --git a/qualifica_challenge/assets/images/phantom_menace.jpg b/qualifica_challenge/assets/images/phantom_menace.jpg
new file mode 100644
index 0000000..fb4c1cc
Binary files /dev/null and b/qualifica_challenge/assets/images/phantom_menace.jpg differ
diff --git a/qualifica_challenge/assets/images/return_jedi.jpg b/qualifica_challenge/assets/images/return_jedi.jpg
new file mode 100644
index 0000000..9701be9
Binary files /dev/null and b/qualifica_challenge/assets/images/return_jedi.jpg differ
diff --git a/qualifica_challenge/assets/images/revenge_sith.jpg b/qualifica_challenge/assets/images/revenge_sith.jpg
new file mode 100644
index 0000000..d03f535
Binary files /dev/null and b/qualifica_challenge/assets/images/revenge_sith.jpg differ
diff --git a/qualifica_challenge/assets/screenshots/details.png b/qualifica_challenge/assets/screenshots/details.png
new file mode 100644
index 0000000..d0a488e
Binary files /dev/null and b/qualifica_challenge/assets/screenshots/details.png differ
diff --git a/qualifica_challenge/assets/screenshots/details_films.png b/qualifica_challenge/assets/screenshots/details_films.png
new file mode 100644
index 0000000..8244540
Binary files /dev/null and b/qualifica_challenge/assets/screenshots/details_films.png differ
diff --git a/qualifica_challenge/assets/screenshots/films_catalog.png b/qualifica_challenge/assets/screenshots/films_catalog.png
new file mode 100644
index 0000000..12bfb2b
Binary files /dev/null and b/qualifica_challenge/assets/screenshots/films_catalog.png differ
diff --git a/qualifica_challenge/assets/screenshots/home.png b/qualifica_challenge/assets/screenshots/home.png
new file mode 100644
index 0000000..64db6ca
Binary files /dev/null and b/qualifica_challenge/assets/screenshots/home.png differ
diff --git a/qualifica_challenge/ios/.gitignore b/qualifica_challenge/ios/.gitignore
new file mode 100644
index 0000000..7a7f987
--- /dev/null
+++ b/qualifica_challenge/ios/.gitignore
@@ -0,0 +1,34 @@
+**/dgph
+*.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/ephemeral/
+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/qualifica_challenge/ios/Flutter/AppFrameworkInfo.plist b/qualifica_challenge/ios/Flutter/AppFrameworkInfo.plist
new file mode 100644
index 0000000..9625e10
--- /dev/null
+++ b/qualifica_challenge/ios/Flutter/AppFrameworkInfo.plist
@@ -0,0 +1,26 @@
+
+
+
+
+ CFBundleDevelopmentRegion
+ en
+ CFBundleExecutable
+ App
+ CFBundleIdentifier
+ io.flutter.flutter.app
+ CFBundleInfoDictionaryVersion
+ 6.0
+ CFBundleName
+ App
+ CFBundlePackageType
+ FMWK
+ CFBundleShortVersionString
+ 1.0
+ CFBundleSignature
+ ????
+ CFBundleVersion
+ 1.0
+ MinimumOSVersion
+ 11.0
+
+
diff --git a/qualifica_challenge/ios/Flutter/Debug.xcconfig b/qualifica_challenge/ios/Flutter/Debug.xcconfig
new file mode 100644
index 0000000..592ceee
--- /dev/null
+++ b/qualifica_challenge/ios/Flutter/Debug.xcconfig
@@ -0,0 +1 @@
+#include "Generated.xcconfig"
diff --git a/qualifica_challenge/ios/Flutter/Release.xcconfig b/qualifica_challenge/ios/Flutter/Release.xcconfig
new file mode 100644
index 0000000..592ceee
--- /dev/null
+++ b/qualifica_challenge/ios/Flutter/Release.xcconfig
@@ -0,0 +1 @@
+#include "Generated.xcconfig"
diff --git a/qualifica_challenge/ios/Runner.xcodeproj/project.pbxproj b/qualifica_challenge/ios/Runner.xcodeproj/project.pbxproj
new file mode 100644
index 0000000..a59a18c
--- /dev/null
+++ b/qualifica_challenge/ios/Runner.xcodeproj/project.pbxproj
@@ -0,0 +1,483 @@
+// !$*UTF8*$!
+{
+ archiveVersion = 1;
+ classes = {
+ };
+ objectVersion = 54;
+ objects = {
+
+/* Begin PBXBuildFile section */
+ 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };
+ 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
+ 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; };
+ 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
+ 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
+ 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXCopyFilesBuildPhase section */
+ 9705A1C41CF9048500538489 /* Embed Frameworks */ = {
+ isa = PBXCopyFilesBuildPhase;
+ buildActionMask = 2147483647;
+ dstPath = "";
+ dstSubfolderSpec = 10;
+ files = (
+ );
+ name = "Embed Frameworks";
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXCopyFilesBuildPhase section */
+
+/* Begin PBXFileReference section */
+ 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; };
+ 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; };
+ 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; };
+ 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; };
+ 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
+ 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; };
+ 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; };
+ 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; };
+ 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; };
+ 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
+ 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
+ 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; };
+ 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+ 97C146EB1CF9000F007C117D /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+ 9740EEB11CF90186004384FC /* Flutter */ = {
+ isa = PBXGroup;
+ children = (
+ 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */,
+ 9740EEB21CF90195004384FC /* Debug.xcconfig */,
+ 7AFA3C8E1D35360C0083082E /* Release.xcconfig */,
+ 9740EEB31CF90195004384FC /* Generated.xcconfig */,
+ );
+ name = Flutter;
+ sourceTree = "";
+ };
+ 97C146E51CF9000F007C117D = {
+ isa = PBXGroup;
+ children = (
+ 9740EEB11CF90186004384FC /* Flutter */,
+ 97C146F01CF9000F007C117D /* Runner */,
+ 97C146EF1CF9000F007C117D /* Products */,
+ );
+ sourceTree = "";
+ };
+ 97C146EF1CF9000F007C117D /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ 97C146EE1CF9000F007C117D /* Runner.app */,
+ );
+ name = Products;
+ sourceTree = "";
+ };
+ 97C146F01CF9000F007C117D /* Runner */ = {
+ isa = PBXGroup;
+ children = (
+ 97C146FA1CF9000F007C117D /* Main.storyboard */,
+ 97C146FD1CF9000F007C117D /* Assets.xcassets */,
+ 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */,
+ 97C147021CF9000F007C117D /* Info.plist */,
+ 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */,
+ 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */,
+ 74858FAE1ED2DC5600515810 /* AppDelegate.swift */,
+ 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */,
+ );
+ path = Runner;
+ sourceTree = "";
+ };
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+ 97C146ED1CF9000F007C117D /* Runner */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
+ buildPhases = (
+ 9740EEB61CF901F6004384FC /* Run Script */,
+ 97C146EA1CF9000F007C117D /* Sources */,
+ 97C146EB1CF9000F007C117D /* Frameworks */,
+ 97C146EC1CF9000F007C117D /* Resources */,
+ 9705A1C41CF9048500538489 /* Embed Frameworks */,
+ 3B06AD1E1E4923F5004D2608 /* Thin Binary */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ );
+ name = Runner;
+ productName = Runner;
+ productReference = 97C146EE1CF9000F007C117D /* Runner.app */;
+ productType = "com.apple.product-type.application";
+ };
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+ 97C146E61CF9000F007C117D /* Project object */ = {
+ isa = PBXProject;
+ attributes = {
+ LastUpgradeCheck = 1300;
+ 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;
+ alwaysOutOfDate = 1;
+ 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;
+ alwaysOutOfDate = 1;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ );
+ name = "Run Script";
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
+ };
+/* End PBXShellScriptBuildPhase section */
+
+/* Begin PBXSourcesBuildPhase section */
+ 97C146EA1CF9000F007C117D /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */,
+ 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXSourcesBuildPhase section */
+
+/* Begin PBXVariantGroup section */
+ 97C146FA1CF9000F007C117D /* Main.storyboard */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 97C146FB1CF9000F007C117D /* Base */,
+ );
+ name = Main.storyboard;
+ sourceTree = "";
+ };
+ 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 97C147001CF9000F007C117D /* Base */,
+ );
+ name = LaunchScreen.storyboard;
+ sourceTree = "";
+ };
+/* End PBXVariantGroup section */
+
+/* Begin XCBuildConfiguration section */
+ 249021D3217E4FDB00AE95B9 /* Profile */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ CLANG_ANALYZER_NONNULL = YES;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_MODULES = YES;
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
+ CLANG_WARN_BOOL_CONVERSION = YES;
+ CLANG_WARN_COMMA = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INFINITE_RECURSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
+ CLANG_WARN_UNREACHABLE_CODE = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ COPY_PHASE_STRIP = NO;
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+ ENABLE_NS_ASSERTIONS = NO;
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_NO_COMMON_BLOCKS = YES;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 11.0;
+ MTL_ENABLE_DEBUG_INFO = NO;
+ SDKROOT = iphoneos;
+ SUPPORTED_PLATFORMS = iphoneos;
+ TARGETED_DEVICE_FAMILY = "1,2";
+ VALIDATE_PRODUCT = YES;
+ };
+ name = Profile;
+ };
+ 249021D4217E4FDB00AE95B9 /* Profile */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ CLANG_ENABLE_MODULES = YES;
+ CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
+ ENABLE_BITCODE = NO;
+ INFOPLIST_FILE = Runner/Info.plist;
+ LD_RUNPATH_SEARCH_PATHS = (
+ "$(inherited)",
+ "@executable_path/Frameworks",
+ );
+ PRODUCT_BUNDLE_IDENTIFIER = br.com.eliziario.qualificaChallenge;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
+ SWIFT_VERSION = 5.0;
+ VERSIONING_SYSTEM = "apple-generic";
+ };
+ name = Profile;
+ };
+ 97C147031CF9000F007C117D /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ CLANG_ANALYZER_NONNULL = YES;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_MODULES = YES;
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
+ CLANG_WARN_BOOL_CONVERSION = YES;
+ CLANG_WARN_COMMA = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INFINITE_RECURSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
+ CLANG_WARN_UNREACHABLE_CODE = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ COPY_PHASE_STRIP = NO;
+ DEBUG_INFORMATION_FORMAT = dwarf;
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
+ ENABLE_TESTABILITY = YES;
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_NO_COMMON_BLOCKS = YES;
+ GCC_OPTIMIZATION_LEVEL = 0;
+ GCC_PREPROCESSOR_DEFINITIONS = (
+ "DEBUG=1",
+ "$(inherited)",
+ );
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 11.0;
+ MTL_ENABLE_DEBUG_INFO = YES;
+ ONLY_ACTIVE_ARCH = YES;
+ SDKROOT = iphoneos;
+ TARGETED_DEVICE_FAMILY = "1,2";
+ };
+ name = Debug;
+ };
+ 97C147041CF9000F007C117D /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ CLANG_ANALYZER_NONNULL = YES;
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+ CLANG_CXX_LIBRARY = "libc++";
+ CLANG_ENABLE_MODULES = YES;
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
+ CLANG_WARN_BOOL_CONVERSION = YES;
+ CLANG_WARN_COMMA = YES;
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_EMPTY_BODY = YES;
+ CLANG_WARN_ENUM_CONVERSION = YES;
+ CLANG_WARN_INFINITE_RECURSION = YES;
+ CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
+ CLANG_WARN_UNREACHABLE_CODE = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ COPY_PHASE_STRIP = NO;
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+ ENABLE_NS_ASSERTIONS = NO;
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_NO_COMMON_BLOCKS = YES;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 11.0;
+ MTL_ENABLE_DEBUG_INFO = NO;
+ SDKROOT = iphoneos;
+ SUPPORTED_PLATFORMS = iphoneos;
+ SWIFT_COMPILATION_MODE = wholemodule;
+ SWIFT_OPTIMIZATION_LEVEL = "-O";
+ TARGETED_DEVICE_FAMILY = "1,2";
+ VALIDATE_PRODUCT = YES;
+ };
+ name = Release;
+ };
+ 97C147061CF9000F007C117D /* Debug */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ CLANG_ENABLE_MODULES = YES;
+ CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
+ ENABLE_BITCODE = NO;
+ INFOPLIST_FILE = Runner/Info.plist;
+ LD_RUNPATH_SEARCH_PATHS = (
+ "$(inherited)",
+ "@executable_path/Frameworks",
+ );
+ PRODUCT_BUNDLE_IDENTIFIER = br.com.eliziario.qualificaChallenge;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
+ SWIFT_OPTIMIZATION_LEVEL = "-Onone";
+ SWIFT_VERSION = 5.0;
+ VERSIONING_SYSTEM = "apple-generic";
+ };
+ name = Debug;
+ };
+ 97C147071CF9000F007C117D /* Release */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ CLANG_ENABLE_MODULES = YES;
+ CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
+ ENABLE_BITCODE = NO;
+ INFOPLIST_FILE = Runner/Info.plist;
+ LD_RUNPATH_SEARCH_PATHS = (
+ "$(inherited)",
+ "@executable_path/Frameworks",
+ );
+ PRODUCT_BUNDLE_IDENTIFIER = br.com.eliziario.qualificaChallenge;
+ 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/qualifica_challenge/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/qualifica_challenge/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata
new file mode 100644
index 0000000..919434a
--- /dev/null
+++ b/qualifica_challenge/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata
@@ -0,0 +1,7 @@
+
+
+
+
+
diff --git a/qualifica_challenge/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/qualifica_challenge/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
new file mode 100644
index 0000000..18d9810
--- /dev/null
+++ b/qualifica_challenge/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
@@ -0,0 +1,8 @@
+
+
+
+
+ IDEDidComputeMac32BitWarning
+
+
+
diff --git a/qualifica_challenge/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/qualifica_challenge/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
new file mode 100644
index 0000000..f9b0d7c
--- /dev/null
+++ b/qualifica_challenge/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
@@ -0,0 +1,8 @@
+
+
+
+
+ PreviewsEnabled
+
+
+
diff --git a/qualifica_challenge/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/qualifica_challenge/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
new file mode 100644
index 0000000..c87d15a
--- /dev/null
+++ b/qualifica_challenge/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
@@ -0,0 +1,87 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/qualifica_challenge/ios/Runner.xcworkspace/contents.xcworkspacedata b/qualifica_challenge/ios/Runner.xcworkspace/contents.xcworkspacedata
new file mode 100644
index 0000000..1d526a1
--- /dev/null
+++ b/qualifica_challenge/ios/Runner.xcworkspace/contents.xcworkspacedata
@@ -0,0 +1,7 @@
+
+
+
+
+
diff --git a/qualifica_challenge/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/qualifica_challenge/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
new file mode 100644
index 0000000..18d9810
--- /dev/null
+++ b/qualifica_challenge/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
@@ -0,0 +1,8 @@
+
+
+
+
+ IDEDidComputeMac32BitWarning
+
+
+
diff --git a/qualifica_challenge/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/qualifica_challenge/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
new file mode 100644
index 0000000..f9b0d7c
--- /dev/null
+++ b/qualifica_challenge/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
@@ -0,0 +1,8 @@
+
+
+
+
+ PreviewsEnabled
+
+
+
diff --git a/qualifica_challenge/ios/Runner/AppDelegate.swift b/qualifica_challenge/ios/Runner/AppDelegate.swift
new file mode 100644
index 0000000..70693e4
--- /dev/null
+++ b/qualifica_challenge/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/qualifica_challenge/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/qualifica_challenge/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
new file mode 100644
index 0000000..d36b1fa
--- /dev/null
+++ b/qualifica_challenge/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/qualifica_challenge/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png b/qualifica_challenge/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png
new file mode 100644
index 0000000..dc9ada4
Binary files /dev/null and b/qualifica_challenge/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png differ
diff --git a/qualifica_challenge/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png b/qualifica_challenge/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png
new file mode 100644
index 0000000..7353c41
Binary files /dev/null and b/qualifica_challenge/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png differ
diff --git a/qualifica_challenge/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png b/qualifica_challenge/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png
new file mode 100644
index 0000000..797d452
Binary files /dev/null and b/qualifica_challenge/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png differ
diff --git a/qualifica_challenge/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png b/qualifica_challenge/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png
new file mode 100644
index 0000000..6ed2d93
Binary files /dev/null and b/qualifica_challenge/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png differ
diff --git a/qualifica_challenge/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png b/qualifica_challenge/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png
new file mode 100644
index 0000000..4cd7b00
Binary files /dev/null and b/qualifica_challenge/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png differ
diff --git a/qualifica_challenge/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png b/qualifica_challenge/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png
new file mode 100644
index 0000000..fe73094
Binary files /dev/null and b/qualifica_challenge/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png differ
diff --git a/qualifica_challenge/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png b/qualifica_challenge/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png
new file mode 100644
index 0000000..321773c
Binary files /dev/null and b/qualifica_challenge/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png differ
diff --git a/qualifica_challenge/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png b/qualifica_challenge/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png
new file mode 100644
index 0000000..797d452
Binary files /dev/null and b/qualifica_challenge/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png differ
diff --git a/qualifica_challenge/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png b/qualifica_challenge/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png
new file mode 100644
index 0000000..502f463
Binary files /dev/null and b/qualifica_challenge/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png differ
diff --git a/qualifica_challenge/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png b/qualifica_challenge/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png
new file mode 100644
index 0000000..0ec3034
Binary files /dev/null and b/qualifica_challenge/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png differ
diff --git a/qualifica_challenge/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png b/qualifica_challenge/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png
new file mode 100644
index 0000000..0ec3034
Binary files /dev/null and b/qualifica_challenge/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png differ
diff --git a/qualifica_challenge/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png b/qualifica_challenge/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png
new file mode 100644
index 0000000..e9f5fea
Binary files /dev/null and b/qualifica_challenge/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png differ
diff --git a/qualifica_challenge/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png b/qualifica_challenge/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png
new file mode 100644
index 0000000..84ac32a
Binary files /dev/null and b/qualifica_challenge/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png differ
diff --git a/qualifica_challenge/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png b/qualifica_challenge/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png
new file mode 100644
index 0000000..8953cba
Binary files /dev/null and b/qualifica_challenge/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png differ
diff --git a/qualifica_challenge/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png b/qualifica_challenge/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png
new file mode 100644
index 0000000..0467bf1
Binary files /dev/null and b/qualifica_challenge/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png differ
diff --git a/qualifica_challenge/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json b/qualifica_challenge/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json
new file mode 100644
index 0000000..0bedcf2
--- /dev/null
+++ b/qualifica_challenge/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/qualifica_challenge/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png b/qualifica_challenge/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
new file mode 100644
index 0000000..9da19ea
Binary files /dev/null and b/qualifica_challenge/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png differ
diff --git a/qualifica_challenge/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png b/qualifica_challenge/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
new file mode 100644
index 0000000..9da19ea
Binary files /dev/null and b/qualifica_challenge/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png differ
diff --git a/qualifica_challenge/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png b/qualifica_challenge/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png
new file mode 100644
index 0000000..9da19ea
Binary files /dev/null and b/qualifica_challenge/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png differ
diff --git a/qualifica_challenge/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md b/qualifica_challenge/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md
new file mode 100644
index 0000000..89c2725
--- /dev/null
+++ b/qualifica_challenge/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/qualifica_challenge/ios/Runner/Base.lproj/LaunchScreen.storyboard b/qualifica_challenge/ios/Runner/Base.lproj/LaunchScreen.storyboard
new file mode 100644
index 0000000..f2e259c
--- /dev/null
+++ b/qualifica_challenge/ios/Runner/Base.lproj/LaunchScreen.storyboard
@@ -0,0 +1,37 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/qualifica_challenge/ios/Runner/Base.lproj/Main.storyboard b/qualifica_challenge/ios/Runner/Base.lproj/Main.storyboard
new file mode 100644
index 0000000..f3c2851
--- /dev/null
+++ b/qualifica_challenge/ios/Runner/Base.lproj/Main.storyboard
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/qualifica_challenge/ios/Runner/Info.plist b/qualifica_challenge/ios/Runner/Info.plist
new file mode 100644
index 0000000..6d2ef7b
--- /dev/null
+++ b/qualifica_challenge/ios/Runner/Info.plist
@@ -0,0 +1,51 @@
+
+
+
+
+ CFBundleDevelopmentRegion
+ $(DEVELOPMENT_LANGUAGE)
+ CFBundleDisplayName
+ Qualifica Challenge
+ CFBundleExecutable
+ $(EXECUTABLE_NAME)
+ CFBundleIdentifier
+ $(PRODUCT_BUNDLE_IDENTIFIER)
+ CFBundleInfoDictionaryVersion
+ 6.0
+ CFBundleName
+ qualifica_challenge
+ 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
+
+ CADisableMinimumFrameDurationOnPhone
+
+ UIApplicationSupportsIndirectInputEvents
+
+
+
diff --git a/qualifica_challenge/ios/Runner/Runner-Bridging-Header.h b/qualifica_challenge/ios/Runner/Runner-Bridging-Header.h
new file mode 100644
index 0000000..308a2a5
--- /dev/null
+++ b/qualifica_challenge/ios/Runner/Runner-Bridging-Header.h
@@ -0,0 +1 @@
+#import "GeneratedPluginRegistrant.h"
diff --git a/qualifica_challenge/lib/app/app_widget.dart b/qualifica_challenge/lib/app/app_widget.dart
new file mode 100644
index 0000000..8766eed
--- /dev/null
+++ b/qualifica_challenge/lib/app/app_widget.dart
@@ -0,0 +1,47 @@
+import 'package:flutter/material.dart';
+import 'package:get/get.dart';
+
+import 'modules/home/home_binding.dart';
+import 'modules/home/home_page.dart';
+
+class AppWidget extends StatelessWidget {
+ const AppWidget({Key? key}) : super(key: key);
+
+ @override
+ Widget build(BuildContext context) {
+ return GetMaterialApp(
+ debugShowCheckedModeBanner: false,
+ home: const HomePage(),
+ initialBinding: HomeBinding(),
+ theme: ThemeData(
+ colorScheme: ColorScheme.light(
+ primary: Colors.black54,
+ secondary: Colors.yellow.withOpacity(0.2),
+ error: Colors.red,
+ onError: Colors.red,
+ ),
+ scaffoldBackgroundColor: Colors.black,
+ textTheme: const TextTheme(
+ bodyMedium: TextStyle(
+ fontSize: 20,
+ color: Colors.yellow,
+ ),
+ displayMedium: TextStyle(
+ fontSize: 18,
+ color: Colors.black,
+ ),
+ ),
+ appBarTheme: const AppBarTheme(
+ centerTitle: true,
+ backgroundColor: Colors.black,
+ iconTheme: IconThemeData(color: Colors.yellow),
+ titleTextStyle: TextStyle(
+ fontSize: 22,
+ color: Colors.yellow,
+ fontWeight: FontWeight.w600,
+ ),
+ ),
+ ),
+ );
+ }
+}
diff --git a/qualifica_challenge/lib/app/core/utils/app_images.dart b/qualifica_challenge/lib/app/core/utils/app_images.dart
new file mode 100644
index 0000000..62d3c04
--- /dev/null
+++ b/qualifica_challenge/lib/app/core/utils/app_images.dart
@@ -0,0 +1,8 @@
+class AppImages {
+ static const atackClone = 'assets/images/atack_clone.jpg';
+ static const empireStrikes = 'assets/images/empire_strikes.jpg';
+ static const newHope = 'assets/images/new_hope.jpg';
+ static const phantomMenace = 'assets/images/phantom_menace.jpg';
+ static const returnJedi = 'assets/images/return_jedi.jpg';
+ static const revengeSith = 'assets/images/revenge_sith.jpg';
+}
diff --git a/qualifica_challenge/lib/app/data/models/films_model.dart b/qualifica_challenge/lib/app/data/models/films_model.dart
new file mode 100644
index 0000000..dc12735
--- /dev/null
+++ b/qualifica_challenge/lib/app/data/models/films_model.dart
@@ -0,0 +1,23 @@
+class FilmsModel {
+ final String title;
+ final List characters;
+
+ FilmsModel({
+ required this.title,
+ required this.characters,
+ });
+
+ factory FilmsModel.fromMap(Map map) {
+ return FilmsModel(
+ title: map['title'] ?? '',
+ characters: List.from(map['characters'] ?? []),
+ );
+ }
+
+ Map toMap() {
+ return {
+ 'title': title,
+ 'characters': characters,
+ };
+ }
+}
diff --git a/qualifica_challenge/lib/app/data/models/homeworld_model.dart b/qualifica_challenge/lib/app/data/models/homeworld_model.dart
new file mode 100644
index 0000000..6921c46
--- /dev/null
+++ b/qualifica_challenge/lib/app/data/models/homeworld_model.dart
@@ -0,0 +1,19 @@
+class HomeworldModel {
+ final String name;
+
+ HomeworldModel({
+ required this.name,
+ });
+
+ factory HomeworldModel.fromMap(Map map) {
+ return HomeworldModel(
+ name: map['name'] ?? '',
+ );
+ }
+
+ Map toMap() {
+ return {
+ 'name': name,
+ };
+ }
+}
diff --git a/qualifica_challenge/lib/app/data/models/people_model.dart b/qualifica_challenge/lib/app/data/models/people_model.dart
new file mode 100644
index 0000000..32b7632
--- /dev/null
+++ b/qualifica_challenge/lib/app/data/models/people_model.dart
@@ -0,0 +1,59 @@
+class PeopleModel {
+ final String name;
+ final String height;
+ final String mass;
+ final String hairColor;
+ final String skinColor;
+ final String eyeColor;
+ final String birthYear;
+ final String gender;
+ final String homeworld;
+ final List films;
+ final List? species;
+
+ PeopleModel({
+ required this.name,
+ required this.height,
+ required this.mass,
+ required this.hairColor,
+ required this.skinColor,
+ required this.eyeColor,
+ required this.birthYear,
+ required this.gender,
+ required this.homeworld,
+ required this.films,
+ this.species,
+ });
+
+ factory PeopleModel.fromMap(Map map) {
+ return PeopleModel(
+ name: map['name'] ?? '',
+ height: map['height'] ?? '',
+ mass: map['mass'] ?? '',
+ hairColor: map['hair_color'] ?? '',
+ skinColor: map['skin_color'] ?? '',
+ eyeColor: map['eye_color'] ?? '',
+ birthYear: map['birth_year'] ?? '',
+ gender: map['gender'] ?? '',
+ homeworld: map['homeworld'] ?? '',
+ films: List.from(map['films'] ?? []),
+ species: List.from(map['species'] ?? []),
+ );
+ }
+
+ Map toMap() {
+ return {
+ 'name': name,
+ 'height': height,
+ 'mass': mass,
+ 'hair_color': hairColor,
+ 'skin_color': skinColor,
+ 'eye_color': eyeColor,
+ 'birth_year': birthYear,
+ 'gender': gender,
+ 'homeworld': homeworld,
+ 'films': films,
+ 'species': species,
+ };
+ }
+}
diff --git a/qualifica_challenge/lib/app/data/models/species_model.dart b/qualifica_challenge/lib/app/data/models/species_model.dart
new file mode 100644
index 0000000..53091da
--- /dev/null
+++ b/qualifica_challenge/lib/app/data/models/species_model.dart
@@ -0,0 +1,19 @@
+class SpeciesModel {
+ final String name;
+
+ SpeciesModel({
+ required this.name,
+ });
+
+ factory SpeciesModel.fromMap(Map map) {
+ return SpeciesModel(
+ name: map['name'] ?? '',
+ );
+ }
+
+ Map toMap() {
+ return {
+ 'name': name,
+ };
+ }
+}
diff --git a/qualifica_challenge/lib/app/data/repositories/get_films/get_films_repository.dart b/qualifica_challenge/lib/app/data/repositories/get_films/get_films_repository.dart
new file mode 100644
index 0000000..993e3eb
--- /dev/null
+++ b/qualifica_challenge/lib/app/data/repositories/get_films/get_films_repository.dart
@@ -0,0 +1,7 @@
+import '../../models/films_model.dart';
+
+abstract class GetFilmsRepository {
+ Future getFilmsRepository(String url);
+
+ Future> getFilmsCatalogRepository(String title);
+}
diff --git a/qualifica_challenge/lib/app/data/repositories/get_films/get_films_repository_impl.dart b/qualifica_challenge/lib/app/data/repositories/get_films/get_films_repository_impl.dart
new file mode 100644
index 0000000..2f2e567
--- /dev/null
+++ b/qualifica_challenge/lib/app/data/repositories/get_films/get_films_repository_impl.dart
@@ -0,0 +1,40 @@
+import 'package:dio/dio.dart';
+
+import '../../models/films_model.dart';
+import 'get_films_repository.dart';
+
+class GetFilmsRepositoryImpl implements GetFilmsRepository {
+ final dio = Dio();
+
+ @override
+ Future getFilmsRepository(String url) async {
+ final response = await dio.get(url);
+
+ if (response.statusCode == 200) {
+ var result = response.data;
+
+ var films = FilmsModel.fromMap(result);
+
+ return films;
+ } else {
+ return throw Exception();
+ }
+ }
+
+ @override
+ Future> getFilmsCatalogRepository(String title) async {
+ final response =
+ await dio.get('https://swapi.dev/api/films/?search=$title');
+
+ if (response.statusCode == 200) {
+ var result = response.data['results'] as List;
+
+ var listFilms =
+ result.map((element) => FilmsModel.fromMap(element)).toList();
+
+ return listFilms;
+ } else {
+ return throw Exception();
+ }
+ }
+}
diff --git a/qualifica_challenge/lib/app/data/repositories/get_homeworld/get_homeworld_repository.dart b/qualifica_challenge/lib/app/data/repositories/get_homeworld/get_homeworld_repository.dart
new file mode 100644
index 0000000..5d951bc
--- /dev/null
+++ b/qualifica_challenge/lib/app/data/repositories/get_homeworld/get_homeworld_repository.dart
@@ -0,0 +1,5 @@
+import '../../models/homeworld_model.dart';
+
+abstract class GetHomeworldRepository {
+ Future getHomeworldRepository(String url);
+}
diff --git a/qualifica_challenge/lib/app/data/repositories/get_homeworld/get_homeworld_repository_impl.dart b/qualifica_challenge/lib/app/data/repositories/get_homeworld/get_homeworld_repository_impl.dart
new file mode 100644
index 0000000..0a9b8a1
--- /dev/null
+++ b/qualifica_challenge/lib/app/data/repositories/get_homeworld/get_homeworld_repository_impl.dart
@@ -0,0 +1,23 @@
+import 'package:dio/dio.dart';
+
+import '../../models/homeworld_model.dart';
+import 'get_homeworld_repository.dart';
+
+class GetHomeworldRepositoryImpl implements GetHomeworldRepository {
+ final dio = Dio();
+
+ @override
+ Future getHomeworldRepository(String url) async {
+ final response = await dio.get(url);
+
+ if (response.statusCode == 200) {
+ var result = response.data;
+
+ var homeWorld = HomeworldModel.fromMap(result);
+
+ return homeWorld;
+ } else {
+ return throw Exception();
+ }
+ }
+}
diff --git a/qualifica_challenge/lib/app/data/repositories/get_people/get_people_repository.dart b/qualifica_challenge/lib/app/data/repositories/get_people/get_people_repository.dart
new file mode 100644
index 0000000..233a74a
--- /dev/null
+++ b/qualifica_challenge/lib/app/data/repositories/get_people/get_people_repository.dart
@@ -0,0 +1,9 @@
+import '../../models/people_model.dart';
+
+abstract class GetPeopleRepository {
+ Future> getPeopleRepository();
+
+ Future> getPeopleNextIdRepository(int nextId);
+
+ Future getPeopleCatalogRepository(String url);
+}
diff --git a/qualifica_challenge/lib/app/data/repositories/get_people/get_people_repository_impl.dart b/qualifica_challenge/lib/app/data/repositories/get_people/get_people_repository_impl.dart
new file mode 100644
index 0000000..df67464
--- /dev/null
+++ b/qualifica_challenge/lib/app/data/repositories/get_people/get_people_repository_impl.dart
@@ -0,0 +1,56 @@
+import 'package:dio/dio.dart';
+
+import '../../models/people_model.dart';
+import 'get_people_repository.dart';
+
+class GetPeopleRepositoryImpl implements GetPeopleRepository {
+ final dio = Dio();
+
+ @override
+ Future> getPeopleRepository() async {
+ final response = await dio.get('https://swapi.dev/api/people/');
+
+ if (response.statusCode == 200) {
+ var result = response.data['results'] as List;
+
+ var listPeople =
+ result.map((element) => PeopleModel.fromMap(element)).toList();
+
+ return listPeople;
+ } else {
+ return throw Exception();
+ }
+ }
+
+ @override
+ Future> getPeopleNextIdRepository(int nextId) async {
+ final response =
+ await dio.get('https://swapi.dev/api/people/?page=$nextId');
+
+ if (response.statusCode == 200) {
+ var result = response.data['results'] as List;
+
+ var listPeople =
+ result.map((element) => PeopleModel.fromMap(element)).toList();
+
+ return listPeople;
+ } else {
+ return throw Exception();
+ }
+ }
+
+ @override
+ Future getPeopleCatalogRepository(String url) async {
+ final response = await dio.get(url);
+
+ if (response.statusCode == 200) {
+ var result = response.data;
+
+ var people = PeopleModel.fromMap(result);
+
+ return people;
+ } else {
+ return throw Exception();
+ }
+ }
+}
diff --git a/qualifica_challenge/lib/app/data/repositories/get_species/get_species_repository.dart b/qualifica_challenge/lib/app/data/repositories/get_species/get_species_repository.dart
new file mode 100644
index 0000000..47cab3e
--- /dev/null
+++ b/qualifica_challenge/lib/app/data/repositories/get_species/get_species_repository.dart
@@ -0,0 +1,5 @@
+import '../../models/species_model.dart';
+
+abstract class GetSpeciesRepository {
+ Future getSpeciesRepository(String url);
+}
diff --git a/qualifica_challenge/lib/app/data/repositories/get_species/get_species_repository_impl.dart b/qualifica_challenge/lib/app/data/repositories/get_species/get_species_repository_impl.dart
new file mode 100644
index 0000000..9497c7d
--- /dev/null
+++ b/qualifica_challenge/lib/app/data/repositories/get_species/get_species_repository_impl.dart
@@ -0,0 +1,23 @@
+import 'package:dio/dio.dart';
+
+import '../../models/species_model.dart';
+import 'get_species_repository.dart';
+
+class GetSpeciesRepositoryImpl implements GetSpeciesRepository {
+ final dio = Dio();
+
+ @override
+ Future getSpeciesRepository(String url) async {
+ final response = await dio.get(url);
+
+ if (response.statusCode == 200) {
+ var result = response.data;
+
+ var species = SpeciesModel.fromMap(result);
+
+ return species;
+ } else {
+ return throw Exception();
+ }
+ }
+}
diff --git a/qualifica_challenge/lib/app/modules/films/films_binding.dart b/qualifica_challenge/lib/app/modules/films/films_binding.dart
new file mode 100644
index 0000000..cca6002
--- /dev/null
+++ b/qualifica_challenge/lib/app/modules/films/films_binding.dart
@@ -0,0 +1,10 @@
+import 'package:get/get.dart';
+
+import 'films_controller.dart';
+
+class FilmsBinding implements Bindings {
+ @override
+ void dependencies() {
+ Get.put(FilmsController());
+ }
+}
diff --git a/qualifica_challenge/lib/app/modules/films/films_controller.dart b/qualifica_challenge/lib/app/modules/films/films_controller.dart
new file mode 100644
index 0000000..0f0cc3c
--- /dev/null
+++ b/qualifica_challenge/lib/app/modules/films/films_controller.dart
@@ -0,0 +1,71 @@
+import 'package:get/get.dart';
+
+import '../../core/utils/app_images.dart';
+import '../../data/models/films_model.dart';
+import '../../data/models/people_model.dart';
+import '../../data/repositories/get_films/get_films_repository_impl.dart';
+import '../../data/repositories/get_people/get_people_repository_impl.dart';
+
+class FilmsController extends GetxController {
+ final repositoryFilms = GetFilmsRepositoryImpl();
+ RxList filmsList = [].obs;
+
+ final repositoryPeople = GetPeopleRepositoryImpl();
+ Rx peopleModel = PeopleModel(
+ name: '',
+ birthYear: '',
+ eyeColor: '',
+ gender: '',
+ hairColor: '',
+ height: '',
+ homeworld: '',
+ mass: '',
+ skinColor: '',
+ species: [],
+ films: [],
+ ).obs;
+
+ RxString thumbnail = ''.obs;
+
+ @override
+ onInit() async {
+ super.onInit();
+
+ getFilmsCatalog('');
+ }
+
+ Future> getFilmsCatalog(String title) async {
+ return filmsList.value =
+ await repositoryFilms.getFilmsCatalogRepository(title);
+ }
+
+ Future getPeopleCatalog(String people) async {
+ peopleModel.value =
+ await repositoryPeople.getPeopleCatalogRepository(people);
+
+ return peopleModel.value;
+ }
+
+ thumbnailFilms(FilmsModel films) {
+ switch (films.title) {
+ case "A New Hope":
+ thumbnail.value = AppImages.newHope;
+ break;
+ case "The Empire Strikes Back":
+ thumbnail.value = AppImages.empireStrikes;
+ break;
+ case "Return of the Jedi":
+ thumbnail.value = AppImages.returnJedi;
+ break;
+ case "The Phantom Menace":
+ thumbnail.value = AppImages.phantomMenace;
+ break;
+ case "Attack of the Clones":
+ thumbnail.value = AppImages.atackClone;
+ break;
+ case "Revenge of the Sith":
+ thumbnail.value = AppImages.revengeSith;
+ break;
+ }
+ }
+}
diff --git a/qualifica_challenge/lib/app/modules/films/films_page.dart b/qualifica_challenge/lib/app/modules/films/films_page.dart
new file mode 100644
index 0000000..ff1c91d
--- /dev/null
+++ b/qualifica_challenge/lib/app/modules/films/films_page.dart
@@ -0,0 +1,134 @@
+import 'package:flutter/material.dart';
+import 'package:get/get.dart';
+import 'package:get/get_rx/src/rx_workers/utils/debouncer.dart';
+
+import '../../data/models/films_model.dart';
+import 'films_controller.dart';
+import 'pages/characters_in_film_page.dart';
+
+class FilmsPage extends StatefulWidget {
+ const FilmsPage({super.key});
+
+ @override
+ State createState() => _FilmsPageState();
+}
+
+class _FilmsPageState extends State {
+ final debouncer = Debouncer(delay: const Duration(milliseconds: 300));
+
+ @override
+ Widget build(BuildContext context) {
+ final filmsController = Get.find();
+
+ return Scaffold(
+ appBar: AppBar(
+ title: const Text('FILMES'),
+ ),
+ body: LayoutBuilder(
+ builder: (context, constraints) => SizedBox(
+ height: constraints.maxHeight,
+ width: constraints.maxWidth,
+ child: SingleChildScrollView(
+ child: Column(
+ mainAxisAlignment: MainAxisAlignment.center,
+ crossAxisAlignment: CrossAxisAlignment.center,
+ children: [
+ Padding(
+ padding: const EdgeInsets.all(20),
+ child: TextFormField(
+ onChanged: ((value) {
+ debouncer.call(() {
+ filmsController.getFilmsCatalog(value);
+ });
+ }),
+ cursorColor: Colors.black,
+ decoration: const InputDecoration(
+ contentPadding: EdgeInsets.only(left: 15),
+ fillColor: Colors.white,
+ filled: true,
+ focusedBorder: OutlineInputBorder(
+ borderRadius: BorderRadius.all(Radius.circular(5)),
+ borderSide: BorderSide(
+ color: Colors.black,
+ ),
+ ),
+ enabledBorder: OutlineInputBorder(
+ borderRadius: BorderRadius.all(Radius.circular(5)),
+ borderSide: BorderSide(
+ color: Colors.black,
+ ),
+ ),
+ suffixIcon: Icon(
+ Icons.search,
+ color: Colors.black,
+ ),
+ ),
+ ),
+ ),
+ Obx(
+ () => SizedBox(
+ height: constraints.maxHeight * 0.85,
+ child: ListView.builder(
+ padding: const EdgeInsets.symmetric(
+ horizontal: 10, vertical: 10),
+ shrinkWrap: true,
+ itemCount: filmsController.filmsList.length,
+ itemBuilder: ((context, index) {
+ FilmsModel filmsModel =
+ filmsController.filmsList[index];
+
+ filmsController.thumbnailFilms(filmsModel);
+
+ return Padding(
+ padding: const EdgeInsets.all(8.0),
+ child: GestureDetector(
+ onTap: () {
+ Navigator.push(
+ context,
+ MaterialPageRoute(
+ builder: (context) => CharactersInFilmPage(
+ model: filmsModel,
+ ),
+ ),
+ );
+ },
+ child: Container(
+ color: Colors.yellow,
+ padding: const EdgeInsets.all(20),
+ child: Row(
+ mainAxisAlignment:
+ MainAxisAlignment.spaceEvenly,
+ children: [
+ Flexible(
+ flex: 2,
+ child: Image.asset(
+ height: 200,
+ filmsController.thumbnail.value,
+ ),
+ ),
+ Flexible(
+ flex: 1,
+ child: Text(
+ filmsModel.title,
+ style: Theme.of(context)
+ .textTheme
+ .displayMedium,
+ ),
+ ),
+ ],
+ ),
+ ),
+ ),
+ );
+ }),
+ ),
+ ),
+ ),
+ ],
+ ),
+ ),
+ ),
+ ),
+ );
+ }
+}
diff --git a/qualifica_challenge/lib/app/modules/films/pages/characters_in_film_page.dart b/qualifica_challenge/lib/app/modules/films/pages/characters_in_film_page.dart
new file mode 100644
index 0000000..c4eb916
--- /dev/null
+++ b/qualifica_challenge/lib/app/modules/films/pages/characters_in_film_page.dart
@@ -0,0 +1,82 @@
+import 'package:flutter/material.dart';
+import 'package:get/get.dart';
+
+import '../../../data/models/films_model.dart';
+import '../../../data/models/people_model.dart';
+import '../films_controller.dart';
+
+class CharactersInFilmPage extends StatefulWidget {
+ final FilmsModel model;
+
+ const CharactersInFilmPage({
+ required this.model,
+ super.key,
+ });
+
+ @override
+ State createState() => _CharactersInFilmPageState();
+}
+
+class _CharactersInFilmPageState extends State {
+ RxList people = [].obs;
+
+ @override
+ void initState() {
+ super.initState();
+
+ for (var urls in widget.model.characters) {
+ Get.find()
+ .getPeopleCatalog(urls)
+ .then((value) => people.addAll([value]));
+ }
+ }
+
+ @override
+ Widget build(BuildContext context) {
+ return Scaffold(
+ appBar: AppBar(
+ title: Text(widget.model.title.toUpperCase()),
+ ),
+ body: LayoutBuilder(
+ builder: (context, constraints) => SizedBox(
+ height: constraints.maxHeight,
+ width: constraints.maxWidth,
+ child: SingleChildScrollView(
+ child: Column(
+ mainAxisAlignment: MainAxisAlignment.start,
+ crossAxisAlignment: CrossAxisAlignment.center,
+ children: [
+ const SizedBox(height: 15),
+ const Text('Personagens no filme: '),
+ Padding(
+ padding: const EdgeInsets.symmetric(vertical: 10),
+ child: Obx(
+ () => SizedBox(
+ height: constraints.maxHeight * 0.912,
+ child: GridView.builder(
+ gridDelegate:
+ const SliverGridDelegateWithFixedCrossAxisCount(
+ crossAxisCount: 2,
+ childAspectRatio: 3.5,
+ ),
+ itemCount: people.length,
+ itemBuilder: (context, index) {
+ return Chip(
+ backgroundColor: Colors.yellow,
+ label: Text(
+ people[index].name,
+ ),
+ );
+ },
+ ),
+ ),
+ ),
+ ),
+ ],
+ ),
+ ),
+ ),
+ ),
+ );
+ }
+}
diff --git a/qualifica_challenge/lib/app/modules/home/home_binding.dart b/qualifica_challenge/lib/app/modules/home/home_binding.dart
new file mode 100644
index 0000000..9d4e724
--- /dev/null
+++ b/qualifica_challenge/lib/app/modules/home/home_binding.dart
@@ -0,0 +1,12 @@
+import 'package:get/get.dart';
+
+import '../films/films_controller.dart';
+import 'home_controller.dart';
+
+class HomeBinding implements Bindings {
+ @override
+ void dependencies() {
+ Get.put(HomeController());
+ Get.put(FilmsController());
+ }
+}
diff --git a/qualifica_challenge/lib/app/modules/home/home_controller.dart b/qualifica_challenge/lib/app/modules/home/home_controller.dart
new file mode 100644
index 0000000..a5f0704
--- /dev/null
+++ b/qualifica_challenge/lib/app/modules/home/home_controller.dart
@@ -0,0 +1,78 @@
+import 'package:flutter/material.dart';
+import 'package:get/get.dart';
+
+import '../../data/models/films_model.dart';
+import '../../data/models/homeworld_model.dart';
+import '../../data/models/people_model.dart';
+import '../../data/models/species_model.dart';
+import '../../data/repositories/get_films/get_films_repository_impl.dart';
+import '../../data/repositories/get_homeworld/get_homeworld_repository_impl.dart';
+import '../../data/repositories/get_people/get_people_repository_impl.dart';
+import '../../data/repositories/get_species/get_species_repository_impl.dart';
+
+class HomeController extends GetxController {
+ final repositoryPeople = GetPeopleRepositoryImpl();
+ RxList peopleList = [].obs;
+
+ final repositorySpecies = GetSpeciesRepositoryImpl();
+ Rx speciesModel = SpeciesModel(name: '').obs;
+
+ final repositoryHomeworld = GetHomeworldRepositoryImpl();
+ Rx homeworldModel = HomeworldModel(name: '').obs;
+
+ final repositoryFilms = GetFilmsRepositoryImpl();
+ Rx filmsModel = FilmsModel(title: '', characters: []).obs;
+ RxList filmsList = [].obs;
+
+ final scrollController = ScrollController();
+ RxInt id = 1.obs;
+
+ @override
+ onInit() async {
+ super.onInit();
+
+ getPeople();
+
+ scrollController.addListener(() async {
+ if (scrollController.position.maxScrollExtent ==
+ scrollController.offset) {
+ id.value = id.value + 1;
+
+ await getPagination(
+ id: id.value,
+ );
+ }
+ });
+ }
+
+ Future> getPeople() async {
+ return peopleList.value = await repositoryPeople.getPeopleRepository();
+ }
+
+ Future getPagination({required int id}) async {
+ for (var character = 1; character <= id; character++) {
+ final ids = await repositoryPeople.getPeopleNextIdRepository(id);
+
+ peopleList.addAll(ids);
+ }
+ }
+
+ Future getSpecies(String species) async {
+ speciesModel.value = await repositorySpecies.getSpeciesRepository(species);
+
+ return speciesModel.value;
+ }
+
+ Future getHomeworld(String homeworld) async {
+ homeworldModel.value =
+ await repositoryHomeworld.getHomeworldRepository(homeworld);
+
+ return homeworldModel.value;
+ }
+
+ Future getFilms(String films) async {
+ filmsModel.value = await repositoryFilms.getFilmsRepository(films);
+
+ return filmsModel.value;
+ }
+}
diff --git a/qualifica_challenge/lib/app/modules/home/home_page.dart b/qualifica_challenge/lib/app/modules/home/home_page.dart
new file mode 100644
index 0000000..8b9cfc4
--- /dev/null
+++ b/qualifica_challenge/lib/app/modules/home/home_page.dart
@@ -0,0 +1,104 @@
+import 'package:flutter/material.dart';
+import 'package:get/get.dart';
+
+import '../../data/models/people_model.dart';
+import '../films/films_page.dart';
+import 'home_controller.dart';
+import 'widgets/custom_container.dart';
+
+class HomePage extends StatelessWidget {
+ const HomePage({super.key});
+
+ @override
+ Widget build(BuildContext context) {
+ final homeController = Get.find();
+
+ return Scaffold(
+ appBar: AppBar(
+ centerTitle: true,
+ title: const Text('STAR WARS'),
+ actions: [
+ Padding(
+ padding: const EdgeInsets.only(right: 10),
+ child: IconButton(
+ splashRadius: 27,
+ highlightColor: Colors.yellow.shade300,
+ icon: const Icon(
+ size: 30,
+ Icons.ondemand_video,
+ ),
+ onPressed: () {
+ Navigator.push(
+ context,
+ MaterialPageRoute(
+ builder: (context) => const FilmsPage(),
+ ),
+ );
+ },
+ ),
+ )
+ ],
+ ),
+ body: LayoutBuilder(
+ builder: (context, constraints) => SizedBox(
+ height: constraints.maxHeight,
+ width: constraints.maxWidth,
+ child: SingleChildScrollView(
+ child: Column(
+ mainAxisAlignment: MainAxisAlignment.start,
+ crossAxisAlignment: CrossAxisAlignment.start,
+ children: [
+ const SizedBox(height: 10),
+ Obx(
+ () => SizedBox(
+ height: constraints.maxHeight * 0.983,
+ child: ListView.builder(
+ padding: const EdgeInsets.symmetric(
+ horizontal: 10, vertical: 10),
+ shrinkWrap: true,
+ controller: homeController.scrollController,
+ itemCount: homeController.peopleList.length + 1,
+ itemBuilder: ((context, index) {
+ if (index < homeController.peopleList.length) {
+ PeopleModel peopleModel =
+ homeController.peopleList[index];
+
+ if (homeController.peopleList.length > 1 &&
+ homeController.peopleList.length - 1 == index) {
+ return Padding(
+ padding: const EdgeInsets.all(8.0),
+ child: CustomContainer(model: peopleModel),
+ );
+ } else if (index == 0) {
+ return Padding(
+ padding: const EdgeInsets.all(8.0),
+ child: CustomContainer(model: peopleModel),
+ );
+ } else {
+ return Padding(
+ padding: const EdgeInsets.all(8.0),
+ child: CustomContainer(model: peopleModel),
+ );
+ }
+ } else {
+ return const Padding(
+ padding: EdgeInsets.only(top: 22),
+ child: Center(
+ child: CircularProgressIndicator(
+ color: Colors.yellow,
+ ),
+ ),
+ );
+ }
+ }),
+ ),
+ ),
+ ),
+ ],
+ ),
+ ),
+ ),
+ ),
+ );
+ }
+}
diff --git a/qualifica_challenge/lib/app/modules/home/pages/details_page.dart b/qualifica_challenge/lib/app/modules/home/pages/details_page.dart
new file mode 100644
index 0000000..b68edd0
--- /dev/null
+++ b/qualifica_challenge/lib/app/modules/home/pages/details_page.dart
@@ -0,0 +1,100 @@
+import 'package:flutter/material.dart';
+
+import '../../../data/models/films_model.dart';
+import '../../../data/models/homeworld_model.dart';
+import '../../../data/models/people_model.dart';
+import '../../../data/models/species_model.dart';
+import '../widgets/description_widget.dart';
+
+class DetailsPage extends StatelessWidget {
+ final PeopleModel peopleModel;
+ final SpeciesModel speciesModel;
+ final HomeworldModel homeworldModel;
+ final List listFilmsModel;
+
+ const DetailsPage({
+ required this.peopleModel,
+ required this.speciesModel,
+ required this.homeworldModel,
+ required this.listFilmsModel,
+ super.key,
+ });
+
+ @override
+ Widget build(BuildContext context) {
+ return Scaffold(
+ appBar: AppBar(
+ title: Text(peopleModel.name.toUpperCase()),
+ ),
+ body: LayoutBuilder(
+ builder: (context, constraints) => SizedBox(
+ height: constraints.maxHeight,
+ width: constraints.maxWidth,
+ child: SingleChildScrollView(
+ child: Column(
+ mainAxisAlignment: MainAxisAlignment.center,
+ crossAxisAlignment: CrossAxisAlignment.center,
+ children: [
+ DescriptionWidget(
+ title: 'Birth Year: ',
+ data: peopleModel.birthYear,
+ ),
+ DescriptionWidget(
+ title: 'Eye Color: ',
+ data: peopleModel.eyeColor.toUpperCase(),
+ ),
+ DescriptionWidget(
+ title: 'Gender: ',
+ data: peopleModel.gender.toUpperCase(),
+ ),
+ DescriptionWidget(
+ title: 'Hair Color: ',
+ data: peopleModel.hairColor.toUpperCase(),
+ ),
+ DescriptionWidget(
+ title: 'Height: ',
+ data: peopleModel.height,
+ ),
+ DescriptionWidget(
+ title: 'Mass: ',
+ data: peopleModel.mass,
+ ),
+ DescriptionWidget(
+ title: 'Skin Color: ',
+ data: peopleModel.skinColor.toUpperCase(),
+ ),
+ DescriptionWidget(
+ title: 'Homeworld: ',
+ data: homeworldModel.name.toUpperCase(),
+ ),
+ DescriptionWidget(
+ title: 'Species: ',
+ data: speciesModel.name == ''
+ ? 'HUMAN'
+ : speciesModel.name.toUpperCase(),
+ ),
+ const Text('Films: '),
+ const SizedBox(height: 10),
+ Padding(
+ padding: const EdgeInsets.only(bottom: 15),
+ child: Wrap(
+ spacing: 30,
+ children: List.generate(
+ listFilmsModel.length,
+ (index) => Chip(
+ backgroundColor: Colors.yellow,
+ label: Text(
+ listFilmsModel[index].title,
+ ),
+ ),
+ ),
+ ),
+ ),
+ ],
+ ),
+ ),
+ ),
+ ),
+ );
+ }
+}
diff --git a/qualifica_challenge/lib/app/modules/home/widgets/custom_container.dart b/qualifica_challenge/lib/app/modules/home/widgets/custom_container.dart
new file mode 100644
index 0000000..3553be1
--- /dev/null
+++ b/qualifica_challenge/lib/app/modules/home/widgets/custom_container.dart
@@ -0,0 +1,109 @@
+import 'package:flutter/material.dart';
+import 'package:get/get.dart';
+
+import '../../../data/models/films_model.dart';
+import '../../../data/models/homeworld_model.dart';
+import '../../../data/models/people_model.dart';
+import '../../../data/models/species_model.dart';
+import '../home_controller.dart';
+import '../pages/details_page.dart';
+
+class CustomContainer extends StatefulWidget {
+ final PeopleModel model;
+
+ const CustomContainer({
+ required this.model,
+ super.key,
+ });
+
+ @override
+ State createState() => _CustomContainerState();
+}
+
+class _CustomContainerState extends State {
+ Rx species = SpeciesModel(name: '').obs;
+ Rx homeworld = HomeworldModel(name: '').obs;
+ RxList films = [].obs;
+
+ @override
+ void initState() {
+ super.initState();
+
+ if (widget.model.species!.isNotEmpty) {
+ Get.find()
+ .getSpecies(widget.model.species
+ .toString()
+ .replaceAll('[', '')
+ .replaceAll(']', ''))
+ .then((value) => species.value = value);
+ }
+
+ Get.find()
+ .getHomeworld(widget.model.homeworld)
+ .then((value) => homeworld.value = value);
+
+ for (var urls in widget.model.films) {
+ Get.find()
+ .getFilms(urls)
+ .then((value) => films.addAll([value]));
+ }
+ }
+
+ @override
+ Widget build(BuildContext context) {
+ return GestureDetector(
+ onTap: () {
+ Navigator.push(
+ context,
+ MaterialPageRoute(
+ builder: (context) => DetailsPage(
+ peopleModel: widget.model,
+ speciesModel: species.value,
+ homeworldModel: homeworld.value,
+ listFilmsModel: films,
+ ),
+ ),
+ );
+ },
+ child: Container(
+ height: 110,
+ decoration: const BoxDecoration(
+ color: Colors.yellow,
+ borderRadius: BorderRadius.all(Radius.circular(5)),
+ ),
+ child: Padding(
+ padding: const EdgeInsets.symmetric(vertical: 20, horizontal: 15),
+ child: Row(
+ mainAxisAlignment: MainAxisAlignment.spaceBetween,
+ crossAxisAlignment: CrossAxisAlignment.center,
+ children: [
+ Flexible(
+ flex: 2,
+ child: Text(
+ widget.model.name,
+ style: Theme.of(context).textTheme.displayMedium,
+ ),
+ ),
+ Flexible(
+ flex: 1,
+ child: Obx(
+ () => Text(
+ species.value.name == '' ? 'Human' : species.value.name,
+ style: Theme.of(context).textTheme.displayMedium,
+ ),
+ ),
+ ),
+ Flexible(
+ flex: 1,
+ child: Text(
+ widget.model.birthYear,
+ style: Theme.of(context).textTheme.displayMedium,
+ ),
+ ),
+ ],
+ ),
+ ),
+ ),
+ );
+ }
+}
diff --git a/qualifica_challenge/lib/app/modules/home/widgets/description_widget.dart b/qualifica_challenge/lib/app/modules/home/widgets/description_widget.dart
new file mode 100644
index 0000000..9116332
--- /dev/null
+++ b/qualifica_challenge/lib/app/modules/home/widgets/description_widget.dart
@@ -0,0 +1,33 @@
+import 'package:flutter/material.dart';
+
+class DescriptionWidget extends StatelessWidget {
+ final String title;
+ final String data;
+
+ const DescriptionWidget({
+ required this.title,
+ required this.data,
+ super.key,
+ });
+
+ @override
+ Widget build(BuildContext context) {
+ return Padding(
+ padding: const EdgeInsets.symmetric(vertical: 20, horizontal: 50),
+ child: Row(
+ mainAxisAlignment: MainAxisAlignment.spaceBetween,
+ crossAxisAlignment: CrossAxisAlignment.center,
+ children: [
+ Text(
+ title,
+ style: Theme.of(context).textTheme.bodyMedium,
+ ),
+ Text(
+ data,
+ style: Theme.of(context).textTheme.bodyMedium,
+ ),
+ ],
+ ),
+ );
+ }
+}
diff --git a/qualifica_challenge/lib/main.dart b/qualifica_challenge/lib/main.dart
new file mode 100644
index 0000000..110e1ac
--- /dev/null
+++ b/qualifica_challenge/lib/main.dart
@@ -0,0 +1,8 @@
+import 'package:flutter/material.dart';
+
+import 'app/app_widget.dart';
+
+void main() {
+ WidgetsFlutterBinding.ensureInitialized();
+ runApp(const AppWidget());
+}
diff --git a/qualifica_challenge/pubspec.lock b/qualifica_challenge/pubspec.lock
new file mode 100644
index 0000000..f6f9e00
--- /dev/null
+++ b/qualifica_challenge/pubspec.lock
@@ -0,0 +1,220 @@
+# Generated by pub
+# See https://dart.dev/tools/pub/glossary#lockfile
+packages:
+ async:
+ dependency: transitive
+ description:
+ name: async
+ sha256: bfe67ef28df125b7dddcea62755991f807aa39a2492a23e1550161692950bbe0
+ url: "https://pub.dev"
+ source: hosted
+ version: "2.10.0"
+ boolean_selector:
+ dependency: transitive
+ description:
+ name: boolean_selector
+ sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66"
+ url: "https://pub.dev"
+ source: hosted
+ version: "2.1.1"
+ characters:
+ dependency: transitive
+ description:
+ name: characters
+ sha256: e6a326c8af69605aec75ed6c187d06b349707a27fbff8222ca9cc2cff167975c
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.2.1"
+ clock:
+ dependency: transitive
+ description:
+ name: clock
+ sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.1.1"
+ collection:
+ dependency: transitive
+ description:
+ name: collection
+ sha256: cfc915e6923fe5ce6e153b0723c753045de46de1b4d63771530504004a45fae0
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.17.0"
+ cupertino_icons:
+ dependency: "direct main"
+ description:
+ name: cupertino_icons
+ sha256: e35129dc44c9118cee2a5603506d823bab99c68393879edb440e0090d07586be
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.0.5"
+ dio:
+ dependency: "direct main"
+ description:
+ name: dio
+ sha256: "3709d74615bba5e443eb141f6a7f4bcc4788f8fae6f743edadfb79c2a8e6287e"
+ url: "https://pub.dev"
+ source: hosted
+ version: "5.0.1"
+ fake_async:
+ dependency: transitive
+ description:
+ name: fake_async
+ sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78"
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.3.1"
+ flutter:
+ dependency: "direct main"
+ description: flutter
+ source: sdk
+ version: "0.0.0"
+ flutter_lints:
+ dependency: "direct dev"
+ description:
+ name: flutter_lints
+ sha256: aeb0b80a8b3709709c9cc496cdc027c5b3216796bc0af0ce1007eaf24464fd4c
+ url: "https://pub.dev"
+ source: hosted
+ version: "2.0.1"
+ flutter_test:
+ dependency: "direct dev"
+ description: flutter
+ source: sdk
+ version: "0.0.0"
+ get:
+ dependency: "direct main"
+ description:
+ name: get
+ sha256: "2ba20a47c8f1f233bed775ba2dd0d3ac97b4cf32fc17731b3dfc672b06b0e92a"
+ url: "https://pub.dev"
+ source: hosted
+ version: "4.6.5"
+ http_parser:
+ dependency: transitive
+ description:
+ name: http_parser
+ sha256: "2aa08ce0341cc9b354a498388e30986515406668dbcc4f7c950c3e715496693b"
+ url: "https://pub.dev"
+ source: hosted
+ version: "4.0.2"
+ js:
+ dependency: transitive
+ description:
+ name: js
+ sha256: "5528c2f391ededb7775ec1daa69e65a2d61276f7552de2b5f7b8d34ee9fd4ab7"
+ url: "https://pub.dev"
+ source: hosted
+ version: "0.6.5"
+ lints:
+ dependency: transitive
+ description:
+ name: lints
+ sha256: "5e4a9cd06d447758280a8ac2405101e0e2094d2a1dbdd3756aec3fe7775ba593"
+ url: "https://pub.dev"
+ source: hosted
+ version: "2.0.1"
+ matcher:
+ dependency: transitive
+ description:
+ name: matcher
+ sha256: "16db949ceee371e9b99d22f88fa3a73c4e59fd0afed0bd25fc336eb76c198b72"
+ url: "https://pub.dev"
+ source: hosted
+ version: "0.12.13"
+ material_color_utilities:
+ dependency: transitive
+ description:
+ name: material_color_utilities
+ sha256: d92141dc6fe1dad30722f9aa826c7fbc896d021d792f80678280601aff8cf724
+ url: "https://pub.dev"
+ source: hosted
+ version: "0.2.0"
+ meta:
+ dependency: transitive
+ description:
+ name: meta
+ sha256: "6c268b42ed578a53088d834796959e4a1814b5e9e164f147f580a386e5decf42"
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.8.0"
+ path:
+ dependency: transitive
+ description:
+ name: path
+ sha256: db9d4f58c908a4ba5953fcee2ae317c94889433e5024c27ce74a37f94267945b
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.8.2"
+ sky_engine:
+ dependency: transitive
+ description: flutter
+ source: sdk
+ version: "0.0.99"
+ source_span:
+ dependency: transitive
+ description:
+ name: source_span
+ sha256: dd904f795d4b4f3b870833847c461801f6750a9fa8e61ea5ac53f9422b31f250
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.9.1"
+ stack_trace:
+ dependency: transitive
+ description:
+ name: stack_trace
+ sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.11.0"
+ stream_channel:
+ dependency: transitive
+ description:
+ name: stream_channel
+ sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8"
+ url: "https://pub.dev"
+ source: hosted
+ version: "2.1.1"
+ string_scanner:
+ dependency: transitive
+ description:
+ name: string_scanner
+ sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde"
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.2.0"
+ term_glyph:
+ dependency: transitive
+ description:
+ name: term_glyph
+ sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.2.1"
+ test_api:
+ dependency: transitive
+ description:
+ name: test_api
+ sha256: ad540f65f92caa91bf21dfc8ffb8c589d6e4dc0c2267818b4cc2792857706206
+ url: "https://pub.dev"
+ source: hosted
+ version: "0.4.16"
+ typed_data:
+ dependency: transitive
+ description:
+ name: typed_data
+ sha256: "26f87ade979c47a150c9eaab93ccd2bebe70a27dc0b4b29517f2904f04eb11a5"
+ url: "https://pub.dev"
+ source: hosted
+ version: "1.3.1"
+ vector_math:
+ dependency: transitive
+ description:
+ name: vector_math
+ sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803"
+ url: "https://pub.dev"
+ source: hosted
+ version: "2.1.4"
+sdks:
+ dart: ">=2.19.2 <3.0.0"
diff --git a/qualifica_challenge/pubspec.yaml b/qualifica_challenge/pubspec.yaml
new file mode 100644
index 0000000..5e1eae8
--- /dev/null
+++ b/qualifica_challenge/pubspec.yaml
@@ -0,0 +1,93 @@
+name: qualifica_challenge
+description: A new Flutter project.
+# The following line prevents the package from being accidentally published to
+# pub.dev using `flutter 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 is used as CFBundleVersion.
+# Read more about iOS versioning at
+# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
+# In Windows, build-name is used as the major, minor, and patch parts
+# of the product and file versions while build-number is used as the build suffix.
+version: 1.0.0+1
+
+environment:
+ sdk: '>=2.19.2 <3.0.0'
+
+# Dependencies specify other packages that your package needs in order to work.
+# To automatically upgrade your package dependencies to the latest versions
+# consider running `flutter pub upgrade --major-versions`. Alternatively,
+# dependencies can be manually updated by changing the version numbers below to
+# the latest version available on pub.dev. To see which dependencies have newer
+# versions available, run `flutter pub outdated`.
+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: ^1.0.2
+ dio: ^5.0.1
+ get: ^4.6.5
+
+dev_dependencies:
+ flutter_test:
+ sdk: flutter
+
+ # The "flutter_lints" package below contains a set of recommended lints to
+ # encourage good coding practices. The lint set provided by the package is
+ # activated in the `analysis_options.yaml` file located at the root of your
+ # package. See that file for information about deactivating specific lint
+ # rules and activating additional ones.
+ flutter_lints: ^2.0.0
+
+# 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 packages.
+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:
+ - assets/images/
+ # - images/a_dot_burr.jpeg
+ # - images/a_dot_ham.jpeg
+
+ # 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: Schyler
+ # fonts:
+ # - asset: fonts/Schyler-Regular.ttf
+ # - asset: fonts/Schyler-Italic.ttf
+ # style: italic
+ # - family: Trajan Pro
+ # fonts:
+ # - asset: fonts/TrajanPro.ttf
+ # - asset: fonts/TrajanPro_Bold.ttf
+ # weight: 700
+ #
+ # For details regarding fonts from package dependencies,
+ # see https://flutter.dev/custom-fonts/#from-packages
diff --git a/qualifica_challenge/test/app/data/repositories/get_films/get_films_repository_impl_test.dart b/qualifica_challenge/test/app/data/repositories/get_films/get_films_repository_impl_test.dart
new file mode 100644
index 0000000..e1c643f
--- /dev/null
+++ b/qualifica_challenge/test/app/data/repositories/get_films/get_films_repository_impl_test.dart
@@ -0,0 +1,54 @@
+import 'package:flutter_test/flutter_test.dart';
+import 'package:qualifica_challenge/app/data/models/films_model.dart';
+import 'package:qualifica_challenge/app/data/repositories/get_films/get_films_repository.dart';
+
+var films = FilmsModel(
+ title: 'A New Hope',
+ characters: ["https://swapi.dev/api/people/1/"],
+);
+
+List listFilms = [
+ FilmsModel(
+ title: 'A New Hope',
+ characters: [
+ "https://swapi.dev/api/people/1/",
+ "https://swapi.dev/api/people/2/"
+ ],
+ ),
+ FilmsModel(
+ title: 'The Empire Strikes Back',
+ characters: [
+ "https://swapi.dev/api/people/1/",
+ "https://swapi.dev/api/people/2/",
+ "https://swapi.dev/api/people/3/"
+ ],
+ ),
+];
+
+class GetFilmsRepositoryImpl implements GetFilmsRepository {
+ @override
+ Future getFilmsRepository(String url) async {
+ return films;
+ }
+
+ @override
+ Future> getFilmsCatalogRepository(String title) async {
+ return listFilms;
+ }
+}
+
+main() {
+ GetFilmsRepository repository = GetFilmsRepositoryImpl();
+
+ test("O teste deve retornar um model de films no repository.", () async {
+ final result = await repository.getFilmsRepository('');
+
+ expect(result, isA());
+ });
+
+ test("O teste deve retornar uma lista de films no repository.", () async {
+ final result = await repository.getFilmsCatalogRepository('');
+
+ expect(result, isA>());
+ });
+}
diff --git a/qualifica_challenge/test/app/data/repositories/get_homeworld/get_homeworld_repository_impl_test.dart b/qualifica_challenge/test/app/data/repositories/get_homeworld/get_homeworld_repository_impl_test.dart
new file mode 100644
index 0000000..03a2c99
--- /dev/null
+++ b/qualifica_challenge/test/app/data/repositories/get_homeworld/get_homeworld_repository_impl_test.dart
@@ -0,0 +1,22 @@
+import 'package:flutter_test/flutter_test.dart';
+import 'package:qualifica_challenge/app/data/models/homeworld_model.dart';
+import 'package:qualifica_challenge/app/data/repositories/get_homeworld/get_homeworld_repository.dart';
+
+var homeworld = HomeworldModel(name: 'Tatooine');
+
+class GetHomeworldRepositoryImpl implements GetHomeworldRepository {
+ @override
+ Future getHomeworldRepository(String url) async {
+ return homeworld;
+ }
+}
+
+main() {
+ GetHomeworldRepository repository = GetHomeworldRepositoryImpl();
+
+ test("O teste deve retornar um model de homeworld no repository.", () async {
+ final result = await repository.getHomeworldRepository('');
+
+ expect(result, isA());
+ });
+}
diff --git a/qualifica_challenge/test/app/data/repositories/get_people/get_people_repository_impl_test.dart b/qualifica_challenge/test/app/data/repositories/get_people/get_people_repository_impl_test.dart
new file mode 100644
index 0000000..5d202f6
--- /dev/null
+++ b/qualifica_challenge/test/app/data/repositories/get_people/get_people_repository_impl_test.dart
@@ -0,0 +1,103 @@
+import 'package:flutter_test/flutter_test.dart';
+import 'package:qualifica_challenge/app/data/models/people_model.dart';
+import 'package:qualifica_challenge/app/data/repositories/get_people/get_people_repository.dart';
+
+var people = PeopleModel(
+ name: 'Luke Skywalker',
+ height: '172',
+ mass: '77',
+ hairColor: 'blond',
+ skinColor: 'fair',
+ eyeColor: 'blue',
+ birthYear: '19BBY',
+ gender: 'male',
+ homeworld: 'https://swapi.dev/api/planets/1/',
+ films: [
+ 'https://swapi.dev/api/films/1/',
+ 'https://swapi.dev/api/films/2/',
+ 'https://swapi.dev/api/films/3/',
+ 'https://swapi.dev/api/films/6/'
+ ],
+ species: [],
+);
+
+List listPeople = [
+ PeopleModel(
+ name: 'Luke Skywalker',
+ height: '172',
+ mass: '77',
+ hairColor: 'blond',
+ skinColor: 'fair',
+ eyeColor: 'blue',
+ birthYear: '19BBY',
+ gender: 'male',
+ homeworld: 'https://swapi.dev/api/planets/1/',
+ films: [
+ 'https://swapi.dev/api/films/1/',
+ 'https://swapi.dev/api/films/2/',
+ 'https://swapi.dev/api/films/3/',
+ 'https://swapi.dev/api/films/6/'
+ ],
+ species: [],
+ ),
+ PeopleModel(
+ name: 'C-3PO',
+ height: '167',
+ mass: '75',
+ hairColor: 'n/a',
+ skinColor: 'gold',
+ eyeColor: 'yellow',
+ birthYear: '112BBY',
+ gender: 'n/a',
+ homeworld: 'https://swapi.dev/api/planets/1/',
+ films: [
+ 'https://swapi.dev/api/films/1/',
+ 'https://swapi.dev/api/films/2/',
+ 'https://swapi.dev/api/films/3/',
+ 'https://swapi.dev/api/films/4/',
+ 'https://swapi.dev/api/films/5/',
+ 'https://swapi.dev/api/films/6/'
+ ],
+ species: ["https://swapi.dev/api/species/2/"],
+ ),
+];
+
+class GetPeopleRepositoryImpl implements GetPeopleRepository {
+ @override
+ Future> getPeopleRepository() async {
+ return listPeople;
+ }
+
+ @override
+ Future> getPeopleNextIdRepository(int nextId) async {
+ return listPeople;
+ }
+
+ @override
+ Future getPeopleCatalogRepository(String url) async {
+ return people;
+ }
+}
+
+main() {
+ GetPeopleRepository repository = GetPeopleRepositoryImpl();
+
+ test("O teste deve retornar uma lista de people no repository.", () async {
+ final result = await repository.getPeopleRepository();
+
+ expect(result, isA>());
+ });
+
+ test("O teste deve retornar uma lista de people na próxima página.",
+ () async {
+ final result = await repository.getPeopleNextIdRepository(0);
+
+ expect(result, isA>());
+ });
+
+ test("O teste deve retornar um model de people no repository.", () async {
+ final result = await repository.getPeopleCatalogRepository('');
+
+ expect(result, isA());
+ });
+}
diff --git a/qualifica_challenge/test/app/data/repositories/get_species/get_species_repository_impl_test.dart b/qualifica_challenge/test/app/data/repositories/get_species/get_species_repository_impl_test.dart
new file mode 100644
index 0000000..9b711ec
--- /dev/null
+++ b/qualifica_challenge/test/app/data/repositories/get_species/get_species_repository_impl_test.dart
@@ -0,0 +1,22 @@
+import 'package:flutter_test/flutter_test.dart';
+import 'package:qualifica_challenge/app/data/models/species_model.dart';
+import 'package:qualifica_challenge/app/data/repositories/get_species/get_species_repository.dart';
+
+var species = SpeciesModel(name: 'Human');
+
+class GetSpeciesRepositoryImpl implements GetSpeciesRepository {
+ @override
+ Future getSpeciesRepository(String url) async {
+ return species;
+ }
+}
+
+main() {
+ GetSpeciesRepository repository = GetSpeciesRepositoryImpl();
+
+ test("O teste deve retornar um model de species no repository.", () async {
+ final result = await repository.getSpeciesRepository('');
+
+ expect(result, isA());
+ });
+}