├── .gitignore
├── .metadata
├── .vscode
└── settings.json
├── LICENSE
├── README.md
├── analysis_options.yaml
├── android
├── .gitignore
├── app
│ ├── build.gradle
│ └── src
│ │ ├── debug
│ │ └── AndroidManifest.xml
│ │ ├── main
│ │ ├── AndroidManifest.xml
│ │ ├── kotlin
│ │ │ └── com
│ │ │ │ └── example
│ │ │ │ └── quizwiz
│ │ │ │ └── MainActivity.kt
│ │ └── res
│ │ │ ├── drawable-v21
│ │ │ └── launch_background.xml
│ │ │ ├── drawable
│ │ │ └── launch_background.xml
│ │ │ ├── mipmap-hdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-mdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xhdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xxxhdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── values-night
│ │ │ └── styles.xml
│ │ │ └── values
│ │ │ └── styles.xml
│ │ └── profile
│ │ └── AndroidManifest.xml
├── build.gradle
├── build
│ └── ios
│ │ └── Pods.build
│ │ └── Release-iphonesimulator
│ │ ├── DKImagePickerController-DKImagePickerController.build
│ │ └── dgph
│ │ ├── DKImagePickerController.build
│ │ └── dgph
│ │ ├── DKPhotoGallery-DKPhotoGallery.build
│ │ └── dgph
│ │ ├── DKPhotoGallery.build
│ │ └── dgph
│ │ ├── Flutter.build
│ │ └── dgph
│ │ ├── Pods-Runner.build
│ │ └── dgph
│ │ ├── Pods-RunnerTests.build
│ │ └── dgph
│ │ ├── ReachabilitySwift.build
│ │ └── dgph
│ │ ├── SDWebImage.build
│ │ └── dgph
│ │ ├── SwiftyGif.build
│ │ └── dgph
│ │ ├── connectivity_plus.build
│ │ └── dgph
│ │ ├── file_picker.build
│ │ └── dgph
│ │ ├── isar_flutter_libs.build
│ │ └── dgph
│ │ ├── path_provider_foundation.build
│ │ └── dgph
│ │ └── pdf_text.build
│ │ └── dgph
├── gradle.properties
├── gradle
│ └── wrapper
│ │ └── gradle-wrapper.properties
└── settings.gradle
├── assets
├── 1697293737915 -completed.json
├── 93134-not-found.json
└── icon.jpeg
├── ios
├── .gitignore
├── Flutter
│ ├── AppFrameworkInfo.plist
│ ├── Debug.xcconfig
│ └── Release.xcconfig
├── Podfile
├── Podfile.lock
├── Runner.xcodeproj
│ ├── project.pbxproj
│ ├── project.xcworkspace
│ │ ├── contents.xcworkspacedata
│ │ └── xcshareddata
│ │ │ ├── IDEWorkspaceChecks.plist
│ │ │ └── WorkspaceSettings.xcsettings
│ └── xcshareddata
│ │ └── xcschemes
│ │ └── Runner.xcscheme
├── Runner.xcworkspace
│ ├── contents.xcworkspacedata
│ └── xcshareddata
│ │ ├── IDEWorkspaceChecks.plist
│ │ └── WorkspaceSettings.xcsettings
├── Runner
│ ├── AppDelegate.swift
│ ├── Assets.xcassets
│ │ ├── AppIcon.appiconset
│ │ │ ├── Contents.json
│ │ │ ├── Icon-App-1024x1024@1x.png
│ │ │ ├── Icon-App-20x20@1x.png
│ │ │ ├── Icon-App-20x20@2x.png
│ │ │ ├── Icon-App-20x20@3x.png
│ │ │ ├── Icon-App-29x29@1x.png
│ │ │ ├── Icon-App-29x29@2x.png
│ │ │ ├── Icon-App-29x29@3x.png
│ │ │ ├── Icon-App-40x40@1x.png
│ │ │ ├── Icon-App-40x40@2x.png
│ │ │ ├── Icon-App-40x40@3x.png
│ │ │ ├── Icon-App-50x50@1x.png
│ │ │ ├── Icon-App-50x50@2x.png
│ │ │ ├── Icon-App-57x57@1x.png
│ │ │ ├── Icon-App-57x57@2x.png
│ │ │ ├── Icon-App-60x60@2x.png
│ │ │ ├── Icon-App-60x60@3x.png
│ │ │ ├── Icon-App-72x72@1x.png
│ │ │ ├── Icon-App-72x72@2x.png
│ │ │ ├── Icon-App-76x76@1x.png
│ │ │ ├── Icon-App-76x76@2x.png
│ │ │ └── Icon-App-83.5x83.5@2x.png
│ │ └── LaunchImage.imageset
│ │ │ ├── Contents.json
│ │ │ ├── LaunchImage.png
│ │ │ ├── LaunchImage@2x.png
│ │ │ ├── LaunchImage@3x.png
│ │ │ └── README.md
│ ├── Base.lproj
│ │ ├── LaunchScreen.storyboard
│ │ └── Main.storyboard
│ ├── Info.plist
│ └── Runner-Bridging-Header.h
└── RunnerTests
│ └── RunnerTests.swift
├── lib
├── main.dart
└── src
│ ├── app.dart
│ ├── core
│ ├── core.dart
│ ├── errors
│ │ ├── exceptions.dart
│ │ └── failure.dart
│ ├── router
│ │ ├── route_generator.dart
│ │ └── routes.dart
│ ├── services
│ │ ├── internet_connection.dart
│ │ └── service_locator.dart
│ ├── theme
│ │ ├── app_theme.dart
│ │ └── cubit
│ │ │ └── theme_cubit.dart
│ ├── utils
│ │ ├── enums.dart
│ │ ├── network_constants.dart
│ │ ├── strings.dart
│ │ └── typdef.dart
│ └── widgets
│ │ ├── custom_snackbar.dart
│ │ ├── error_widget.dart
│ │ ├── loading_widget.dart
│ │ └── no_result_screen.dart
│ └── features
│ └── cards
│ ├── controller
│ ├── bloc
│ │ ├── cards_bloc.dart
│ │ ├── cards_events.dart
│ │ └── cards_state.dart
│ └── controller.dart
│ ├── data
│ ├── data.dart
│ ├── data_source
│ │ ├── local_data_source
│ │ │ ├── collection_local_data_source.dart
│ │ │ └── flashcard_local_data_source.dart
│ │ └── remote_data_source
│ │ │ ├── api_client.dart
│ │ │ └── remote_data_source.dart
│ ├── models
│ │ ├── card_calculation.dart
│ │ ├── edit_flashcard_parameters.dart
│ │ ├── flashcard_collection.dart
│ │ ├── flashcard_collection.g.dart
│ │ └── multiple_choice_quiz.dart
│ └── repository
│ │ ├── base_cards_repository.dart
│ │ └── cards_repository.dart
│ └── presentation
│ ├── presentation.dart
│ ├── screens
│ ├── create_flashcards_screen.dart
│ ├── edit_flashcard_screen.dart
│ ├── flashcards_list_screen.dart
│ ├── generated_flashcards_screen.dart
│ ├── home_screen.dart
│ ├── multiple_choice_quiz_screen.dart
│ ├── practice_cards_screen.dart
│ ├── review_result_screen.dart
│ └── writing_quiz_screen.dart
│ └── widgets
│ ├── create_flashcards_widgets
│ └── forms.dart
│ ├── flashcards_list_widgets
│ ├── custom_focused_menu_holder.dart
│ └── flashcard_widget.dart
│ ├── generated_flashcards
│ └── generated_flashcard_widget.dart
│ ├── home_screen_widgets
│ ├── collection_card_widget.dart
│ ├── collections_list_screen.dart
│ ├── combine_collection_dialog.dart
│ ├── create_collection_dialog.dart
│ ├── create_or_edit_collection_dialog.dart
│ └── edit_collection_dialog.dart
│ ├── multiple_choice_quiz_widgets
│ └── multiple_choice_body.dart
│ ├── practice_cards_widgets
│ ├── choose_quiz_dialog.dart
│ └── no_flashcards_to_review.dart
│ ├── review_result_widgets
│ └── review_bar.dart
│ └── writing_quiz_widgets
│ ├── answer_form_field.dart
│ ├── display_answer_widget.dart
│ └── display_question_widget.dart
├── pubspec.lock
├── pubspec.yaml
└── test
└── src
├── app_test.dart
├── features
└── cards
│ └── presentation
│ ├── screens
│ ├── create_flashcards_screen_test.dart
│ ├── edit_flashcards_screen_test.dart
│ ├── flashcards_list_screen_test.dart
│ ├── generated_flashcards_screen_test.dart
│ ├── home_screen_test.dart
│ ├── multiple_choice_quiz_screen_test.dart
│ ├── practice_cards_screen_test.dart
│ ├── review_result_screen_test.dart
│ └── writing_quiz_screen_test.dart
│ └── widgets
│ ├── create_flashcards_widgets
│ └── forms_test.dart
│ ├── flashcards_list_widgets
│ ├── custom_focus_menu_holder_test.dart
│ └── flashcard_widget_test.dart
│ ├── generated_flashcard_widget
│ └── generated_fashcard_widget_test.dart
│ └── home_screen_widgets
│ ├── collection_card_widget_test.dart
│ └── collection_list_screen_test.dart
└── tests_imports.dart
/.gitignore:
--------------------------------------------------------------------------------
1 | # Miscellaneous
2 | *.class
3 | *.log
4 | *.pyc
5 | *.swp
6 | .DS_Store
7 | .atom/
8 | .buildlog/
9 | .history
10 | .svn/
11 | migrate_working_dir/
12 |
13 | # IntelliJ related
14 | *.iml
15 | *.ipr
16 | *.iws
17 | .idea/
18 |
19 | # The .vscode folder contains launch configuration and tasks you configure in
20 | # VS Code which you may wish to be included in version control, so this line
21 | # is commented out by default.
22 | #.vscode/
23 |
24 | # Flutter/Dart/Pub related
25 | **/doc/api/
26 | **/ios/Flutter/.last_build_id
27 | .dart_tool/
28 | .flutter-plugins
29 | .flutter-plugins-dependencies
30 | .packages
31 | .pub-cache/
32 | .pub/
33 | /build/
34 |
35 | # Symbolication related
36 | app.*.symbols
37 |
38 | # Obfuscation related
39 | app.*.map.json
40 |
41 | # Android Studio will place build artifacts here
42 | /android/app/debug
43 | /android/app/profile
44 | /android/app/release
45 |
46 | private_key.dart
47 | *.env
--------------------------------------------------------------------------------
/.metadata:
--------------------------------------------------------------------------------
1 | # This file tracks properties of this Flutter project.
2 | # Used by Flutter tool to assess capabilities and perform upgrades etc.
3 | #
4 | # This file should be version controlled.
5 |
6 | version:
7 | revision: f92f44110e87bad5ff168335c36da6f6053036e6
8 | channel: stable
9 |
10 | project_type: app
11 |
12 | # Tracks metadata for the flutter migrate command
13 | migration:
14 | platforms:
15 | - platform: root
16 | create_revision: f92f44110e87bad5ff168335c36da6f6053036e6
17 | base_revision: f92f44110e87bad5ff168335c36da6f6053036e6
18 | - platform: android
19 | create_revision: f92f44110e87bad5ff168335c36da6f6053036e6
20 | base_revision: f92f44110e87bad5ff168335c36da6f6053036e6
21 | - platform: ios
22 | create_revision: f92f44110e87bad5ff168335c36da6f6053036e6
23 | base_revision: f92f44110e87bad5ff168335c36da6f6053036e6
24 | - platform: linux
25 | create_revision: f92f44110e87bad5ff168335c36da6f6053036e6
26 | base_revision: f92f44110e87bad5ff168335c36da6f6053036e6
27 | - platform: macos
28 | create_revision: f92f44110e87bad5ff168335c36da6f6053036e6
29 | base_revision: f92f44110e87bad5ff168335c36da6f6053036e6
30 | - platform: web
31 | create_revision: f92f44110e87bad5ff168335c36da6f6053036e6
32 | base_revision: f92f44110e87bad5ff168335c36da6f6053036e6
33 | - platform: windows
34 | create_revision: f92f44110e87bad5ff168335c36da6f6053036e6
35 | base_revision: f92f44110e87bad5ff168335c36da6f6053036e6
36 |
37 | # User provided section
38 |
39 | # List of Local paths (relative to this file) that should be
40 | # ignored by the migrate tool.
41 | #
42 | # Files that are not part of the templates will be ignored by default.
43 | unmanaged_files:
44 | - 'lib/main.dart'
45 | - 'ios/Runner.xcodeproj/project.pbxproj'
46 |
--------------------------------------------------------------------------------
/.vscode/settings.json:
--------------------------------------------------------------------------------
1 | {
2 | "cSpell.words": [
3 | "quizwiz",
4 | "typdef"
5 | ]
6 | }
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2023 Dev-Salem
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | ## Description
2 | QuizWiz is a flashcard app that utilizes the power of AI to make flashcards from documents.
3 |
4 | ## 📌 Features
5 | - Create, edit, and combine collections (deck).
6 | - Create cards manually or by uploading pdf files/pasting materials.
7 | - Review cards based on SM-2 algorithm
8 | - Practice reviewed cards using multiple choice or by writing them manually.
9 | - Light and dark themes.
10 |
11 | ## 📸 Screenshots
12 |
13 | | |  |
14 | |-------|--------|
15 | | |  |
16 | |  |  |
17 | || - |
18 |
19 |
20 |
21 |
22 |
23 | ## 📦 Packages & Technologies
24 |
25 | | Description | Package |
26 | | ---------| -------|
27 | | Architecture | Bloc Pattern|
28 | | State Management | [flutter_bloc](https://pub.dev/packages/flutter_bloc)
29 | | Dependency Injection | [get_it](https://pub.dev/packages/get_it)
30 | | Theming | [flex_color_scheme](https://pub.dev/packages/flex_color_scheme) |
31 | | Internet Connection | [connectivity_plus](https://pub.dev/packages/connectivity_plus) |
32 | | Functional Programming | [dartz](https://pub.dev/packages/dartz) |
33 | | database | [Isar](https://pub.dev/packages/isar) |
34 |
35 |
36 | ## 🩻 Project Structure
37 |
38 | ```
39 | lib
40 | |
41 | |_ 📁src
42 | |
43 | |__ 📁core
44 | | |__ 📁errors <- define errors and exceptions
45 | | |__ 📁router <- generated router & route names
46 | | |__ 📁services <- dependency injection & internet connection
47 | | |__ 📁theme <- define themes & dynamic theming
48 | | |__ 📁utils <- constants (enums, strings, etc..)
49 | | |__ 📁widgets <- widgets that are used in multiple screens
50 | |
51 | |__ 📁features
52 | |
53 | |__ 📁cards
54 | |__ 📁controller <- Bloc
55 | |__ 📁data <- data retrieval and caching
56 | | |__ 📁models <- business logic
57 | | |__ 📁data_source <- works with db and api
58 | | |__ 📁repository <- combine and map data
59 | |__ 📁presentation <- screens and widgets
60 | ```
61 |
62 | ## 🏃♂️ Install & Run The App
63 | 1. clone the project by running `git clone https://github.com/Dev-Salem/quizwiz.git` in your preferred directory
64 | 2. Run `flutter pub get`
65 | 3. Get an api key from [ChatPDF](https://www.chatpdf.com/docs/api/backend)
66 | 4. create .env file in the root directory and assign the key to `chatPdfApi`
67 | 5. Run `flutter_run`
68 |
69 |
70 | ## 💡 Contribution
71 | Feel free to add/request features by making a pull request, or by reporting bugs.
72 |
73 | ## 🗺️ Roadmap
74 | [✅] add widget tests
75 |
76 | [⏳] migrate to Go_Router
77 |
78 | [✅] use a new API (e.g ChatPDF)
79 |
80 | ## 🗞️ License
81 | MIT License
82 |
83 |
--------------------------------------------------------------------------------
/analysis_options.yaml:
--------------------------------------------------------------------------------
1 | # This file configures the analyzer, which statically analyzes Dart code to
2 | # check for errors, warnings, and lints.
3 | #
4 | # The issues identified by the analyzer are surfaced in the UI of Dart-enabled
5 | # IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be
6 | # invoked from the command line by running `flutter analyze`.
7 |
8 | # The following line activates a set of recommended lints for Flutter apps,
9 | # packages, and plugins designed to encourage good coding practices.
10 | include: package:flutter_lints/flutter.yaml
11 |
12 | linter:
13 | # The lint rules applied to this project can be customized in the
14 | # section below to disable rules from the `package:flutter_lints/flutter.yaml`
15 | # included above or to enable additional rules. A list of all available lints
16 | # and their documentation is published at
17 | # https://dart-lang.github.io/linter/lints/index.html.
18 | #
19 | # Instead of disabling a lint rule for the entire project in the
20 | # section below, it can also be suppressed for a single line of code
21 | # or a specific dart file by using the `// ignore: name_of_lint` and
22 | # `// ignore_for_file: name_of_lint` syntax on the line or in the file
23 | # producing the lint.
24 | rules:
25 | # avoid_print: false # Uncomment to disable the `avoid_print` rule
26 | # prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule
27 |
28 | # Additional information about this file can be found at
29 | # https://dart.dev/guides/language/analysis-options
30 |
--------------------------------------------------------------------------------
/android/.gitignore:
--------------------------------------------------------------------------------
1 | gradle-wrapper.jar
2 | /.gradle
3 | /captures/
4 | /gradlew
5 | /gradlew.bat
6 | /local.properties
7 | GeneratedPluginRegistrant.java
8 |
9 | # Remember to never publicly share your keystore.
10 | # See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app
11 | key.properties
12 | **/*.keystore
13 | **/*.jks
14 |
--------------------------------------------------------------------------------
/android/app/build.gradle:
--------------------------------------------------------------------------------
1 | def localProperties = new Properties()
2 | def localPropertiesFile = rootProject.file('local.properties')
3 | if (localPropertiesFile.exists()) {
4 | localPropertiesFile.withReader('UTF-8') { reader ->
5 | localProperties.load(reader)
6 | }
7 | }
8 |
9 | def flutterRoot = localProperties.getProperty('flutter.sdk')
10 | if (flutterRoot == null) {
11 | throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
12 | }
13 |
14 | def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
15 | if (flutterVersionCode == null) {
16 | flutterVersionCode = '1'
17 | }
18 |
19 | def flutterVersionName = localProperties.getProperty('flutter.versionName')
20 | if (flutterVersionName == null) {
21 | flutterVersionName = '1.0'
22 | }
23 |
24 | apply plugin: 'com.android.application'
25 | apply plugin: 'kotlin-android'
26 | apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
27 |
28 | android {
29 | namespace "com.example.quizwiz"
30 | compileSdkVersion flutter.compileSdkVersion
31 | ndkVersion flutter.ndkVersion
32 |
33 | compileOptions {
34 | sourceCompatibility JavaVersion.VERSION_1_8
35 | targetCompatibility JavaVersion.VERSION_1_8
36 | }
37 |
38 | kotlinOptions {
39 | jvmTarget = '1.8'
40 | }
41 |
42 | sourceSets {
43 | main.java.srcDirs += 'src/main/kotlin'
44 | }
45 |
46 | defaultConfig {
47 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
48 | applicationId "com.example.quizwiz"
49 | // You can update the following values to match your application needs.
50 | // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
51 | minSdkVersion 19
52 | targetSdkVersion 33
53 | versionCode flutterVersionCode.toInteger()
54 | versionName flutterVersionName
55 | }
56 |
57 | buildTypes {
58 | release {
59 | // TODO: Add your own signing config for the release build.
60 | // Signing with the debug keys for now, so `flutter run --release` works.
61 | signingConfig signingConfigs.debug
62 | }
63 | }
64 | }
65 |
66 | flutter {
67 | source '../..'
68 | }
69 |
70 | dependencies {
71 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
72 | }
73 |
--------------------------------------------------------------------------------
/android/app/src/debug/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/android/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
14 |
18 |
22 |
23 |
24 |
25 |
26 |
27 |
29 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/android/app/src/main/kotlin/com/example/quizwiz/MainActivity.kt:
--------------------------------------------------------------------------------
1 | package com.example.quizwiz
2 |
3 | import io.flutter.embedding.android.FlutterActivity
4 |
5 | class MainActivity: FlutterActivity() {
6 | }
7 |
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable-v21/launch_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
12 |
13 |
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable/launch_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
12 |
13 |
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Dev-Salem/quizwiz/f2ea0575758acdf1a092c2b20f294bb850e3e503/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Dev-Salem/quizwiz/f2ea0575758acdf1a092c2b20f294bb850e3e503/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Dev-Salem/quizwiz/f2ea0575758acdf1a092c2b20f294bb850e3e503/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Dev-Salem/quizwiz/f2ea0575758acdf1a092c2b20f294bb850e3e503/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Dev-Salem/quizwiz/f2ea0575758acdf1a092c2b20f294bb850e3e503/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/values-night/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
15 |
18 |
19 |
--------------------------------------------------------------------------------
/android/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
15 |
18 |
19 |
--------------------------------------------------------------------------------
/android/app/src/profile/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/android/build.gradle:
--------------------------------------------------------------------------------
1 | buildscript {
2 | ext.kotlin_version = '1.7.10'
3 | repositories {
4 | google()
5 | mavenCentral()
6 | }
7 |
8 | dependencies {
9 | classpath 'com.android.tools.build:gradle:7.3.0'
10 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
11 | }
12 | }
13 |
14 | allprojects {
15 | repositories {
16 | google()
17 | mavenCentral()
18 | }
19 | }
20 |
21 | rootProject.buildDir = '../build'
22 | subprojects {
23 | project.buildDir = "${rootProject.buildDir}/${project.name}"
24 | }
25 | subprojects {
26 | project.evaluationDependsOn(':app')
27 | }
28 |
29 | tasks.register("clean", Delete) {
30 | delete rootProject.buildDir
31 | }
32 |
--------------------------------------------------------------------------------
/android/build/ios/Pods.build/Release-iphonesimulator/DKImagePickerController-DKImagePickerController.build/dgph:
--------------------------------------------------------------------------------
1 | DGPH1.04Mar 24 202300:10:16 / Users devsalem Desktop flutter_projects quizwiz ios Pods
--------------------------------------------------------------------------------
/android/build/ios/Pods.build/Release-iphonesimulator/DKImagePickerController.build/dgph:
--------------------------------------------------------------------------------
1 | DGPH1.04Mar 24 202300:10:16 / Users devsalem Desktop flutter_projects quizwiz ios Pods
--------------------------------------------------------------------------------
/android/build/ios/Pods.build/Release-iphonesimulator/DKPhotoGallery-DKPhotoGallery.build/dgph:
--------------------------------------------------------------------------------
1 | DGPH1.04Mar 24 202300:10:16 / Users devsalem Desktop flutter_projects quizwiz ios Pods
--------------------------------------------------------------------------------
/android/build/ios/Pods.build/Release-iphonesimulator/DKPhotoGallery.build/dgph:
--------------------------------------------------------------------------------
1 | DGPH1.04Mar 24 202300:10:16 / Users devsalem Desktop flutter_projects quizwiz ios Pods
--------------------------------------------------------------------------------
/android/build/ios/Pods.build/Release-iphonesimulator/Flutter.build/dgph:
--------------------------------------------------------------------------------
1 | DGPH1.04Mar 24 202300:10:16 / Users devsalem Desktop flutter_projects quizwiz ios Pods
--------------------------------------------------------------------------------
/android/build/ios/Pods.build/Release-iphonesimulator/Pods-Runner.build/dgph:
--------------------------------------------------------------------------------
1 | DGPH1.04Mar 24 202300:10:16 / Users devsalem Desktop flutter_projects quizwiz ios Pods
--------------------------------------------------------------------------------
/android/build/ios/Pods.build/Release-iphonesimulator/Pods-RunnerTests.build/dgph:
--------------------------------------------------------------------------------
1 | DGPH1.04Mar 24 202300:10:16 / Users devsalem Desktop flutter_projects quizwiz ios Pods
--------------------------------------------------------------------------------
/android/build/ios/Pods.build/Release-iphonesimulator/ReachabilitySwift.build/dgph:
--------------------------------------------------------------------------------
1 | DGPH1.04Mar 24 202300:10:16 / Users devsalem Desktop flutter_projects quizwiz ios Pods
--------------------------------------------------------------------------------
/android/build/ios/Pods.build/Release-iphonesimulator/SDWebImage.build/dgph:
--------------------------------------------------------------------------------
1 | DGPH1.04Mar 24 202300:10:16 / Users devsalem Desktop flutter_projects quizwiz ios Pods
--------------------------------------------------------------------------------
/android/build/ios/Pods.build/Release-iphonesimulator/SwiftyGif.build/dgph:
--------------------------------------------------------------------------------
1 | DGPH1.04Mar 24 202300:10:16 / Users devsalem Desktop flutter_projects quizwiz ios Pods
--------------------------------------------------------------------------------
/android/build/ios/Pods.build/Release-iphonesimulator/connectivity_plus.build/dgph:
--------------------------------------------------------------------------------
1 | DGPH1.04Mar 24 202300:10:16 / Users devsalem Desktop flutter_projects quizwiz ios Pods
--------------------------------------------------------------------------------
/android/build/ios/Pods.build/Release-iphonesimulator/file_picker.build/dgph:
--------------------------------------------------------------------------------
1 | DGPH1.04Mar 24 202300:10:16 / Users devsalem Desktop flutter_projects quizwiz ios Pods
--------------------------------------------------------------------------------
/android/build/ios/Pods.build/Release-iphonesimulator/isar_flutter_libs.build/dgph:
--------------------------------------------------------------------------------
1 | DGPH1.04Mar 24 202300:10:16 / Users devsalem Desktop flutter_projects quizwiz ios Pods
--------------------------------------------------------------------------------
/android/build/ios/Pods.build/Release-iphonesimulator/path_provider_foundation.build/dgph:
--------------------------------------------------------------------------------
1 | DGPH1.04Mar 24 202300:10:16 / Users devsalem Desktop flutter_projects quizwiz ios Pods
--------------------------------------------------------------------------------
/android/build/ios/Pods.build/Release-iphonesimulator/pdf_text.build/dgph:
--------------------------------------------------------------------------------
1 | DGPH1.04Mar 24 202300:10:16 / Users devsalem Desktop flutter_projects quizwiz ios Pods
--------------------------------------------------------------------------------
/android/gradle.properties:
--------------------------------------------------------------------------------
1 | org.gradle.jvmargs=-Xmx1536M
2 | android.useAndroidX=true
3 | android.enableJetifier=true
4 |
--------------------------------------------------------------------------------
/android/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | distributionBase=GRADLE_USER_HOME
2 | distributionPath=wrapper/dists
3 | zipStoreBase=GRADLE_USER_HOME
4 | zipStorePath=wrapper/dists
5 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip
6 |
--------------------------------------------------------------------------------
/android/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
3 | def localPropertiesFile = new File(rootProject.projectDir, "local.properties")
4 | def properties = new Properties()
5 |
6 | assert localPropertiesFile.exists()
7 | localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) }
8 |
9 | def flutterSdkPath = properties.getProperty("flutter.sdk")
10 | assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
11 | apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle"
12 |
--------------------------------------------------------------------------------
/assets/icon.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Dev-Salem/quizwiz/f2ea0575758acdf1a092c2b20f294bb850e3e503/assets/icon.jpeg
--------------------------------------------------------------------------------
/ios/.gitignore:
--------------------------------------------------------------------------------
1 | **/dgph
2 | *.mode1v3
3 | *.mode2v3
4 | *.moved-aside
5 | *.pbxuser
6 | *.perspectivev3
7 | **/*sync/
8 | .sconsign.dblite
9 | .tags*
10 | **/.vagrant/
11 | **/DerivedData/
12 | Icon?
13 | **/Pods/
14 | **/.symlinks/
15 | profile
16 | xcuserdata
17 | **/.generated/
18 | Flutter/App.framework
19 | Flutter/Flutter.framework
20 | Flutter/Flutter.podspec
21 | Flutter/Generated.xcconfig
22 | Flutter/ephemeral/
23 | Flutter/app.flx
24 | Flutter/app.zip
25 | Flutter/flutter_assets/
26 | Flutter/flutter_export_environment.sh
27 | ServiceDefinitions.json
28 | Runner/GeneratedPluginRegistrant.*
29 |
30 | # Exceptions to above rules.
31 | !default.mode1v3
32 | !default.mode2v3
33 | !default.pbxuser
34 | !default.perspectivev3
35 |
--------------------------------------------------------------------------------
/ios/Flutter/AppFrameworkInfo.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | App
9 | CFBundleIdentifier
10 | io.flutter.flutter.app
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | App
15 | CFBundlePackageType
16 | FMWK
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1.0
23 | MinimumOSVersion
24 | 11.0
25 |
26 |
27 |
--------------------------------------------------------------------------------
/ios/Flutter/Debug.xcconfig:
--------------------------------------------------------------------------------
1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
2 | #include "Generated.xcconfig"
3 |
--------------------------------------------------------------------------------
/ios/Flutter/Release.xcconfig:
--------------------------------------------------------------------------------
1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
2 | #include "Generated.xcconfig"
3 |
--------------------------------------------------------------------------------
/ios/Podfile:
--------------------------------------------------------------------------------
1 | # Uncomment this line to define a global platform for your project
2 | # platform :ios, '11.0'
3 |
4 | # CocoaPods analytics sends network stats synchronously affecting flutter build latency.
5 | ENV['COCOAPODS_DISABLE_STATS'] = 'true'
6 |
7 | project 'Runner', {
8 | 'Debug' => :debug,
9 | 'Profile' => :release,
10 | 'Release' => :release,
11 | }
12 |
13 | def flutter_root
14 | generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
15 | unless File.exist?(generated_xcode_build_settings_path)
16 | raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
17 | end
18 |
19 | File.foreach(generated_xcode_build_settings_path) do |line|
20 | matches = line.match(/FLUTTER_ROOT\=(.*)/)
21 | return matches[1].strip if matches
22 | end
23 | raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
24 | end
25 |
26 | require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)
27 |
28 | flutter_ios_podfile_setup
29 |
30 | target 'Runner' do
31 | use_frameworks!
32 | use_modular_headers!
33 |
34 | flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
35 | target 'RunnerTests' do
36 | inherit! :search_paths
37 | end
38 | end
39 |
40 | post_install do |installer|
41 | installer.pods_project.targets.each do |target|
42 | flutter_additional_ios_build_settings(target)
43 | end
44 | end
45 |
--------------------------------------------------------------------------------
/ios/Podfile.lock:
--------------------------------------------------------------------------------
1 | PODS:
2 | - connectivity_plus (0.0.1):
3 | - Flutter
4 | - ReachabilitySwift
5 | - DKImagePickerController/Core (4.3.4):
6 | - DKImagePickerController/ImageDataManager
7 | - DKImagePickerController/Resource
8 | - DKImagePickerController/ImageDataManager (4.3.4)
9 | - DKImagePickerController/PhotoGallery (4.3.4):
10 | - DKImagePickerController/Core
11 | - DKPhotoGallery
12 | - DKImagePickerController/Resource (4.3.4)
13 | - DKPhotoGallery (0.0.17):
14 | - DKPhotoGallery/Core (= 0.0.17)
15 | - DKPhotoGallery/Model (= 0.0.17)
16 | - DKPhotoGallery/Preview (= 0.0.17)
17 | - DKPhotoGallery/Resource (= 0.0.17)
18 | - SDWebImage
19 | - SwiftyGif
20 | - DKPhotoGallery/Core (0.0.17):
21 | - DKPhotoGallery/Model
22 | - DKPhotoGallery/Preview
23 | - SDWebImage
24 | - SwiftyGif
25 | - DKPhotoGallery/Model (0.0.17):
26 | - SDWebImage
27 | - SwiftyGif
28 | - DKPhotoGallery/Preview (0.0.17):
29 | - DKPhotoGallery/Model
30 | - DKPhotoGallery/Resource
31 | - SDWebImage
32 | - SwiftyGif
33 | - DKPhotoGallery/Resource (0.0.17):
34 | - SDWebImage
35 | - SwiftyGif
36 | - file_picker (0.0.1):
37 | - DKImagePickerController/PhotoGallery
38 | - Flutter
39 | - Flutter (1.0.0)
40 | - isar_flutter_libs (1.0.0):
41 | - Flutter
42 | - path_provider_foundation (0.0.1):
43 | - Flutter
44 | - FlutterMacOS
45 | - ReachabilitySwift (5.0.0)
46 | - read_pdf_text (0.0.1):
47 | - Flutter
48 | - SDWebImage (5.16.0):
49 | - SDWebImage/Core (= 5.16.0)
50 | - SDWebImage/Core (5.16.0)
51 | - SwiftyGif (5.4.4)
52 |
53 | DEPENDENCIES:
54 | - connectivity_plus (from `.symlinks/plugins/connectivity_plus/ios`)
55 | - file_picker (from `.symlinks/plugins/file_picker/ios`)
56 | - Flutter (from `Flutter`)
57 | - isar_flutter_libs (from `.symlinks/plugins/isar_flutter_libs/ios`)
58 | - path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/darwin`)
59 | - read_pdf_text (from `.symlinks/plugins/read_pdf_text/ios`)
60 |
61 | SPEC REPOS:
62 | trunk:
63 | - DKImagePickerController
64 | - DKPhotoGallery
65 | - ReachabilitySwift
66 | - SDWebImage
67 | - SwiftyGif
68 |
69 | EXTERNAL SOURCES:
70 | connectivity_plus:
71 | :path: ".symlinks/plugins/connectivity_plus/ios"
72 | file_picker:
73 | :path: ".symlinks/plugins/file_picker/ios"
74 | Flutter:
75 | :path: Flutter
76 | isar_flutter_libs:
77 | :path: ".symlinks/plugins/isar_flutter_libs/ios"
78 | path_provider_foundation:
79 | :path: ".symlinks/plugins/path_provider_foundation/darwin"
80 | read_pdf_text:
81 | :path: ".symlinks/plugins/read_pdf_text/ios"
82 |
83 | SPEC CHECKSUMS:
84 | connectivity_plus: 07c49e96d7fc92bc9920617b83238c4d178b446a
85 | DKImagePickerController: b512c28220a2b8ac7419f21c491fc8534b7601ac
86 | DKPhotoGallery: fdfad5125a9fdda9cc57df834d49df790dbb4179
87 | file_picker: ce3938a0df3cc1ef404671531facef740d03f920
88 | Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854
89 | isar_flutter_libs: b69f437aeab9c521821c3f376198c4371fa21073
90 | path_provider_foundation: eaf5b3e458fc0e5fbb9940fb09980e853fe058b8
91 | ReachabilitySwift: 985039c6f7b23a1da463388634119492ff86c825
92 | read_pdf_text: e29ee5e80e1dad2f855cdbfc0cbb2097a1cae569
93 | SDWebImage: 2aea163b50bfcb569a2726b6a754c54a4506fcf6
94 | SwiftyGif: 93a1cc87bf3a51916001cf8f3d63835fb64c819f
95 |
96 | PODFILE CHECKSUM: 70d9d25280d0dd177a5f637cdb0f0b0b12c6a189
97 |
98 | COCOAPODS: 1.12.1
99 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PreviewsEnabled
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
24 |
25 |
30 |
31 |
37 |
38 |
39 |
40 |
43 |
49 |
50 |
51 |
52 |
53 |
63 |
65 |
71 |
72 |
73 |
74 |
80 |
82 |
88 |
89 |
90 |
91 |
93 |
94 |
97 |
98 |
99 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PreviewsEnabled
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | import UIKit
2 | import Flutter
3 |
4 | @UIApplicationMain
5 | @objc class AppDelegate: FlutterAppDelegate {
6 | override func application(
7 | _ application: UIApplication,
8 | didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
9 | ) -> Bool {
10 | GeneratedPluginRegistrant.register(with: self)
11 | return super.application(application, didFinishLaunchingWithOptions: launchOptions)
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "size" : "20x20",
5 | "idiom" : "iphone",
6 | "filename" : "Icon-App-20x20@2x.png",
7 | "scale" : "2x"
8 | },
9 | {
10 | "size" : "20x20",
11 | "idiom" : "iphone",
12 | "filename" : "Icon-App-20x20@3x.png",
13 | "scale" : "3x"
14 | },
15 | {
16 | "size" : "29x29",
17 | "idiom" : "iphone",
18 | "filename" : "Icon-App-29x29@1x.png",
19 | "scale" : "1x"
20 | },
21 | {
22 | "size" : "29x29",
23 | "idiom" : "iphone",
24 | "filename" : "Icon-App-29x29@2x.png",
25 | "scale" : "2x"
26 | },
27 | {
28 | "size" : "29x29",
29 | "idiom" : "iphone",
30 | "filename" : "Icon-App-29x29@3x.png",
31 | "scale" : "3x"
32 | },
33 | {
34 | "size" : "40x40",
35 | "idiom" : "iphone",
36 | "filename" : "Icon-App-40x40@2x.png",
37 | "scale" : "2x"
38 | },
39 | {
40 | "size" : "40x40",
41 | "idiom" : "iphone",
42 | "filename" : "Icon-App-40x40@3x.png",
43 | "scale" : "3x"
44 | },
45 | {
46 | "size" : "60x60",
47 | "idiom" : "iphone",
48 | "filename" : "Icon-App-60x60@2x.png",
49 | "scale" : "2x"
50 | },
51 | {
52 | "size" : "60x60",
53 | "idiom" : "iphone",
54 | "filename" : "Icon-App-60x60@3x.png",
55 | "scale" : "3x"
56 | },
57 | {
58 | "size" : "20x20",
59 | "idiom" : "ipad",
60 | "filename" : "Icon-App-20x20@1x.png",
61 | "scale" : "1x"
62 | },
63 | {
64 | "size" : "20x20",
65 | "idiom" : "ipad",
66 | "filename" : "Icon-App-20x20@2x.png",
67 | "scale" : "2x"
68 | },
69 | {
70 | "size" : "29x29",
71 | "idiom" : "ipad",
72 | "filename" : "Icon-App-29x29@1x.png",
73 | "scale" : "1x"
74 | },
75 | {
76 | "size" : "29x29",
77 | "idiom" : "ipad",
78 | "filename" : "Icon-App-29x29@2x.png",
79 | "scale" : "2x"
80 | },
81 | {
82 | "size" : "40x40",
83 | "idiom" : "ipad",
84 | "filename" : "Icon-App-40x40@1x.png",
85 | "scale" : "1x"
86 | },
87 | {
88 | "size" : "40x40",
89 | "idiom" : "ipad",
90 | "filename" : "Icon-App-40x40@2x.png",
91 | "scale" : "2x"
92 | },
93 | {
94 | "size" : "76x76",
95 | "idiom" : "ipad",
96 | "filename" : "Icon-App-76x76@1x.png",
97 | "scale" : "1x"
98 | },
99 | {
100 | "size" : "76x76",
101 | "idiom" : "ipad",
102 | "filename" : "Icon-App-76x76@2x.png",
103 | "scale" : "2x"
104 | },
105 | {
106 | "size" : "83.5x83.5",
107 | "idiom" : "ipad",
108 | "filename" : "Icon-App-83.5x83.5@2x.png",
109 | "scale" : "2x"
110 | },
111 | {
112 | "size" : "1024x1024",
113 | "idiom" : "ios-marketing",
114 | "filename" : "Icon-App-1024x1024@1x.png",
115 | "scale" : "1x"
116 | }
117 | ],
118 | "info" : {
119 | "version" : 1,
120 | "author" : "xcode"
121 | }
122 | }
123 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Dev-Salem/quizwiz/f2ea0575758acdf1a092c2b20f294bb850e3e503/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Dev-Salem/quizwiz/f2ea0575758acdf1a092c2b20f294bb850e3e503/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Dev-Salem/quizwiz/f2ea0575758acdf1a092c2b20f294bb850e3e503/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Dev-Salem/quizwiz/f2ea0575758acdf1a092c2b20f294bb850e3e503/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Dev-Salem/quizwiz/f2ea0575758acdf1a092c2b20f294bb850e3e503/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Dev-Salem/quizwiz/f2ea0575758acdf1a092c2b20f294bb850e3e503/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Dev-Salem/quizwiz/f2ea0575758acdf1a092c2b20f294bb850e3e503/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Dev-Salem/quizwiz/f2ea0575758acdf1a092c2b20f294bb850e3e503/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Dev-Salem/quizwiz/f2ea0575758acdf1a092c2b20f294bb850e3e503/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Dev-Salem/quizwiz/f2ea0575758acdf1a092c2b20f294bb850e3e503/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-50x50@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Dev-Salem/quizwiz/f2ea0575758acdf1a092c2b20f294bb850e3e503/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-50x50@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-50x50@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Dev-Salem/quizwiz/f2ea0575758acdf1a092c2b20f294bb850e3e503/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-50x50@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Dev-Salem/quizwiz/f2ea0575758acdf1a092c2b20f294bb850e3e503/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Dev-Salem/quizwiz/f2ea0575758acdf1a092c2b20f294bb850e3e503/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Dev-Salem/quizwiz/f2ea0575758acdf1a092c2b20f294bb850e3e503/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Dev-Salem/quizwiz/f2ea0575758acdf1a092c2b20f294bb850e3e503/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Dev-Salem/quizwiz/f2ea0575758acdf1a092c2b20f294bb850e3e503/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Dev-Salem/quizwiz/f2ea0575758acdf1a092c2b20f294bb850e3e503/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Dev-Salem/quizwiz/f2ea0575758acdf1a092c2b20f294bb850e3e503/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Dev-Salem/quizwiz/f2ea0575758acdf1a092c2b20f294bb850e3e503/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Dev-Salem/quizwiz/f2ea0575758acdf1a092c2b20f294bb850e3e503/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "LaunchImage.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "filename" : "LaunchImage@2x.png",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "universal",
15 | "filename" : "LaunchImage@3x.png",
16 | "scale" : "3x"
17 | }
18 | ],
19 | "info" : {
20 | "version" : 1,
21 | "author" : "xcode"
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Dev-Salem/quizwiz/f2ea0575758acdf1a092c2b20f294bb850e3e503/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Dev-Salem/quizwiz/f2ea0575758acdf1a092c2b20f294bb850e3e503/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Dev-Salem/quizwiz/f2ea0575758acdf1a092c2b20f294bb850e3e503/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md:
--------------------------------------------------------------------------------
1 | # Launch Screen Assets
2 |
3 | You can customize the launch screen with your own desired assets by replacing the image files in this directory.
4 |
5 | You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images.
--------------------------------------------------------------------------------
/ios/Runner/Base.lproj/LaunchScreen.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/ios/Runner/Base.lproj/Main.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/ios/Runner/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleDisplayName
8 | Quizwiz
9 | CFBundleExecutable
10 | $(EXECUTABLE_NAME)
11 | CFBundleIdentifier
12 | $(PRODUCT_BUNDLE_IDENTIFIER)
13 | CFBundleInfoDictionaryVersion
14 | 6.0
15 | CFBundleName
16 | quizwiz
17 | CFBundlePackageType
18 | APPL
19 | CFBundleShortVersionString
20 | $(FLUTTER_BUILD_NAME)
21 | CFBundleSignature
22 | ????
23 | CFBundleVersion
24 | $(FLUTTER_BUILD_NUMBER)
25 | LSRequiresIPhoneOS
26 |
27 | UILaunchStoryboardName
28 | LaunchScreen
29 | UIMainStoryboardFile
30 | Main
31 | UISupportedInterfaceOrientations
32 |
33 | UIInterfaceOrientationPortrait
34 | UIInterfaceOrientationLandscapeLeft
35 | UIInterfaceOrientationLandscapeRight
36 |
37 | UISupportedInterfaceOrientations~ipad
38 |
39 | UIInterfaceOrientationPortrait
40 | UIInterfaceOrientationPortraitUpsideDown
41 | UIInterfaceOrientationLandscapeLeft
42 | UIInterfaceOrientationLandscapeRight
43 |
44 | UIViewControllerBasedStatusBarAppearance
45 |
46 | CADisableMinimumFrameDurationOnPhone
47 |
48 | UIApplicationSupportsIndirectInputEvents
49 |
50 |
51 |
52 |
--------------------------------------------------------------------------------
/ios/Runner/Runner-Bridging-Header.h:
--------------------------------------------------------------------------------
1 | #import "GeneratedPluginRegistrant.h"
2 |
--------------------------------------------------------------------------------
/ios/RunnerTests/RunnerTests.swift:
--------------------------------------------------------------------------------
1 | import Flutter
2 | import UIKit
3 | import XCTest
4 |
5 | class RunnerTests: XCTestCase {
6 |
7 | func testExample() {
8 | // If you add code to the Runner application, consider adding tests here.
9 | // See https://developer.apple.com/documentation/xctest for more information about using XCTest.
10 | }
11 |
12 | }
13 |
--------------------------------------------------------------------------------
/lib/main.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:quizwiz/src/app.dart';
3 | import 'package:quizwiz/src/core/core.dart';
4 | import 'package:path_provider/path_provider.dart';
5 | import 'package:quizwiz/src/features/cards/controller/controller.dart';
6 | import 'src/features/cards/data/data.dart';
7 | import 'package:flutter_dotenv/flutter_dotenv.dart';
8 |
9 | Future main() async {
10 | await _initialize();
11 | runApp(QuizWizApp(
12 | cardsBloc: sl()..add(const GetCollectionsEvent()),
13 | themeCubit: sl(),
14 | ));
15 | }
16 |
17 | Future _openIsarBox() async {
18 | final dir = await getApplicationDocumentsDirectory();
19 | await Isar.open([FlashcardCollectionSchema], directory: dir.path);
20 | }
21 |
22 | Future _initialize() async {
23 | await dotenv.load(fileName: ".env");
24 | ServiceLocator().init();
25 | WidgetsFlutterBinding.ensureInitialized();
26 | await _openIsarBox();
27 | }
28 |
--------------------------------------------------------------------------------
/lib/src/app.dart:
--------------------------------------------------------------------------------
1 | // ignore_for_file: public_member_api_docs, sort_constructors_first
2 | import 'package:quizwiz/src/core/core.dart';
3 | import 'package:quizwiz/src/features/cards/presentation/presentation.dart';
4 |
5 | import 'features/cards/controller/controller.dart';
6 |
7 | class QuizWizApp extends StatelessWidget {
8 | final CardsBloc cardsBloc;
9 | final ThemeCubit themeCubit;
10 | const QuizWizApp({
11 | Key? key,
12 | required this.cardsBloc,
13 | required this.themeCubit,
14 | }) : super(key: key);
15 |
16 | @override
17 | Widget build(BuildContext context) {
18 | return MultiBlocProvider(
19 | providers: [
20 | BlocProvider(
21 | create: (_) => cardsBloc,
22 | ),
23 | BlocProvider(create: (_) => themeCubit)
24 | ],
25 | child: Builder(builder: (context) {
26 | return MaterialApp(
27 | debugShowCheckedModeBanner: false,
28 | themeMode: context.watch().state,
29 | onGenerateRoute: (settings) =>
30 | RouteGenerator.generateRoute(settings),
31 | theme: AppTheme.lightTheme(),
32 | darkTheme: AppTheme.darkTheme(),
33 | home: const HomeScreen());
34 | }),
35 | );
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/lib/src/core/core.dart:
--------------------------------------------------------------------------------
1 | export 'package:quizwiz/src/core/theme/cubit/theme_cubit.dart';
2 | export 'package:quizwiz/src/core/services/service_locator.dart';
3 | export 'package:quizwiz/src/core/router/routes.dart';
4 | export 'package:quizwiz/src/core/router/route_generator.dart';
5 | export 'package:quizwiz/src/core/errors/failure.dart';
6 | export 'package:quizwiz/src/core/theme/app_theme.dart';
7 | export 'package:quizwiz/src/core/utils/enums.dart';
8 | export 'package:quizwiz/src/core/utils/strings.dart';
9 | export 'package:quizwiz/src/core/utils/typdef.dart';
10 | export 'package:quizwiz/src/core/widgets/custom_snackbar.dart';
11 | export 'package:quizwiz/src/core/widgets/error_widget.dart';
12 | export 'package:quizwiz/src/core/widgets/loading_widget.dart';
13 | export 'package:quizwiz/src/core/widgets/no_result_screen.dart';
14 | export 'package:quizwiz/src/core/errors/exceptions.dart';
15 | export 'package:quizwiz/src/core/services/internet_connection.dart';
16 | export 'package:quizwiz/src/core/utils/network_constants.dart';
17 |
--------------------------------------------------------------------------------
/lib/src/core/errors/exceptions.dart:
--------------------------------------------------------------------------------
1 | // ignore_for_file: public_member_api_docs, sort_constructors_first
2 | class LocalStorageException implements Exception {
3 | final String message;
4 |
5 | const LocalStorageException({
6 | required this.message,
7 | });
8 |
9 | @override
10 | String toString() => message;
11 | }
12 |
13 | class NetworkException implements Exception {
14 | final String message;
15 | const NetworkException(this.message);
16 |
17 | @override
18 | String toString() => message;
19 | }
20 |
21 | class JsonDeserializationException implements Exception {
22 | final String message;
23 | const JsonDeserializationException(this.message);
24 | @override
25 | String toString() => message;
26 | }
27 |
28 | class UnexpectedNetworkException implements Exception {
29 | final String message;
30 | const UnexpectedNetworkException(this.message);
31 | @override
32 | String toString() => message;
33 | }
34 |
--------------------------------------------------------------------------------
/lib/src/core/errors/failure.dart:
--------------------------------------------------------------------------------
1 | // ignore_for_file: public_member_api_docs, sort_constructors_first
2 | import 'package:equatable/equatable.dart';
3 |
4 | class Failure extends Equatable {
5 | final String message;
6 | const Failure({
7 | required this.message,
8 | });
9 | @override
10 | List