├── ios ├── Flutter │ ├── Debug.xcconfig │ ├── Release.xcconfig │ └── AppFrameworkInfo.plist ├── Runner │ ├── Runner-Bridging-Header.h │ ├── Assets.xcassets │ │ ├── LaunchImage.imageset │ │ │ ├── LaunchImage.png │ │ │ ├── LaunchImage@2x.png │ │ │ ├── LaunchImage@3x.png │ │ │ ├── README.md │ │ │ └── Contents.json │ │ └── AppIcon.appiconset │ │ │ ├── Icon-App-20x20@1x.png │ │ │ ├── Icon-App-20x20@2x.png │ │ │ ├── Icon-App-20x20@3x.png │ │ │ ├── Icon-App-29x29@1x.png │ │ │ ├── Icon-App-29x29@2x.png │ │ │ ├── Icon-App-29x29@3x.png │ │ │ ├── Icon-App-40x40@1x.png │ │ │ ├── Icon-App-40x40@2x.png │ │ │ ├── Icon-App-40x40@3x.png │ │ │ ├── Icon-App-60x60@2x.png │ │ │ ├── Icon-App-60x60@3x.png │ │ │ ├── Icon-App-76x76@1x.png │ │ │ ├── Icon-App-76x76@2x.png │ │ │ ├── Icon-App-1024x1024@1x.png │ │ │ ├── Icon-App-83.5x83.5@2x.png │ │ │ └── Contents.json │ ├── AppDelegate.swift │ ├── Base.lproj │ │ ├── Main.storyboard │ │ └── LaunchScreen.storyboard │ └── Info.plist ├── Runner.xcodeproj │ ├── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcshareddata │ │ │ ├── WorkspaceSettings.xcsettings │ │ │ └── IDEWorkspaceChecks.plist │ ├── xcshareddata │ │ └── xcschemes │ │ │ └── Runner.xcscheme │ └── project.pbxproj ├── Runner.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ ├── WorkspaceSettings.xcsettings │ │ └── IDEWorkspaceChecks.plist └── .gitignore ├── web ├── favicon.png ├── icons │ ├── Icon-192.png │ ├── Icon-512.png │ ├── Icon-maskable-192.png │ └── Icon-maskable-512.png ├── manifest.json └── index.html ├── android ├── gradle.properties ├── app │ ├── src │ │ ├── main │ │ │ ├── res │ │ │ │ ├── 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 │ │ │ │ ├── drawable │ │ │ │ │ └── launch_background.xml │ │ │ │ ├── drawable-v21 │ │ │ │ │ └── launch_background.xml │ │ │ │ ├── values │ │ │ │ │ └── styles.xml │ │ │ │ └── values-night │ │ │ │ │ └── styles.xml │ │ │ ├── kotlin │ │ │ │ └── com │ │ │ │ │ └── example │ │ │ │ │ └── modular_arch │ │ │ │ │ └── MainActivity.kt │ │ │ └── AndroidManifest.xml │ │ ├── debug │ │ │ └── AndroidManifest.xml │ │ └── profile │ │ │ └── AndroidManifest.xml │ └── build.gradle ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties ├── .gitignore ├── settings.gradle └── build.gradle ├── assets └── images │ └── pokedex_logo.png ├── lib ├── modules │ ├── shared │ │ └── shared_module.dart │ ├── initial │ │ ├── initial_module.dart │ │ └── pages │ │ │ ├── splash_page.dart │ │ │ └── home_page.dart │ ├── main_widget.dart │ ├── berries │ │ ├── berries_module.dart │ │ └── pages │ │ │ ├── berry_detail_page.dart │ │ │ └── berries_list_page.dart │ ├── pokemons │ │ ├── pokemons_module.dart │ │ └── pages │ │ │ ├── pokemon_detail_page.dart │ │ │ └── pokemons_list_page.dart │ └── main_module.dart ├── main.dart ├── services │ └── local_storage_service.dart ├── models │ ├── berry.dart │ └── pokemon.dart └── respositories │ ├── pokemon_repository.dart │ └── berry_repository.dart ├── README.md ├── .gitignore ├── .metadata ├── analysis_options.yaml ├── test └── modules │ └── pokemons │ └── pages │ └── pokemon_list_page_test.dart ├── pubspec.yaml └── pubspec.lock /ios/Flutter/Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Generated.xcconfig" 2 | -------------------------------------------------------------------------------- /ios/Flutter/Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Generated.xcconfig" 2 | -------------------------------------------------------------------------------- /ios/Runner/Runner-Bridging-Header.h: -------------------------------------------------------------------------------- 1 | #import "GeneratedPluginRegistrant.h" 2 | -------------------------------------------------------------------------------- /web/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipeemidio/modular_architecture/HEAD/web/favicon.png -------------------------------------------------------------------------------- /web/icons/Icon-192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipeemidio/modular_architecture/HEAD/web/icons/Icon-192.png -------------------------------------------------------------------------------- /web/icons/Icon-512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipeemidio/modular_architecture/HEAD/web/icons/Icon-512.png -------------------------------------------------------------------------------- /android/gradle.properties: -------------------------------------------------------------------------------- 1 | org.gradle.jvmargs=-Xmx1536M 2 | android.useAndroidX=true 3 | android.enableJetifier=true 4 | -------------------------------------------------------------------------------- /assets/images/pokedex_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipeemidio/modular_architecture/HEAD/assets/images/pokedex_logo.png -------------------------------------------------------------------------------- /web/icons/Icon-maskable-192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipeemidio/modular_architecture/HEAD/web/icons/Icon-maskable-192.png -------------------------------------------------------------------------------- /web/icons/Icon-maskable-512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipeemidio/modular_architecture/HEAD/web/icons/Icon-maskable-512.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipeemidio/modular_architecture/HEAD/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipeemidio/modular_architecture/HEAD/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipeemidio/modular_architecture/HEAD/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipeemidio/modular_architecture/HEAD/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipeemidio/modular_architecture/HEAD/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipeemidio/modular_architecture/HEAD/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipeemidio/modular_architecture/HEAD/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/felipeemidio/modular_architecture/HEAD/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/felipeemidio/modular_architecture/HEAD/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/felipeemidio/modular_architecture/HEAD/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/felipeemidio/modular_architecture/HEAD/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/felipeemidio/modular_architecture/HEAD/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/felipeemidio/modular_architecture/HEAD/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/felipeemidio/modular_architecture/HEAD/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/felipeemidio/modular_architecture/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipeemidio/modular_architecture/HEAD/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/felipeemidio/modular_architecture/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipeemidio/modular_architecture/HEAD/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/felipeemidio/modular_architecture/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipeemidio/modular_architecture/HEAD/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipeemidio/modular_architecture/HEAD/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipeemidio/modular_architecture/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/felipeemidio/modular_architecture/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png -------------------------------------------------------------------------------- /android/app/src/main/kotlin/com/example/modular_arch/MainActivity.kt: -------------------------------------------------------------------------------- 1 | package com.example.modular_arch 2 | 3 | import io.flutter.embedding.android.FlutterActivity 4 | 5 | class MainActivity: FlutterActivity() { 6 | } 7 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /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.4-all.zip 6 | -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/Runner.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/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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. -------------------------------------------------------------------------------- /lib/modules/shared/shared_module.dart: -------------------------------------------------------------------------------- 1 | import 'package:dio/dio.dart'; 2 | import 'package:flutter_modular/flutter_modular.dart'; 3 | import 'package:modular_arch/services/local_storage_service.dart'; 4 | 5 | class SharedModule extends Module { 6 | @override 7 | List get binds => [ 8 | Bind((i) => LocalStorageService(), export: true), 9 | Bind((i) => Dio(), export: true), 10 | ]; 11 | } -------------------------------------------------------------------------------- /android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /android/app/src/profile/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 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 | -------------------------------------------------------------------------------- /lib/modules/initial/initial_module.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter_modular/flutter_modular.dart'; 2 | import 'package:modular_arch/modules/initial/pages/splash_page.dart'; 3 | 4 | class InitialModule extends Module { 5 | @override 6 | List get imports => const []; 7 | 8 | @override 9 | List get binds => const []; 10 | 11 | @override 12 | List get routes => [ 13 | ChildRoute('/splash', child: (_, __) => const SplashPage()), 14 | ]; 15 | } -------------------------------------------------------------------------------- /lib/main.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:flutter_modular/flutter_modular.dart'; 3 | import 'package:modular_arch/modules/main_module.dart'; 4 | import 'package:modular_arch/modules/main_widget.dart'; 5 | import 'package:modular_arch/services/local_storage_service.dart'; 6 | 7 | void main() async { 8 | WidgetsFlutterBinding.ensureInitialized(); 9 | await LocalStorageService.initialize(); 10 | runApp(ModularApp(module: MainModule(), child: MainWidget())); 11 | } 12 | 13 | -------------------------------------------------------------------------------- /lib/services/local_storage_service.dart: -------------------------------------------------------------------------------- 1 | import 'package:hive_flutter/hive_flutter.dart'; 2 | 3 | class LocalStorageService { 4 | static Future initialize() async { 5 | Hive.initFlutter(); 6 | } 7 | 8 | Future get(String key) async { 9 | final box = await Hive.openBox('pokemon'); 10 | return await box.get(key); 11 | } 12 | 13 | Future save(String key, String value) async { 14 | final box = await Hive.openBox('pokemon'); 15 | await box.put(key, value); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/launch_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /android/app/src/main/res/drawable-v21/launch_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /lib/modules/main_widget.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:flutter_modular/flutter_modular.dart'; 3 | 4 | class MainWidget extends StatelessWidget { 5 | MainWidget({super.key}) { 6 | Modular.setInitialRoute('/splash'); 7 | } 8 | 9 | @override 10 | Widget build(BuildContext context) { 11 | return MaterialApp.router( 12 | title: 'Flutter Demo', 13 | theme: ThemeData( 14 | primarySwatch: Colors.blue, 15 | ), 16 | routeInformationParser: Modular.routeInformationParser, 17 | routerDelegate: Modular.routerDelegate, 18 | ); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # modular_arch 2 | 3 | A new Flutter project. 4 | 5 | ## Getting Started 6 | 7 | This project is a starting point for a Flutter application. 8 | 9 | A few resources to get you started if this is your first Flutter project: 10 | 11 | - [Lab: Write your first Flutter app](https://docs.flutter.dev/get-started/codelab) 12 | - [Cookbook: Useful Flutter samples](https://docs.flutter.dev/cookbook) 13 | 14 | For help getting started with Flutter development, view the 15 | [online documentation](https://docs.flutter.dev/), which offers tutorials, 16 | samples, guidance on mobile development, and a full API reference. 17 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /android/build.gradle: -------------------------------------------------------------------------------- 1 | buildscript { 2 | ext.kotlin_version = '1.6.10' 3 | repositories { 4 | google() 5 | mavenCentral() 6 | } 7 | 8 | dependencies { 9 | classpath 'com.android.tools.build:gradle:7.1.2' 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 | task clean(type: Delete) { 30 | delete rootProject.buildDir 31 | } 32 | -------------------------------------------------------------------------------- /lib/modules/berries/berries_module.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter_modular/flutter_modular.dart'; 2 | import 'package:modular_arch/modules/berries/pages/berries_list_page.dart'; 3 | import 'package:modular_arch/modules/berries/pages/berry_detail_page.dart'; 4 | import 'package:modular_arch/respositories/berry_repository.dart'; 5 | 6 | class BerriesModule extends Module { 7 | @override 8 | List get imports => const []; 9 | 10 | @override 11 | List get binds => [ 12 | Bind((i)=> BerryRepository(i())), 13 | ]; 14 | 15 | @override 16 | List get routes => [ 17 | ChildRoute('/', child: (_, __) => const BerriesListPage(), transition: TransitionType.fadeIn), 18 | ChildRoute('/detail', child: (_, args) => BerryDetailPage(berry: args.data), transition: TransitionType.downToUp), 19 | ]; 20 | } -------------------------------------------------------------------------------- /lib/modules/pokemons/pokemons_module.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter_modular/flutter_modular.dart'; 2 | import 'package:modular_arch/modules/pokemons/pages/pokemon_detail_page.dart'; 3 | import 'package:modular_arch/modules/pokemons/pages/pokemons_list_page.dart'; 4 | import 'package:modular_arch/respositories/pokemon_repository.dart'; 5 | 6 | class PokemonsModule extends Module { 7 | @override 8 | List get imports => const []; 9 | 10 | @override 11 | List get binds => [ 12 | Bind((i) => PokemonRepository(i())), 13 | ]; 14 | 15 | @override 16 | List get routes => [ 17 | ChildRoute('/', child: (_, __) => const PokemonsListPage(), transition: TransitionType.fadeIn), 18 | ChildRoute('/detail', child: (_, args) => PokemonDetailPage(pokemon: args.data), transition: TransitionType.downToUp), 19 | ]; 20 | } -------------------------------------------------------------------------------- /lib/models/berry.dart: -------------------------------------------------------------------------------- 1 | class Berry { 2 | final int id; 3 | final String name; 4 | final String effect; 5 | final String spriteUrl; 6 | bool favorite; 7 | 8 | Berry({ 9 | required this.id, 10 | required this.name, 11 | required this.effect, 12 | required this.spriteUrl, 13 | this.favorite = false, 14 | }); 15 | 16 | factory Berry.fromApi(Map map) { 17 | return Berry( 18 | id: map['id'], 19 | name: (map['name'] as String).replaceAll('-berry', ''), 20 | effect: map['effect_entries'][0]['short_effect'], 21 | spriteUrl: map['sprites']['default'], 22 | ); 23 | } 24 | 25 | @override 26 | bool operator ==(Object other) => 27 | identical(this, other) || 28 | other is Berry && runtimeType == other.runtimeType && id == other.id; 29 | 30 | @override 31 | int get hashCode => id.hashCode; 32 | } 33 | -------------------------------------------------------------------------------- /lib/modules/main_module.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter_modular/flutter_modular.dart'; 2 | import 'package:modular_arch/modules/berries/berries_module.dart'; 3 | import 'package:modular_arch/modules/initial/initial_module.dart'; 4 | import 'package:modular_arch/modules/initial/pages/home_page.dart'; 5 | import 'package:modular_arch/modules/pokemons/pokemons_module.dart'; 6 | import 'package:modular_arch/modules/shared/shared_module.dart'; 7 | 8 | class MainModule extends Module { 9 | @override 10 | List get imports => [ 11 | SharedModule() 12 | ]; 13 | 14 | @override 15 | List get routes => [ 16 | ModuleRoute('/', module: InitialModule()), 17 | ChildRoute('/home', child: (_, __) => const HomePage(), children: [ 18 | ModuleRoute('/pokemons', module: PokemonsModule()), 19 | ModuleRoute('/berries', module: BerriesModule()), 20 | ]), 21 | ]; 22 | } -------------------------------------------------------------------------------- /.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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /lib/modules/initial/pages/splash_page.dart: -------------------------------------------------------------------------------- 1 | import 'dart:async'; 2 | 3 | import 'package:flutter/material.dart'; 4 | import 'package:flutter_modular/flutter_modular.dart'; 5 | 6 | class SplashPage extends StatefulWidget { 7 | 8 | const SplashPage({Key? key}) : super(key: key); 9 | 10 | @override 11 | State createState() => _SplashPageState(); 12 | } 13 | 14 | class _SplashPageState extends State { 15 | late final Timer _timer; 16 | 17 | @override 18 | void initState() { 19 | super.initState(); 20 | _timer = Timer(const Duration(seconds: 5), () { 21 | Modular.to.pushReplacementNamed('/home/pokemons/'); 22 | }); 23 | } 24 | 25 | @override 26 | void dispose() { 27 | _timer.cancel(); 28 | super.dispose(); 29 | } 30 | 31 | @override 32 | Widget build(BuildContext context) { 33 | return Scaffold( 34 | body: Center( 35 | child: Image.asset('assets/images/pokedex_logo.png'), 36 | ), 37 | ); 38 | } 39 | } -------------------------------------------------------------------------------- /lib/models/pokemon.dart: -------------------------------------------------------------------------------- 1 | class Pokemon { 2 | final int id; 3 | final String name; 4 | final String spriteUrl; 5 | final String artworkUrl; 6 | final List types; 7 | bool favorite; 8 | 9 | Pokemon({ 10 | required this.id, 11 | required this.name, 12 | required this.spriteUrl, 13 | required this.artworkUrl, 14 | required this.types, 15 | this.favorite = false, 16 | }); 17 | 18 | factory Pokemon.fromApi(Map map) { 19 | return Pokemon( 20 | id: map['id'], 21 | name: map['name'], 22 | spriteUrl: map['sprites']['front_default'], 23 | artworkUrl: map['sprites']['other']['official-artwork']['front_default'], 24 | types: (map['types'] as List).map((e) => e['type']['name'] as String).toList(), 25 | ); 26 | } 27 | 28 | @override 29 | bool operator ==(Object other) => 30 | identical(this, other) || 31 | other is Pokemon && runtimeType == other.runtimeType && id == other.id; 32 | 33 | @override 34 | int get hashCode => id.hashCode; 35 | } 36 | -------------------------------------------------------------------------------- /.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: 2ad6cd72c040113b47ee9055e722606a490ef0da 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: 2ad6cd72c040113b47ee9055e722606a490ef0da 17 | base_revision: 2ad6cd72c040113b47ee9055e722606a490ef0da 18 | - platform: web 19 | create_revision: 2ad6cd72c040113b47ee9055e722606a490ef0da 20 | base_revision: 2ad6cd72c040113b47ee9055e722606a490ef0da 21 | 22 | # User provided section 23 | 24 | # List of Local paths (relative to this file) that should be 25 | # ignored by the migrate tool. 26 | # 27 | # Files that are not part of the templates will be ignored by default. 28 | unmanaged_files: 29 | - 'lib/main.dart' 30 | - 'ios/Runner.xcodeproj/project.pbxproj' 31 | -------------------------------------------------------------------------------- /lib/respositories/pokemon_repository.dart: -------------------------------------------------------------------------------- 1 | import 'package:dio/dio.dart'; 2 | import 'package:modular_arch/models/pokemon.dart'; 3 | 4 | class PokemonRepository { 5 | final Dio dio; 6 | const PokemonRepository(this.dio); 7 | 8 | Future> getAll({int page = 0, int size = 20}) async { 9 | final response = await dio.get( 10 | 'https://pokeapi.co/api/v2/pokemon', 11 | queryParameters: { 12 | 'offset': page * size, 13 | 'limit': size, 14 | }, 15 | ); 16 | final rawPokemonsList = response.data['results'] as List; 17 | final List pokemons = []; 18 | for(int i =0; i < rawPokemonsList.length; ++i) { 19 | final pokemonDetailUrl = rawPokemonsList[i]['url'] as String; 20 | 21 | final response = await dio.get(pokemonDetailUrl); 22 | pokemons.add(Pokemon.fromApi(response.data)); 23 | } 24 | return pokemons; 25 | } 26 | 27 | get({required String pokemon}) async { 28 | await dio.get( 29 | 'https://pokeapi.co/api/v2/pokemon/$pokemon', 30 | ); 31 | } 32 | } -------------------------------------------------------------------------------- /lib/respositories/berry_repository.dart: -------------------------------------------------------------------------------- 1 | import 'package:dio/dio.dart'; 2 | import 'package:modular_arch/models/berry.dart'; 3 | 4 | class BerryRepository { 5 | final Dio dio; 6 | const BerryRepository(this.dio); 7 | 8 | Future> getAll({int page = 0, int size = 20}) async { 9 | final response = await dio.get( 10 | 'https://pokeapi.co/api/v2/berry', 11 | queryParameters: { 12 | 'offset': page * size, 13 | 'limit': size, 14 | }, 15 | ); 16 | 17 | final rawPokemonsList = response.data['results'] as List; 18 | final List berries = []; 19 | for(int i =0; i < rawPokemonsList.length; ++i) { 20 | final berryName = (rawPokemonsList[i] as Map)['name']; 21 | 22 | final response = await dio.get('https://pokeapi.co/api/v2/item/$berryName-berry'); 23 | berries.add(Berry.fromApi(response.data)); 24 | } 25 | return berries; 26 | } 27 | 28 | get({required String berry}) async { 29 | await dio.get( 30 | 'https://pokeapi.co/api/v2/berry/$berry', 31 | ); 32 | } 33 | } -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 15 | 18 | 19 | -------------------------------------------------------------------------------- /web/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "modular_architecture", 3 | "short_name": "modular_architecture", 4 | "start_url": ".", 5 | "display": "standalone", 6 | "background_color": "#0175C2", 7 | "theme_color": "#0175C2", 8 | "description": "A new Flutter project.", 9 | "orientation": "portrait-primary", 10 | "prefer_related_applications": false, 11 | "icons": [ 12 | { 13 | "src": "icons/Icon-192.png", 14 | "sizes": "192x192", 15 | "type": "image/png" 16 | }, 17 | { 18 | "src": "icons/Icon-512.png", 19 | "sizes": "512x512", 20 | "type": "image/png" 21 | }, 22 | { 23 | "src": "icons/Icon-maskable-192.png", 24 | "sizes": "192x192", 25 | "type": "image/png", 26 | "purpose": "maskable" 27 | }, 28 | { 29 | "src": "icons/Icon-maskable-512.png", 30 | "sizes": "512x512", 31 | "type": "image/png", 32 | "purpose": "maskable" 33 | } 34 | ] 35 | } 36 | -------------------------------------------------------------------------------- /android/app/src/main/res/values-night/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 15 | 18 | 19 | -------------------------------------------------------------------------------- /lib/modules/initial/pages/home_page.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:flutter_modular/flutter_modular.dart'; 3 | 4 | class HomePage extends StatefulWidget { 5 | const HomePage({Key? key}) : super(key: key); 6 | 7 | @override 8 | State createState() => _HomePageState(); 9 | } 10 | 11 | class _HomePageState extends State { 12 | int currentIndex = 0; 13 | 14 | _onChangeTab(int index) { 15 | setState(() { 16 | currentIndex = index; 17 | }); 18 | 19 | switch(index) { 20 | case 0: 21 | Modular.to.navigate('/home/pokemons/'); 22 | break; 23 | case 1: 24 | Modular.to.navigate('/home/berries/'); 25 | break; 26 | default: 27 | break; 28 | } 29 | } 30 | 31 | @override 32 | Widget build(BuildContext context) { 33 | return Scaffold( 34 | bottomNavigationBar: BottomNavigationBar( 35 | currentIndex: currentIndex, 36 | onTap: _onChangeTab, 37 | items: const [ 38 | BottomNavigationBarItem(icon: Icon(Icons.list), label: 'Pokemons'), 39 | BottomNavigationBarItem(icon: Icon(Icons.fastfood), label: 'Berries'), 40 | ], 41 | ), 42 | body: const RouterOutlet(), 43 | ); 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /lib/modules/berries/pages/berry_detail_page.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:modular_arch/models/berry.dart'; 3 | 4 | class BerryDetailPage extends StatelessWidget { 5 | final Berry berry; 6 | const BerryDetailPage({Key? key, required this.berry}) : super(key: key); 7 | 8 | @override 9 | Widget build(BuildContext context) { 10 | return Scaffold( 11 | appBar: AppBar(title: const Text('Berry')), 12 | body: SafeArea( 13 | child: SingleChildScrollView( 14 | child: Padding( 15 | padding: const EdgeInsets.all(20), 16 | child: Column( 17 | mainAxisSize: MainAxisSize.min, 18 | crossAxisAlignment: CrossAxisAlignment.stretch, 19 | children: [ 20 | Card( 21 | elevation: 3, 22 | margin: const EdgeInsets.symmetric(vertical: 20), 23 | child: Image.network( 24 | berry.spriteUrl, 25 | scale: 0.5, 26 | width: 200, 27 | height: 200, 28 | ), 29 | ), 30 | Text( 31 | '${berry.name.toUpperCase()} (#${berry.id})', 32 | style: Theme.of(context).textTheme.headline4, 33 | ), 34 | const SizedBox(height: 16), 35 | Text(berry.effect, 36 | style: Theme.of(context).textTheme.headline6), 37 | ], 38 | ), 39 | ), 40 | ), 41 | ), 42 | ); 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /lib/modules/pokemons/pages/pokemon_detail_page.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:modular_arch/models/pokemon.dart'; 3 | 4 | class PokemonDetailPage extends StatelessWidget { 5 | final Pokemon pokemon; 6 | const PokemonDetailPage({Key? key, required this.pokemon}) : super(key: key); 7 | 8 | @override 9 | Widget build(BuildContext context) { 10 | return Scaffold( 11 | appBar: AppBar(title: const Text('Pokemon')), 12 | body: SafeArea( 13 | child: SingleChildScrollView( 14 | child: Padding( 15 | padding: const EdgeInsets.all(20), 16 | child: Column( 17 | mainAxisSize: MainAxisSize.min, 18 | crossAxisAlignment: CrossAxisAlignment.stretch, 19 | children: [ 20 | Card( 21 | elevation: 3, 22 | margin: const EdgeInsets.symmetric(vertical: 20), 23 | child: Image.network(pokemon.artworkUrl, scale: 0.5, width: 200, height: 200,), 24 | ), 25 | Text('${pokemon.name.toUpperCase()} (#${pokemon.id})', style: Theme.of(context).textTheme.headline4,), 26 | const SizedBox(height: 16), 27 | Text('Types', style: Theme.of(context).textTheme.headline6, ), 28 | Row( 29 | children: pokemon.types.map((e) => Padding( 30 | padding: const EdgeInsets.only(right: 8.0), 31 | child: Chip(label: Text(e)), 32 | )).toList(), 33 | ) 34 | ], 35 | ), 36 | ), 37 | ), 38 | ), 39 | ); 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 7 | 15 | 19 | 23 | 24 | 25 | 26 | 27 | 28 | 30 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /ios/Runner/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleDisplayName 8 | Modular Arch 9 | CFBundleExecutable 10 | $(EXECUTABLE_NAME) 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | modular_arch 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 | -------------------------------------------------------------------------------- /web/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | modular_architecture 33 | 34 | 35 | 39 | 40 | 41 | 42 | 43 | 58 | 59 | 60 | -------------------------------------------------------------------------------- /android/app/build.gradle: -------------------------------------------------------------------------------- 1 | def localProperties = new Properties() 2 | def localPropertiesFile = rootProject.file('local.properties') 3 | if (localPropertiesFile.exists()) { 4 | localPropertiesFile.withReader('UTF-8') { reader -> 5 | localProperties.load(reader) 6 | } 7 | } 8 | 9 | def flutterRoot = localProperties.getProperty('flutter.sdk') 10 | if (flutterRoot == null) { 11 | throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.") 12 | } 13 | 14 | def flutterVersionCode = localProperties.getProperty('flutter.versionCode') 15 | if (flutterVersionCode == null) { 16 | flutterVersionCode = '1' 17 | } 18 | 19 | def flutterVersionName = localProperties.getProperty('flutter.versionName') 20 | if (flutterVersionName == null) { 21 | flutterVersionName = '1.0' 22 | } 23 | 24 | apply plugin: 'com.android.application' 25 | apply plugin: 'kotlin-android' 26 | apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" 27 | 28 | android { 29 | compileSdkVersion flutter.compileSdkVersion 30 | ndkVersion flutter.ndkVersion 31 | 32 | compileOptions { 33 | sourceCompatibility JavaVersion.VERSION_1_8 34 | targetCompatibility JavaVersion.VERSION_1_8 35 | } 36 | 37 | kotlinOptions { 38 | jvmTarget = '1.8' 39 | } 40 | 41 | sourceSets { 42 | main.java.srcDirs += 'src/main/kotlin' 43 | } 44 | 45 | defaultConfig { 46 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). 47 | applicationId "com.example.modular_arch" 48 | // You can update the following values to match your application needs. 49 | // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration. 50 | minSdkVersion flutter.minSdkVersion 51 | targetSdkVersion flutter.targetSdkVersion 52 | versionCode flutterVersionCode.toInteger() 53 | versionName flutterVersionName 54 | } 55 | 56 | buildTypes { 57 | release { 58 | // TODO: Add your own signing config for the release build. 59 | // Signing with the debug keys for now, so `flutter run --release` works. 60 | signingConfig signingConfigs.debug 61 | } 62 | } 63 | } 64 | 65 | flutter { 66 | source '../..' 67 | } 68 | 69 | dependencies { 70 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" 71 | } 72 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /test/modules/pokemons/pages/pokemon_list_page_test.dart: -------------------------------------------------------------------------------- 1 | import 'dart:convert'; 2 | 3 | import 'package:flutter/material.dart'; 4 | import 'package:flutter_test/flutter_test.dart'; 5 | import 'package:mocktail/mocktail.dart'; 6 | import 'package:flutter_modular/flutter_modular.dart'; 7 | import 'package:modular_arch/models/pokemon.dart'; 8 | import 'package:modular_arch/modules/pokemons/pages/pokemons_list_page.dart'; 9 | import 'package:modular_arch/modules/pokemons/pokemons_module.dart'; 10 | import 'package:modular_arch/modules/shared/shared_module.dart'; 11 | import 'package:modular_arch/respositories/pokemon_repository.dart'; 12 | import 'package:modular_arch/services/local_storage_service.dart'; 13 | import 'package:modular_test/modular_test.dart'; 14 | 15 | class MockPokemonRepository extends Mock implements PokemonRepository {} 16 | 17 | class MockLocalStorageService extends Mock implements LocalStorageService {} 18 | 19 | main() { 20 | final mockPokemonRepository = MockPokemonRepository(); 21 | final mockLocalStorageService = MockLocalStorageService(); 22 | 23 | final mockPokemons = [ 24 | Pokemon( 25 | id: 1, 26 | name: 'bulbasaur', 27 | spriteUrl: 'https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/1.png', 28 | artworkUrl: 'https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/other/official-artwork/1.png', 29 | types: ['grass', 'poison'], 30 | ), 31 | Pokemon( 32 | id: 4, 33 | name: 'charmander', 34 | spriteUrl: 'https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/4.png', 35 | artworkUrl: 'https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/other/official-artwork/4.png', 36 | types: ['fire'], 37 | ), 38 | Pokemon( 39 | id: 7, 40 | name: 'squirtle', 41 | spriteUrl: 'https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/7.png', 42 | artworkUrl: 'https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/other/official-artwork/7.png', 43 | types: ['water'], 44 | ), 45 | ]; 46 | final mockFavorites = [ 47 | 7 48 | ]; 49 | 50 | setUp((){ 51 | 52 | initModules([SharedModule(), PokemonsModule()], replaceBinds: [ 53 | Bind.instance(mockLocalStorageService, export: true), 54 | Bind.instance(mockPokemonRepository), 55 | ]); 56 | }); 57 | 58 | testWidgets('list rendering...', (tester) async { 59 | when(() => mockPokemonRepository.getAll(page: any(named: 'page'), size: any(named: 'size'))).thenAnswer((invocation) async => mockPokemons); 60 | when(() => mockLocalStorageService.get(any())).thenAnswer((invocation) async => jsonEncode(mockFavorites)); 61 | 62 | await tester.pumpWidget(const MaterialApp( 63 | home: PokemonsListPage(), 64 | )); 65 | 66 | final finder = find.text(mockPokemons[0].name); 67 | 68 | expect(finder, findsOneWidget); 69 | }); 70 | 71 | } -------------------------------------------------------------------------------- /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.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 37 | 38 | 39 | 40 | 41 | 42 | 52 | 54 | 60 | 61 | 62 | 63 | 69 | 71 | 77 | 78 | 79 | 80 | 82 | 83 | 86 | 87 | 88 | -------------------------------------------------------------------------------- /pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: modular_arch 2 | description: A new Flutter project. 3 | 4 | # The following line prevents the package from being accidentally published to 5 | # pub.dev using `flutter pub publish`. This is preferred for private packages. 6 | publish_to: 'none' # Remove this line if you wish to publish to pub.dev 7 | 8 | # The following defines the version and build number for your application. 9 | # A version number is three numbers separated by dots, like 1.2.43 10 | # followed by an optional build number separated by a +. 11 | # Both the version and the builder number may be overridden in flutter 12 | # build by specifying --build-name and --build-number, respectively. 13 | # In Android, build-name is used as versionName while build-number used as versionCode. 14 | # Read more about Android versioning at https://developer.android.com/studio/publish/versioning 15 | # In iOS, build-name is used as CFBundleShortVersionString while build-number is used as CFBundleVersion. 16 | # Read more about iOS versioning at 17 | # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html 18 | # In Windows, build-name is used as the major, minor, and patch parts 19 | # of the product and file versions while build-number is used as the build suffix. 20 | version: 1.0.0+1 21 | 22 | environment: 23 | sdk: '>=2.18.6 <3.0.0' 24 | 25 | # Dependencies specify other packages that your package needs in order to work. 26 | # To automatically upgrade your package dependencies to the latest versions 27 | # consider running `flutter pub upgrade --major-versions`. Alternatively, 28 | # dependencies can be manually updated by changing the version numbers below to 29 | # the latest version available on pub.dev. To see which dependencies have newer 30 | # versions available, run `flutter pub outdated`. 31 | dependencies: 32 | flutter: 33 | sdk: flutter 34 | cupertino_icons: ^1.0.2 35 | flutter_modular: ^5.0.3 36 | dio: ^5.0.1 37 | hive: ^2.2.3 38 | hive_flutter: ^1.1.0 39 | path_provider: ^2.0.13 40 | 41 | dev_dependencies: 42 | flutter_test: 43 | sdk: flutter 44 | flutter_lints: ^2.0.0 45 | mocktail: ^0.3.0 46 | modular_test: ^2.0.0 47 | 48 | # For information on the generic Dart part of this file, see the 49 | # following page: https://dart.dev/tools/pub/pubspec 50 | 51 | # The following section is specific to Flutter packages. 52 | flutter: 53 | 54 | # The following line ensures that the Material Icons font is 55 | # included with your application, so that you can use the icons in 56 | # the material Icons class. 57 | uses-material-design: true 58 | 59 | # To add assets to your application, add an assets section, like this: 60 | assets: 61 | - assets/images/ 62 | 63 | # An image asset can refer to one or more resolution-specific "variants", see 64 | # https://flutter.dev/assets-and-images/#resolution-aware 65 | 66 | # For details regarding adding assets from package dependencies, see 67 | # https://flutter.dev/assets-and-images/#from-packages 68 | 69 | # To add custom fonts to your application, add a fonts section here, 70 | # in this "flutter" section. Each entry in this list should have a 71 | # "family" key with the font family name, and a "fonts" key with a 72 | # list giving the asset and other descriptors for the font. For 73 | # example: 74 | # fonts: 75 | # - family: Schyler 76 | # fonts: 77 | # - asset: fonts/Schyler-Regular.ttf 78 | # - asset: fonts/Schyler-Italic.ttf 79 | # style: italic 80 | # - family: Trajan Pro 81 | # fonts: 82 | # - asset: fonts/TrajanPro.ttf 83 | # - asset: fonts/TrajanPro_Bold.ttf 84 | # weight: 700 85 | # 86 | # For details regarding fonts from package dependencies, 87 | # see https://flutter.dev/custom-fonts/#from-packages 88 | -------------------------------------------------------------------------------- /lib/modules/berries/pages/berries_list_page.dart: -------------------------------------------------------------------------------- 1 | import 'dart:convert'; 2 | 3 | import 'package:flutter/material.dart'; 4 | import 'package:flutter_modular/flutter_modular.dart'; 5 | import 'package:modular_arch/models/berry.dart'; 6 | import 'package:modular_arch/respositories/berry_repository.dart'; 7 | import 'package:modular_arch/services/local_storage_service.dart'; 8 | 9 | class BerriesListPage extends StatefulWidget { 10 | const BerriesListPage({Key? key}) : super(key: key); 11 | 12 | @override 13 | State createState() => _BerriesListPageState(); 14 | } 15 | 16 | class _BerriesListPageState extends State { 17 | final berryRepository = Modular.get(); 18 | final localStorageService = Modular.get(); 19 | 20 | List berries = []; 21 | List favorites = []; 22 | int page = 0; 23 | int size = 20; 24 | bool isLoading = false; 25 | bool hasMorePages = true; 26 | bool isFavouritesOnly = false; 27 | 28 | @override 29 | void initState() { 30 | super.initState(); 31 | _loadFavorites(); 32 | _loadNextPage(); 33 | } 34 | 35 | _loadNextPage() async { 36 | if (isLoading) { 37 | return; 38 | } 39 | isLoading = true; 40 | final fetchedPokemons = 41 | await berryRepository.getAll(page: page, size: size); 42 | if (fetchedPokemons.length < size) { 43 | hasMorePages = false; 44 | } 45 | page += 1; 46 | berries.addAll(fetchedPokemons); 47 | setState(() { 48 | isLoading = false; 49 | }); 50 | } 51 | 52 | _loadFavorites() async { 53 | final rawFavorites = await localStorageService.get('berries'); 54 | final list = jsonDecode(rawFavorites ?? '[]') as List; 55 | favorites = list.cast(); 56 | setState(() {}); 57 | } 58 | 59 | _onFavorite(Berry berry) { 60 | if (favorites.contains(berry.id)) { 61 | favorites.remove(berry.id); 62 | } else { 63 | favorites.add(berry.id); 64 | } 65 | localStorageService.save('berries', jsonEncode(favorites)); 66 | setState(() {}); 67 | } 68 | 69 | void _showFavourites() async { 70 | isFavouritesOnly = !isFavouritesOnly; 71 | if (isFavouritesOnly) { 72 | berries.removeWhere( 73 | (berry) => !favorites.contains(berry.id), 74 | ); 75 | hasMorePages = false; 76 | } else { 77 | berries.clear(); 78 | page = 0; 79 | _loadNextPage(); 80 | } 81 | 82 | setState(() {}); 83 | } 84 | 85 | @override 86 | Widget build(BuildContext context) { 87 | return Scaffold( 88 | appBar: AppBar( 89 | title: const Text('Berries List'), 90 | actions: [ 91 | IconButton( 92 | icon: isFavouritesOnly 93 | ? const Icon( 94 | Icons.favorite, 95 | color: Colors.orange, 96 | ) 97 | : const Icon( 98 | Icons.favorite, 99 | color: Colors.grey, 100 | ), 101 | tooltip: 'Filter berries', 102 | onPressed: _showFavourites, 103 | ), 104 | ], 105 | ), 106 | body: SafeArea( 107 | child: Builder(builder: (context) { 108 | if (isLoading && berries.isEmpty) { 109 | return const Center( 110 | child: CircularProgressIndicator(), 111 | ); 112 | } 113 | 114 | return ListView.builder( 115 | itemCount: berries.length + (hasMorePages ? 1 : 0), 116 | itemBuilder: (_, index) { 117 | if (!isFavouritesOnly && index >= berries.length) { 118 | _loadNextPage(); 119 | return const SizedBox( 120 | height: 50, 121 | child: Center( 122 | child: CircularProgressIndicator(), 123 | ), 124 | ); 125 | } 126 | 127 | final currentBerry = berries[index]; 128 | currentBerry.favorite = favorites.contains(currentBerry.id); 129 | return ListTile( 130 | onTap: () => Modular.to.pushNamed('/home/berries/detail', 131 | arguments: currentBerry, forRoot: true), 132 | leading: Image.network(currentBerry.spriteUrl), 133 | title: Text(currentBerry.name), 134 | trailing: IconButton( 135 | icon: currentBerry.favorite 136 | ? const Icon( 137 | Icons.favorite, 138 | color: Colors.orange, 139 | ) 140 | : const Icon( 141 | Icons.favorite_border, 142 | color: Colors.grey, 143 | ), 144 | onPressed: () => _onFavorite(currentBerry), 145 | ), 146 | ); 147 | }, 148 | ); 149 | }), 150 | )); 151 | } 152 | } 153 | -------------------------------------------------------------------------------- /lib/modules/pokemons/pages/pokemons_list_page.dart: -------------------------------------------------------------------------------- 1 | import 'dart:convert'; 2 | 3 | import 'package:flutter/material.dart'; 4 | import 'package:flutter_modular/flutter_modular.dart'; 5 | import 'package:modular_arch/models/pokemon.dart'; 6 | import 'package:modular_arch/respositories/pokemon_repository.dart'; 7 | import 'package:modular_arch/services/local_storage_service.dart'; 8 | 9 | class PokemonsListPage extends StatefulWidget { 10 | const PokemonsListPage({Key? key}) : super(key: key); 11 | 12 | @override 13 | State createState() => _PokemonsListPageState(); 14 | } 15 | 16 | class _PokemonsListPageState extends State { 17 | final pokemonRepository = Modular.get(); 18 | final localStorageService = Modular.get(); 19 | 20 | List pokemons = []; 21 | List favorites = []; 22 | int page = 0; 23 | int size = 20; 24 | bool isLoading = false; 25 | bool hasMorePages = true; 26 | bool isFavouritesOnly = false; 27 | 28 | @override 29 | void initState() { 30 | super.initState(); 31 | _loadFavorites(); 32 | _loadNextPage(); 33 | } 34 | 35 | _loadNextPage() async { 36 | if (isLoading) { 37 | return; 38 | } 39 | isLoading = true; 40 | final fetchedPokemons = 41 | await pokemonRepository.getAll(page: page, size: size); 42 | if (fetchedPokemons.length < size) { 43 | hasMorePages = false; 44 | } 45 | page += 1; 46 | pokemons.addAll(fetchedPokemons); 47 | setState(() { 48 | isLoading = false; 49 | }); 50 | } 51 | 52 | _loadFavorites() async { 53 | final rawFavorites = await localStorageService.get('pokemons'); 54 | final list = jsonDecode(rawFavorites ?? '[]') as List; 55 | favorites = list.cast(); 56 | setState(() {}); 57 | } 58 | 59 | _onFavorite(Pokemon pokemon) { 60 | if (favorites.contains(pokemon.name)) { 61 | favorites.remove(pokemon.name); 62 | } else { 63 | favorites.add(pokemon.name); 64 | } 65 | localStorageService.save('pokemons', jsonEncode(favorites)); 66 | setState(() {}); 67 | } 68 | 69 | void _showFavourites() async { 70 | isFavouritesOnly = !isFavouritesOnly; 71 | if (isFavouritesOnly) { 72 | pokemons.removeWhere( 73 | (pokemon) => !favorites.contains(pokemon.name), 74 | ); 75 | hasMorePages = false; 76 | } else { 77 | pokemons.clear(); 78 | page = 0; 79 | _loadNextPage(); 80 | } 81 | 82 | setState(() {}); 83 | } 84 | 85 | @override 86 | Widget build(BuildContext context) { 87 | return Scaffold( 88 | appBar: AppBar( 89 | title: const Text('Pokemons List'), 90 | actions: [ 91 | IconButton( 92 | icon: isFavouritesOnly 93 | ? const Icon( 94 | Icons.favorite, 95 | color: Colors.orange, 96 | ) 97 | : const Icon( 98 | Icons.favorite, 99 | color: Colors.grey, 100 | ), 101 | tooltip: 'Filter favourites', 102 | onPressed: _showFavourites, 103 | ), 104 | ], 105 | ), 106 | body: SafeArea( 107 | child: Builder(builder: (context) { 108 | if (isLoading && pokemons.isEmpty) { 109 | return const Center( 110 | child: CircularProgressIndicator(), 111 | ); 112 | } 113 | 114 | return ListView.builder( 115 | itemCount: pokemons.length + (hasMorePages ? 1 : 0), 116 | itemBuilder: (_, index) { 117 | if (!isFavouritesOnly && index >= pokemons.length) { 118 | _loadNextPage(); 119 | return const SizedBox( 120 | height: 50, 121 | child: Center( 122 | child: CircularProgressIndicator(), 123 | ), 124 | ); 125 | } 126 | 127 | final currentPokemon = pokemons[index]; 128 | currentPokemon.favorite = 129 | favorites.contains(currentPokemon.name); 130 | 131 | return ListTile( 132 | leading: Image.network(currentPokemon.spriteUrl), 133 | title: Text(currentPokemon.name.toUpperCase()), 134 | trailing: IconButton( 135 | icon: currentPokemon.favorite 136 | ? const Icon( 137 | Icons.favorite, 138 | color: Colors.orange, 139 | ) 140 | : const Icon( 141 | Icons.favorite_border, 142 | color: Colors.grey, 143 | ), 144 | onPressed: () => _onFavorite(currentPokemon), 145 | ), 146 | onTap: () => Modular.to.pushNamed('/home/pokemons/detail', 147 | arguments: currentPokemon, forRoot: true), 148 | ); 149 | }, 150 | ); 151 | }), 152 | )); 153 | } 154 | } 155 | -------------------------------------------------------------------------------- /pubspec.lock: -------------------------------------------------------------------------------- 1 | # Generated by pub 2 | # See https://dart.dev/tools/pub/glossary#lockfile 3 | packages: 4 | _fe_analyzer_shared: 5 | dependency: transitive 6 | description: 7 | name: _fe_analyzer_shared 8 | sha256: "4897882604d919befd350648c7f91926a9d5de99e67b455bf0917cc2362f4bb8" 9 | url: "https://pub.dev" 10 | source: hosted 11 | version: "47.0.0" 12 | analyzer: 13 | dependency: transitive 14 | description: 15 | name: analyzer 16 | sha256: "690e335554a8385bc9d787117d9eb52c0c03ee207a607e593de3c9d71b1cfe80" 17 | url: "https://pub.dev" 18 | source: hosted 19 | version: "4.7.0" 20 | args: 21 | dependency: transitive 22 | description: 23 | name: args 24 | sha256: "4cab82a83ffef80b262ddedf47a0a8e56ee6fbf7fe21e6e768b02792034dd440" 25 | url: "https://pub.dev" 26 | source: hosted 27 | version: "2.4.0" 28 | async: 29 | dependency: transitive 30 | description: 31 | name: async 32 | sha256: bfe67ef28df125b7dddcea62755991f807aa39a2492a23e1550161692950bbe0 33 | url: "https://pub.dev" 34 | source: hosted 35 | version: "2.10.0" 36 | boolean_selector: 37 | dependency: transitive 38 | description: 39 | name: boolean_selector 40 | sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66" 41 | url: "https://pub.dev" 42 | source: hosted 43 | version: "2.1.1" 44 | characters: 45 | dependency: transitive 46 | description: 47 | name: characters 48 | sha256: e6a326c8af69605aec75ed6c187d06b349707a27fbff8222ca9cc2cff167975c 49 | url: "https://pub.dev" 50 | source: hosted 51 | version: "1.2.1" 52 | clock: 53 | dependency: transitive 54 | description: 55 | name: clock 56 | sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf 57 | url: "https://pub.dev" 58 | source: hosted 59 | version: "1.1.1" 60 | collection: 61 | dependency: transitive 62 | description: 63 | name: collection 64 | sha256: cfc915e6923fe5ce6e153b0723c753045de46de1b4d63771530504004a45fae0 65 | url: "https://pub.dev" 66 | source: hosted 67 | version: "1.17.0" 68 | convert: 69 | dependency: transitive 70 | description: 71 | name: convert 72 | sha256: "0f08b14755d163f6e2134cb58222dd25ea2a2ee8a195e53983d57c075324d592" 73 | url: "https://pub.dev" 74 | source: hosted 75 | version: "3.1.1" 76 | coverage: 77 | dependency: transitive 78 | description: 79 | name: coverage 80 | sha256: "2fb815080e44a09b85e0f2ca8a820b15053982b2e714b59267719e8a9ff17097" 81 | url: "https://pub.dev" 82 | source: hosted 83 | version: "1.6.3" 84 | crypto: 85 | dependency: transitive 86 | description: 87 | name: crypto 88 | sha256: aa274aa7774f8964e4f4f38cc994db7b6158dd36e9187aaceaddc994b35c6c67 89 | url: "https://pub.dev" 90 | source: hosted 91 | version: "3.0.2" 92 | cupertino_icons: 93 | dependency: "direct main" 94 | description: 95 | name: cupertino_icons 96 | sha256: e35129dc44c9118cee2a5603506d823bab99c68393879edb440e0090d07586be 97 | url: "https://pub.dev" 98 | source: hosted 99 | version: "1.0.5" 100 | dio: 101 | dependency: "direct main" 102 | description: 103 | name: dio 104 | sha256: "3709d74615bba5e443eb141f6a7f4bcc4788f8fae6f743edadfb79c2a8e6287e" 105 | url: "https://pub.dev" 106 | source: hosted 107 | version: "5.0.1" 108 | fake_async: 109 | dependency: transitive 110 | description: 111 | name: fake_async 112 | sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78" 113 | url: "https://pub.dev" 114 | source: hosted 115 | version: "1.3.1" 116 | ffi: 117 | dependency: transitive 118 | description: 119 | name: ffi 120 | sha256: a38574032c5f1dd06c4aee541789906c12ccaab8ba01446e800d9c5b79c4a978 121 | url: "https://pub.dev" 122 | source: hosted 123 | version: "2.0.1" 124 | file: 125 | dependency: transitive 126 | description: 127 | name: file 128 | sha256: "1b92bec4fc2a72f59a8e15af5f52cd441e4a7860b49499d69dfa817af20e925d" 129 | url: "https://pub.dev" 130 | source: hosted 131 | version: "6.1.4" 132 | flutter: 133 | dependency: "direct main" 134 | description: flutter 135 | source: sdk 136 | version: "0.0.0" 137 | flutter_lints: 138 | dependency: "direct dev" 139 | description: 140 | name: flutter_lints 141 | sha256: aeb0b80a8b3709709c9cc496cdc027c5b3216796bc0af0ce1007eaf24464fd4c 142 | url: "https://pub.dev" 143 | source: hosted 144 | version: "2.0.1" 145 | flutter_modular: 146 | dependency: "direct main" 147 | description: 148 | name: flutter_modular 149 | sha256: "061f0bcc8f8c438d4c82f4ff70a9e61f109961c92b4e1eaf1bbfab75f577fe0e" 150 | url: "https://pub.dev" 151 | source: hosted 152 | version: "5.0.3" 153 | flutter_modular_annotations: 154 | dependency: transitive 155 | description: 156 | name: flutter_modular_annotations 157 | sha256: "65971655bdd30816a6a66651c801f4ceba6c8ba265f0866cc51ad038332c9a71" 158 | url: "https://pub.dev" 159 | source: hosted 160 | version: "0.0.2" 161 | flutter_test: 162 | dependency: "direct dev" 163 | description: flutter 164 | source: sdk 165 | version: "0.0.0" 166 | frontend_server_client: 167 | dependency: transitive 168 | description: 169 | name: frontend_server_client 170 | sha256: "4f4a162323c86ffc1245765cfe138872b8f069deb42f7dbb36115fa27f31469b" 171 | url: "https://pub.dev" 172 | source: hosted 173 | version: "2.1.3" 174 | glob: 175 | dependency: transitive 176 | description: 177 | name: glob 178 | sha256: "4515b5b6ddb505ebdd242a5f2cc5d22d3d6a80013789debfbda7777f47ea308c" 179 | url: "https://pub.dev" 180 | source: hosted 181 | version: "2.1.1" 182 | hive: 183 | dependency: "direct main" 184 | description: 185 | name: hive 186 | sha256: "8dcf6db979d7933da8217edcec84e9df1bdb4e4edc7fc77dbd5aa74356d6d941" 187 | url: "https://pub.dev" 188 | source: hosted 189 | version: "2.2.3" 190 | hive_flutter: 191 | dependency: "direct main" 192 | description: 193 | name: hive_flutter 194 | sha256: dca1da446b1d808a51689fb5d0c6c9510c0a2ba01e22805d492c73b68e33eecc 195 | url: "https://pub.dev" 196 | source: hosted 197 | version: "1.1.0" 198 | http_multi_server: 199 | dependency: transitive 200 | description: 201 | name: http_multi_server 202 | sha256: "97486f20f9c2f7be8f514851703d0119c3596d14ea63227af6f7a481ef2b2f8b" 203 | url: "https://pub.dev" 204 | source: hosted 205 | version: "3.2.1" 206 | http_parser: 207 | dependency: transitive 208 | description: 209 | name: http_parser 210 | sha256: "2aa08ce0341cc9b354a498388e30986515406668dbcc4f7c950c3e715496693b" 211 | url: "https://pub.dev" 212 | source: hosted 213 | version: "4.0.2" 214 | io: 215 | dependency: transitive 216 | description: 217 | name: io 218 | sha256: "2ec25704aba361659e10e3e5f5d672068d332fc8ac516421d483a11e5cbd061e" 219 | url: "https://pub.dev" 220 | source: hosted 221 | version: "1.0.4" 222 | js: 223 | dependency: transitive 224 | description: 225 | name: js 226 | sha256: "5528c2f391ededb7775ec1daa69e65a2d61276f7552de2b5f7b8d34ee9fd4ab7" 227 | url: "https://pub.dev" 228 | source: hosted 229 | version: "0.6.5" 230 | lints: 231 | dependency: transitive 232 | description: 233 | name: lints 234 | sha256: "5e4a9cd06d447758280a8ac2405101e0e2094d2a1dbdd3756aec3fe7775ba593" 235 | url: "https://pub.dev" 236 | source: hosted 237 | version: "2.0.1" 238 | logging: 239 | dependency: transitive 240 | description: 241 | name: logging 242 | sha256: "04094f2eb032cbb06c6f6e8d3607edcfcb0455e2bb6cbc010cb01171dcb64e6d" 243 | url: "https://pub.dev" 244 | source: hosted 245 | version: "1.1.1" 246 | matcher: 247 | dependency: transitive 248 | description: 249 | name: matcher 250 | sha256: "16db949ceee371e9b99d22f88fa3a73c4e59fd0afed0bd25fc336eb76c198b72" 251 | url: "https://pub.dev" 252 | source: hosted 253 | version: "0.12.13" 254 | material_color_utilities: 255 | dependency: transitive 256 | description: 257 | name: material_color_utilities 258 | sha256: d92141dc6fe1dad30722f9aa826c7fbc896d021d792f80678280601aff8cf724 259 | url: "https://pub.dev" 260 | source: hosted 261 | version: "0.2.0" 262 | meta: 263 | dependency: transitive 264 | description: 265 | name: meta 266 | sha256: "6c268b42ed578a53088d834796959e4a1814b5e9e164f147f580a386e5decf42" 267 | url: "https://pub.dev" 268 | source: hosted 269 | version: "1.8.0" 270 | mime: 271 | dependency: transitive 272 | description: 273 | name: mime 274 | sha256: e4ff8e8564c03f255408decd16e7899da1733852a9110a58fe6d1b817684a63e 275 | url: "https://pub.dev" 276 | source: hosted 277 | version: "1.0.4" 278 | mocktail: 279 | dependency: "direct dev" 280 | description: 281 | name: mocktail 282 | sha256: "80a996cd9a69284b3dc521ce185ffe9150cde69767c2d3a0720147d93c0cef53" 283 | url: "https://pub.dev" 284 | source: hosted 285 | version: "0.3.0" 286 | modular_core: 287 | dependency: transitive 288 | description: 289 | name: modular_core 290 | sha256: "84cfe65d2ab15b0265a5bdb07a7a0408b06f8d92fee6fb94a3c85e97cbc2d6af" 291 | url: "https://pub.dev" 292 | source: hosted 293 | version: "2.0.3+1" 294 | modular_interfaces: 295 | dependency: transitive 296 | description: 297 | name: modular_interfaces 298 | sha256: "89db18038048d63de80871189ddc52363814e8181615459e5d88ed0a921acc1f" 299 | url: "https://pub.dev" 300 | source: hosted 301 | version: "2.0.2" 302 | modular_test: 303 | dependency: "direct dev" 304 | description: 305 | name: modular_test 306 | sha256: "97e20e1ffb690b78df9cd21fa5e4c5a64b59bad482329316123d93217924af61" 307 | url: "https://pub.dev" 308 | source: hosted 309 | version: "2.0.0" 310 | node_preamble: 311 | dependency: transitive 312 | description: 313 | name: node_preamble 314 | sha256: "6e7eac89047ab8a8d26cf16127b5ed26de65209847630400f9aefd7cd5c730db" 315 | url: "https://pub.dev" 316 | source: hosted 317 | version: "2.0.2" 318 | package_config: 319 | dependency: transitive 320 | description: 321 | name: package_config 322 | sha256: "1c5b77ccc91e4823a5af61ee74e6b972db1ef98c2ff5a18d3161c982a55448bd" 323 | url: "https://pub.dev" 324 | source: hosted 325 | version: "2.1.0" 326 | path: 327 | dependency: transitive 328 | description: 329 | name: path 330 | sha256: db9d4f58c908a4ba5953fcee2ae317c94889433e5024c27ce74a37f94267945b 331 | url: "https://pub.dev" 332 | source: hosted 333 | version: "1.8.2" 334 | path_provider: 335 | dependency: "direct main" 336 | description: 337 | name: path_provider 338 | sha256: "04890b994ee89bfa80bf3080bfec40d5a92c5c7a785ebb02c13084a099d2b6f9" 339 | url: "https://pub.dev" 340 | source: hosted 341 | version: "2.0.13" 342 | path_provider_android: 343 | dependency: transitive 344 | description: 345 | name: path_provider_android 346 | sha256: "7623b7d4be0f0f7d9a8b5ee6879fc13e4522d4c875ab86801dee4af32b54b83e" 347 | url: "https://pub.dev" 348 | source: hosted 349 | version: "2.0.23" 350 | path_provider_foundation: 351 | dependency: transitive 352 | description: 353 | name: path_provider_foundation 354 | sha256: eec003594f19fe2456ea965ae36b3fc967bc5005f508890aafe31fa75e41d972 355 | url: "https://pub.dev" 356 | source: hosted 357 | version: "2.1.2" 358 | path_provider_linux: 359 | dependency: transitive 360 | description: 361 | name: path_provider_linux 362 | sha256: "525ad5e07622d19447ad740b1ed5070031f7a5437f44355ae915ff56e986429a" 363 | url: "https://pub.dev" 364 | source: hosted 365 | version: "2.1.9" 366 | path_provider_platform_interface: 367 | dependency: transitive 368 | description: 369 | name: path_provider_platform_interface 370 | sha256: "57585299a729335f1298b43245842678cb9f43a6310351b18fb577d6e33165ec" 371 | url: "https://pub.dev" 372 | source: hosted 373 | version: "2.0.6" 374 | path_provider_windows: 375 | dependency: transitive 376 | description: 377 | name: path_provider_windows 378 | sha256: "642ddf65fde5404f83267e8459ddb4556316d3ee6d511ed193357e25caa3632d" 379 | url: "https://pub.dev" 380 | source: hosted 381 | version: "2.1.4" 382 | platform: 383 | dependency: transitive 384 | description: 385 | name: platform 386 | sha256: "4a451831508d7d6ca779f7ac6e212b4023dd5a7d08a27a63da33756410e32b76" 387 | url: "https://pub.dev" 388 | source: hosted 389 | version: "3.1.0" 390 | plugin_platform_interface: 391 | dependency: transitive 392 | description: 393 | name: plugin_platform_interface 394 | sha256: "6a2128648c854906c53fa8e33986fc0247a1116122f9534dd20e3ab9e16a32bc" 395 | url: "https://pub.dev" 396 | source: hosted 397 | version: "2.1.4" 398 | pool: 399 | dependency: transitive 400 | description: 401 | name: pool 402 | sha256: "20fe868b6314b322ea036ba325e6fc0711a22948856475e2c2b6306e8ab39c2a" 403 | url: "https://pub.dev" 404 | source: hosted 405 | version: "1.5.1" 406 | process: 407 | dependency: transitive 408 | description: 409 | name: process 410 | sha256: "53fd8db9cec1d37b0574e12f07520d582019cb6c44abf5479a01505099a34a09" 411 | url: "https://pub.dev" 412 | source: hosted 413 | version: "4.2.4" 414 | pub_semver: 415 | dependency: transitive 416 | description: 417 | name: pub_semver 418 | sha256: "307de764d305289ff24ad257ad5c5793ce56d04947599ad68b3baa124105fc17" 419 | url: "https://pub.dev" 420 | source: hosted 421 | version: "2.1.3" 422 | shelf: 423 | dependency: transitive 424 | description: 425 | name: shelf 426 | sha256: c24a96135a2ccd62c64b69315a14adc5c3419df63b4d7c05832a346fdb73682c 427 | url: "https://pub.dev" 428 | source: hosted 429 | version: "1.4.0" 430 | shelf_packages_handler: 431 | dependency: transitive 432 | description: 433 | name: shelf_packages_handler 434 | sha256: aef74dc9195746a384843102142ab65b6a4735bb3beea791e63527b88cc83306 435 | url: "https://pub.dev" 436 | source: hosted 437 | version: "3.0.1" 438 | shelf_static: 439 | dependency: transitive 440 | description: 441 | name: shelf_static 442 | sha256: e792b76b96a36d4a41b819da593aff4bdd413576b3ba6150df5d8d9996d2e74c 443 | url: "https://pub.dev" 444 | source: hosted 445 | version: "1.1.1" 446 | shelf_web_socket: 447 | dependency: transitive 448 | description: 449 | name: shelf_web_socket 450 | sha256: a988c0e8d8ffbdb8a28aa7ec8e449c260f3deb808781fe1284d22c5bba7156e8 451 | url: "https://pub.dev" 452 | source: hosted 453 | version: "1.0.3" 454 | sky_engine: 455 | dependency: transitive 456 | description: flutter 457 | source: sdk 458 | version: "0.0.99" 459 | source_map_stack_trace: 460 | dependency: transitive 461 | description: 462 | name: source_map_stack_trace 463 | sha256: "84cf769ad83aa6bb61e0aa5a18e53aea683395f196a6f39c4c881fb90ed4f7ae" 464 | url: "https://pub.dev" 465 | source: hosted 466 | version: "2.1.1" 467 | source_maps: 468 | dependency: transitive 469 | description: 470 | name: source_maps 471 | sha256: "708b3f6b97248e5781f493b765c3337db11c5d2c81c3094f10904bfa8004c703" 472 | url: "https://pub.dev" 473 | source: hosted 474 | version: "0.10.12" 475 | source_span: 476 | dependency: transitive 477 | description: 478 | name: source_span 479 | sha256: dd904f795d4b4f3b870833847c461801f6750a9fa8e61ea5ac53f9422b31f250 480 | url: "https://pub.dev" 481 | source: hosted 482 | version: "1.9.1" 483 | stack_trace: 484 | dependency: transitive 485 | description: 486 | name: stack_trace 487 | sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5 488 | url: "https://pub.dev" 489 | source: hosted 490 | version: "1.11.0" 491 | stream_channel: 492 | dependency: transitive 493 | description: 494 | name: stream_channel 495 | sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8" 496 | url: "https://pub.dev" 497 | source: hosted 498 | version: "2.1.1" 499 | string_scanner: 500 | dependency: transitive 501 | description: 502 | name: string_scanner 503 | sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde" 504 | url: "https://pub.dev" 505 | source: hosted 506 | version: "1.2.0" 507 | term_glyph: 508 | dependency: transitive 509 | description: 510 | name: term_glyph 511 | sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84 512 | url: "https://pub.dev" 513 | source: hosted 514 | version: "1.2.1" 515 | test: 516 | dependency: transitive 517 | description: 518 | name: test 519 | sha256: a5fcd2d25eeadbb6589e80198a47d6a464ba3e2049da473943b8af9797900c2d 520 | url: "https://pub.dev" 521 | source: hosted 522 | version: "1.22.0" 523 | test_api: 524 | dependency: transitive 525 | description: 526 | name: test_api 527 | sha256: ad540f65f92caa91bf21dfc8ffb8c589d6e4dc0c2267818b4cc2792857706206 528 | url: "https://pub.dev" 529 | source: hosted 530 | version: "0.4.16" 531 | test_core: 532 | dependency: transitive 533 | description: 534 | name: test_core 535 | sha256: "0ef9755ec6d746951ba0aabe62f874b707690b5ede0fecc818b138fcc9b14888" 536 | url: "https://pub.dev" 537 | source: hosted 538 | version: "0.4.20" 539 | typed_data: 540 | dependency: transitive 541 | description: 542 | name: typed_data 543 | sha256: "26f87ade979c47a150c9eaab93ccd2bebe70a27dc0b4b29517f2904f04eb11a5" 544 | url: "https://pub.dev" 545 | source: hosted 546 | version: "1.3.1" 547 | vector_math: 548 | dependency: transitive 549 | description: 550 | name: vector_math 551 | sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803" 552 | url: "https://pub.dev" 553 | source: hosted 554 | version: "2.1.4" 555 | vm_service: 556 | dependency: transitive 557 | description: 558 | name: vm_service 559 | sha256: e7fb6c2282f7631712b69c19d1bff82f3767eea33a2321c14fa59ad67ea391c7 560 | url: "https://pub.dev" 561 | source: hosted 562 | version: "9.4.0" 563 | watcher: 564 | dependency: transitive 565 | description: 566 | name: watcher 567 | sha256: "6a7f46926b01ce81bfc339da6a7f20afbe7733eff9846f6d6a5466aa4c6667c0" 568 | url: "https://pub.dev" 569 | source: hosted 570 | version: "1.0.2" 571 | web_socket_channel: 572 | dependency: transitive 573 | description: 574 | name: web_socket_channel 575 | sha256: ca49c0bc209c687b887f30527fb6a9d80040b072cc2990f34b9bec3e7663101b 576 | url: "https://pub.dev" 577 | source: hosted 578 | version: "2.3.0" 579 | webkit_inspection_protocol: 580 | dependency: transitive 581 | description: 582 | name: webkit_inspection_protocol 583 | sha256: "67d3a8b6c79e1987d19d848b0892e582dbb0c66c57cc1fef58a177dd2aa2823d" 584 | url: "https://pub.dev" 585 | source: hosted 586 | version: "1.2.0" 587 | win32: 588 | dependency: transitive 589 | description: 590 | name: win32 591 | sha256: c9ebe7ee4ab0c2194e65d3a07d8c54c5d00bb001b76081c4a04cdb8448b59e46 592 | url: "https://pub.dev" 593 | source: hosted 594 | version: "3.1.3" 595 | xdg_directories: 596 | dependency: transitive 597 | description: 598 | name: xdg_directories 599 | sha256: ee1505df1426458f7f60aac270645098d318a8b4766d85fde75f76f2e21807d1 600 | url: "https://pub.dev" 601 | source: hosted 602 | version: "1.0.0" 603 | yaml: 604 | dependency: transitive 605 | description: 606 | name: yaml 607 | sha256: "23812a9b125b48d4007117254bca50abb6c712352927eece9e155207b1db2370" 608 | url: "https://pub.dev" 609 | source: hosted 610 | version: "3.1.1" 611 | sdks: 612 | dart: ">=2.18.6 <3.0.0" 613 | flutter: ">=3.0.0" 614 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 50; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; }; 11 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; }; 12 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; }; 13 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; }; 14 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; }; 15 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; }; 16 | /* End PBXBuildFile section */ 17 | 18 | /* Begin PBXCopyFilesBuildPhase section */ 19 | 9705A1C41CF9048500538489 /* Embed Frameworks */ = { 20 | isa = PBXCopyFilesBuildPhase; 21 | buildActionMask = 2147483647; 22 | dstPath = ""; 23 | dstSubfolderSpec = 10; 24 | files = ( 25 | ); 26 | name = "Embed Frameworks"; 27 | runOnlyForDeploymentPostprocessing = 0; 28 | }; 29 | /* End PBXCopyFilesBuildPhase section */ 30 | 31 | /* Begin PBXFileReference section */ 32 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; }; 33 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; }; 34 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; }; 35 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; }; 36 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 37 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; }; 38 | 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; }; 39 | 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; }; 40 | 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; }; 41 | 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 42 | 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 43 | 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 44 | 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 45 | /* End PBXFileReference section */ 46 | 47 | /* Begin PBXFrameworksBuildPhase section */ 48 | 97C146EB1CF9000F007C117D /* Frameworks */ = { 49 | isa = PBXFrameworksBuildPhase; 50 | buildActionMask = 2147483647; 51 | files = ( 52 | ); 53 | runOnlyForDeploymentPostprocessing = 0; 54 | }; 55 | /* End PBXFrameworksBuildPhase section */ 56 | 57 | /* Begin PBXGroup section */ 58 | 9740EEB11CF90186004384FC /* Flutter */ = { 59 | isa = PBXGroup; 60 | children = ( 61 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */, 62 | 9740EEB21CF90195004384FC /* Debug.xcconfig */, 63 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */, 64 | 9740EEB31CF90195004384FC /* Generated.xcconfig */, 65 | ); 66 | name = Flutter; 67 | sourceTree = ""; 68 | }; 69 | 97C146E51CF9000F007C117D = { 70 | isa = PBXGroup; 71 | children = ( 72 | 9740EEB11CF90186004384FC /* Flutter */, 73 | 97C146F01CF9000F007C117D /* Runner */, 74 | 97C146EF1CF9000F007C117D /* Products */, 75 | ); 76 | sourceTree = ""; 77 | }; 78 | 97C146EF1CF9000F007C117D /* Products */ = { 79 | isa = PBXGroup; 80 | children = ( 81 | 97C146EE1CF9000F007C117D /* Runner.app */, 82 | ); 83 | name = Products; 84 | sourceTree = ""; 85 | }; 86 | 97C146F01CF9000F007C117D /* Runner */ = { 87 | isa = PBXGroup; 88 | children = ( 89 | 97C146FA1CF9000F007C117D /* Main.storyboard */, 90 | 97C146FD1CF9000F007C117D /* Assets.xcassets */, 91 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */, 92 | 97C147021CF9000F007C117D /* Info.plist */, 93 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */, 94 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */, 95 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */, 96 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */, 97 | ); 98 | path = Runner; 99 | sourceTree = ""; 100 | }; 101 | /* End PBXGroup section */ 102 | 103 | /* Begin PBXNativeTarget section */ 104 | 97C146ED1CF9000F007C117D /* Runner */ = { 105 | isa = PBXNativeTarget; 106 | buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */; 107 | buildPhases = ( 108 | 9740EEB61CF901F6004384FC /* Run Script */, 109 | 97C146EA1CF9000F007C117D /* Sources */, 110 | 97C146EB1CF9000F007C117D /* Frameworks */, 111 | 97C146EC1CF9000F007C117D /* Resources */, 112 | 9705A1C41CF9048500538489 /* Embed Frameworks */, 113 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */, 114 | ); 115 | buildRules = ( 116 | ); 117 | dependencies = ( 118 | ); 119 | name = Runner; 120 | productName = Runner; 121 | productReference = 97C146EE1CF9000F007C117D /* Runner.app */; 122 | productType = "com.apple.product-type.application"; 123 | }; 124 | /* End PBXNativeTarget section */ 125 | 126 | /* Begin PBXProject section */ 127 | 97C146E61CF9000F007C117D /* Project object */ = { 128 | isa = PBXProject; 129 | attributes = { 130 | LastUpgradeCheck = 1300; 131 | ORGANIZATIONNAME = ""; 132 | TargetAttributes = { 133 | 97C146ED1CF9000F007C117D = { 134 | CreatedOnToolsVersion = 7.3.1; 135 | LastSwiftMigration = 1100; 136 | }; 137 | }; 138 | }; 139 | buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */; 140 | compatibilityVersion = "Xcode 9.3"; 141 | developmentRegion = en; 142 | hasScannedForEncodings = 0; 143 | knownRegions = ( 144 | en, 145 | Base, 146 | ); 147 | mainGroup = 97C146E51CF9000F007C117D; 148 | productRefGroup = 97C146EF1CF9000F007C117D /* Products */; 149 | projectDirPath = ""; 150 | projectRoot = ""; 151 | targets = ( 152 | 97C146ED1CF9000F007C117D /* Runner */, 153 | ); 154 | }; 155 | /* End PBXProject section */ 156 | 157 | /* Begin PBXResourcesBuildPhase section */ 158 | 97C146EC1CF9000F007C117D /* Resources */ = { 159 | isa = PBXResourcesBuildPhase; 160 | buildActionMask = 2147483647; 161 | files = ( 162 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */, 163 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */, 164 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */, 165 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */, 166 | ); 167 | runOnlyForDeploymentPostprocessing = 0; 168 | }; 169 | /* End PBXResourcesBuildPhase section */ 170 | 171 | /* Begin PBXShellScriptBuildPhase section */ 172 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { 173 | isa = PBXShellScriptBuildPhase; 174 | buildActionMask = 2147483647; 175 | files = ( 176 | ); 177 | inputPaths = ( 178 | ); 179 | name = "Thin Binary"; 180 | outputPaths = ( 181 | ); 182 | runOnlyForDeploymentPostprocessing = 0; 183 | shellPath = /bin/sh; 184 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin"; 185 | }; 186 | 9740EEB61CF901F6004384FC /* Run Script */ = { 187 | isa = PBXShellScriptBuildPhase; 188 | buildActionMask = 2147483647; 189 | files = ( 190 | ); 191 | inputPaths = ( 192 | ); 193 | name = "Run Script"; 194 | outputPaths = ( 195 | ); 196 | runOnlyForDeploymentPostprocessing = 0; 197 | shellPath = /bin/sh; 198 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build"; 199 | }; 200 | /* End PBXShellScriptBuildPhase section */ 201 | 202 | /* Begin PBXSourcesBuildPhase section */ 203 | 97C146EA1CF9000F007C117D /* Sources */ = { 204 | isa = PBXSourcesBuildPhase; 205 | buildActionMask = 2147483647; 206 | files = ( 207 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */, 208 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */, 209 | ); 210 | runOnlyForDeploymentPostprocessing = 0; 211 | }; 212 | /* End PBXSourcesBuildPhase section */ 213 | 214 | /* Begin PBXVariantGroup section */ 215 | 97C146FA1CF9000F007C117D /* Main.storyboard */ = { 216 | isa = PBXVariantGroup; 217 | children = ( 218 | 97C146FB1CF9000F007C117D /* Base */, 219 | ); 220 | name = Main.storyboard; 221 | sourceTree = ""; 222 | }; 223 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = { 224 | isa = PBXVariantGroup; 225 | children = ( 226 | 97C147001CF9000F007C117D /* Base */, 227 | ); 228 | name = LaunchScreen.storyboard; 229 | sourceTree = ""; 230 | }; 231 | /* End PBXVariantGroup section */ 232 | 233 | /* Begin XCBuildConfiguration section */ 234 | 249021D3217E4FDB00AE95B9 /* Profile */ = { 235 | isa = XCBuildConfiguration; 236 | buildSettings = { 237 | ALWAYS_SEARCH_USER_PATHS = NO; 238 | CLANG_ANALYZER_NONNULL = YES; 239 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 240 | CLANG_CXX_LIBRARY = "libc++"; 241 | CLANG_ENABLE_MODULES = YES; 242 | CLANG_ENABLE_OBJC_ARC = YES; 243 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 244 | CLANG_WARN_BOOL_CONVERSION = YES; 245 | CLANG_WARN_COMMA = YES; 246 | CLANG_WARN_CONSTANT_CONVERSION = YES; 247 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 248 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 249 | CLANG_WARN_EMPTY_BODY = YES; 250 | CLANG_WARN_ENUM_CONVERSION = YES; 251 | CLANG_WARN_INFINITE_RECURSION = YES; 252 | CLANG_WARN_INT_CONVERSION = YES; 253 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 254 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 255 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 256 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 257 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 258 | CLANG_WARN_STRICT_PROTOTYPES = YES; 259 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 260 | CLANG_WARN_UNREACHABLE_CODE = YES; 261 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 262 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 263 | COPY_PHASE_STRIP = NO; 264 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 265 | ENABLE_NS_ASSERTIONS = NO; 266 | ENABLE_STRICT_OBJC_MSGSEND = YES; 267 | GCC_C_LANGUAGE_STANDARD = gnu99; 268 | GCC_NO_COMMON_BLOCKS = YES; 269 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 270 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 271 | GCC_WARN_UNDECLARED_SELECTOR = YES; 272 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 273 | GCC_WARN_UNUSED_FUNCTION = YES; 274 | GCC_WARN_UNUSED_VARIABLE = YES; 275 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 276 | MTL_ENABLE_DEBUG_INFO = NO; 277 | SDKROOT = iphoneos; 278 | SUPPORTED_PLATFORMS = iphoneos; 279 | TARGETED_DEVICE_FAMILY = "1,2"; 280 | VALIDATE_PRODUCT = YES; 281 | }; 282 | name = Profile; 283 | }; 284 | 249021D4217E4FDB00AE95B9 /* Profile */ = { 285 | isa = XCBuildConfiguration; 286 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 287 | buildSettings = { 288 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 289 | CLANG_ENABLE_MODULES = YES; 290 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 291 | ENABLE_BITCODE = NO; 292 | INFOPLIST_FILE = Runner/Info.plist; 293 | LD_RUNPATH_SEARCH_PATHS = ( 294 | "$(inherited)", 295 | "@executable_path/Frameworks", 296 | ); 297 | PRODUCT_BUNDLE_IDENTIFIER = com.example.modularArch; 298 | PRODUCT_NAME = "$(TARGET_NAME)"; 299 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 300 | SWIFT_VERSION = 5.0; 301 | VERSIONING_SYSTEM = "apple-generic"; 302 | }; 303 | name = Profile; 304 | }; 305 | 97C147031CF9000F007C117D /* Debug */ = { 306 | isa = XCBuildConfiguration; 307 | buildSettings = { 308 | ALWAYS_SEARCH_USER_PATHS = NO; 309 | CLANG_ANALYZER_NONNULL = YES; 310 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 311 | CLANG_CXX_LIBRARY = "libc++"; 312 | CLANG_ENABLE_MODULES = YES; 313 | CLANG_ENABLE_OBJC_ARC = YES; 314 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 315 | CLANG_WARN_BOOL_CONVERSION = YES; 316 | CLANG_WARN_COMMA = YES; 317 | CLANG_WARN_CONSTANT_CONVERSION = YES; 318 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 319 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 320 | CLANG_WARN_EMPTY_BODY = YES; 321 | CLANG_WARN_ENUM_CONVERSION = YES; 322 | CLANG_WARN_INFINITE_RECURSION = YES; 323 | CLANG_WARN_INT_CONVERSION = YES; 324 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 325 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 326 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 327 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 328 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 329 | CLANG_WARN_STRICT_PROTOTYPES = YES; 330 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 331 | CLANG_WARN_UNREACHABLE_CODE = YES; 332 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 333 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 334 | COPY_PHASE_STRIP = NO; 335 | DEBUG_INFORMATION_FORMAT = dwarf; 336 | ENABLE_STRICT_OBJC_MSGSEND = YES; 337 | ENABLE_TESTABILITY = YES; 338 | GCC_C_LANGUAGE_STANDARD = gnu99; 339 | GCC_DYNAMIC_NO_PIC = NO; 340 | GCC_NO_COMMON_BLOCKS = YES; 341 | GCC_OPTIMIZATION_LEVEL = 0; 342 | GCC_PREPROCESSOR_DEFINITIONS = ( 343 | "DEBUG=1", 344 | "$(inherited)", 345 | ); 346 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 347 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 348 | GCC_WARN_UNDECLARED_SELECTOR = YES; 349 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 350 | GCC_WARN_UNUSED_FUNCTION = YES; 351 | GCC_WARN_UNUSED_VARIABLE = YES; 352 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 353 | MTL_ENABLE_DEBUG_INFO = YES; 354 | ONLY_ACTIVE_ARCH = YES; 355 | SDKROOT = iphoneos; 356 | TARGETED_DEVICE_FAMILY = "1,2"; 357 | }; 358 | name = Debug; 359 | }; 360 | 97C147041CF9000F007C117D /* Release */ = { 361 | isa = XCBuildConfiguration; 362 | buildSettings = { 363 | ALWAYS_SEARCH_USER_PATHS = NO; 364 | CLANG_ANALYZER_NONNULL = YES; 365 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 366 | CLANG_CXX_LIBRARY = "libc++"; 367 | CLANG_ENABLE_MODULES = YES; 368 | CLANG_ENABLE_OBJC_ARC = YES; 369 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 370 | CLANG_WARN_BOOL_CONVERSION = YES; 371 | CLANG_WARN_COMMA = YES; 372 | CLANG_WARN_CONSTANT_CONVERSION = YES; 373 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 374 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 375 | CLANG_WARN_EMPTY_BODY = YES; 376 | CLANG_WARN_ENUM_CONVERSION = YES; 377 | CLANG_WARN_INFINITE_RECURSION = YES; 378 | CLANG_WARN_INT_CONVERSION = YES; 379 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 380 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 381 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 382 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 383 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 384 | CLANG_WARN_STRICT_PROTOTYPES = YES; 385 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 386 | CLANG_WARN_UNREACHABLE_CODE = YES; 387 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 388 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 389 | COPY_PHASE_STRIP = NO; 390 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 391 | ENABLE_NS_ASSERTIONS = NO; 392 | ENABLE_STRICT_OBJC_MSGSEND = YES; 393 | GCC_C_LANGUAGE_STANDARD = gnu99; 394 | GCC_NO_COMMON_BLOCKS = YES; 395 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 396 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 397 | GCC_WARN_UNDECLARED_SELECTOR = YES; 398 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 399 | GCC_WARN_UNUSED_FUNCTION = YES; 400 | GCC_WARN_UNUSED_VARIABLE = YES; 401 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 402 | MTL_ENABLE_DEBUG_INFO = NO; 403 | SDKROOT = iphoneos; 404 | SUPPORTED_PLATFORMS = iphoneos; 405 | SWIFT_COMPILATION_MODE = wholemodule; 406 | SWIFT_OPTIMIZATION_LEVEL = "-O"; 407 | TARGETED_DEVICE_FAMILY = "1,2"; 408 | VALIDATE_PRODUCT = YES; 409 | }; 410 | name = Release; 411 | }; 412 | 97C147061CF9000F007C117D /* Debug */ = { 413 | isa = XCBuildConfiguration; 414 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; 415 | buildSettings = { 416 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 417 | CLANG_ENABLE_MODULES = YES; 418 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 419 | ENABLE_BITCODE = NO; 420 | INFOPLIST_FILE = Runner/Info.plist; 421 | LD_RUNPATH_SEARCH_PATHS = ( 422 | "$(inherited)", 423 | "@executable_path/Frameworks", 424 | ); 425 | PRODUCT_BUNDLE_IDENTIFIER = com.example.modularArch; 426 | PRODUCT_NAME = "$(TARGET_NAME)"; 427 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 428 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 429 | SWIFT_VERSION = 5.0; 430 | VERSIONING_SYSTEM = "apple-generic"; 431 | }; 432 | name = Debug; 433 | }; 434 | 97C147071CF9000F007C117D /* Release */ = { 435 | isa = XCBuildConfiguration; 436 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 437 | buildSettings = { 438 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 439 | CLANG_ENABLE_MODULES = YES; 440 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 441 | ENABLE_BITCODE = NO; 442 | INFOPLIST_FILE = Runner/Info.plist; 443 | LD_RUNPATH_SEARCH_PATHS = ( 444 | "$(inherited)", 445 | "@executable_path/Frameworks", 446 | ); 447 | PRODUCT_BUNDLE_IDENTIFIER = com.example.modularArch; 448 | PRODUCT_NAME = "$(TARGET_NAME)"; 449 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 450 | SWIFT_VERSION = 5.0; 451 | VERSIONING_SYSTEM = "apple-generic"; 452 | }; 453 | name = Release; 454 | }; 455 | /* End XCBuildConfiguration section */ 456 | 457 | /* Begin XCConfigurationList section */ 458 | 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = { 459 | isa = XCConfigurationList; 460 | buildConfigurations = ( 461 | 97C147031CF9000F007C117D /* Debug */, 462 | 97C147041CF9000F007C117D /* Release */, 463 | 249021D3217E4FDB00AE95B9 /* Profile */, 464 | ); 465 | defaultConfigurationIsVisible = 0; 466 | defaultConfigurationName = Release; 467 | }; 468 | 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = { 469 | isa = XCConfigurationList; 470 | buildConfigurations = ( 471 | 97C147061CF9000F007C117D /* Debug */, 472 | 97C147071CF9000F007C117D /* Release */, 473 | 249021D4217E4FDB00AE95B9 /* Profile */, 474 | ); 475 | defaultConfigurationIsVisible = 0; 476 | defaultConfigurationName = Release; 477 | }; 478 | /* End XCConfigurationList section */ 479 | }; 480 | rootObject = 97C146E61CF9000F007C117D /* Project object */; 481 | } 482 | --------------------------------------------------------------------------------