├── .gitignore ├── .metadata ├── README.md ├── android ├── ._.gitignore ├── ._build.gradle ├── ._settings.gradle ├── .gitignore ├── app │ ├── build.gradle │ └── src │ │ ├── debug │ │ └── AndroidManifest.xml │ │ ├── main │ │ ├── AndroidManifest.xml │ │ ├── kotlin │ │ │ └── com │ │ │ │ └── arikachmad │ │ │ │ └── foodrecipes │ │ │ │ └── MainActivity.kt │ │ └── res │ │ │ ├── drawable │ │ │ ├── ._launch_background.xml │ │ │ └── launch_background.xml │ │ │ ├── mipmap-hdpi │ │ │ ├── ._ic_launcher.png │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-mdpi │ │ │ ├── ._ic_launcher.png │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xhdpi │ │ │ ├── ._ic_launcher.png │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxhdpi │ │ │ ├── ._ic_launcher.png │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxxhdpi │ │ │ ├── ._ic_launcher.png │ │ │ └── ic_launcher.png │ │ │ └── values │ │ │ ├── ._styles.xml │ │ │ └── styles.xml │ │ └── profile │ │ └── AndroidManifest.xml ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ ├── ._gradle-wrapper.properties │ │ └── gradle-wrapper.properties └── settings.gradle ├── ios ├── ._.gitignore ├── ._Podfile ├── .gitignore ├── Flutter │ ├── ._AppFrameworkInfo.plist │ ├── ._Debug.xcconfig │ ├── ._Flutter.framework │ ├── ._Flutter.podspec │ ├── ._Release.xcconfig │ ├── AppFrameworkInfo.plist │ ├── Debug.xcconfig │ └── Release.xcconfig ├── Podfile ├── Podfile.lock ├── Runner.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ ├── ._contents.xcworkspacedata │ │ ├── contents.xcworkspacedata │ │ └── xcshareddata │ │ │ ├── ._IDEWorkspaceChecks.plist │ │ │ ├── ._WorkspaceSettings.xcsettings │ │ │ ├── IDEWorkspaceChecks.plist │ │ │ └── WorkspaceSettings.xcsettings │ └── xcshareddata │ │ └── xcschemes │ │ ├── ._Runner.xcscheme │ │ └── Runner.xcscheme ├── Runner.xcworkspace │ ├── ._contents.xcworkspacedata │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ ├── ._IDEWorkspaceChecks.plist │ │ ├── ._WorkspaceSettings.xcsettings │ │ ├── IDEWorkspaceChecks.plist │ │ └── WorkspaceSettings.xcsettings └── Runner │ ├── ._AppDelegate.swift │ ├── ._Runner-Bridging-Header.h │ ├── AppDelegate.swift │ ├── Assets.xcassets │ ├── AppIcon.appiconset │ │ ├── ._Contents.json │ │ ├── ._Icon-App-1024x1024@1x.png │ │ ├── ._Icon-App-20x20@1x.png │ │ ├── ._Icon-App-20x20@2x.png │ │ ├── ._Icon-App-20x20@3x.png │ │ ├── ._Icon-App-29x29@1x.png │ │ ├── ._Icon-App-29x29@2x.png │ │ ├── ._Icon-App-29x29@3x.png │ │ ├── ._Icon-App-40x40@1x.png │ │ ├── ._Icon-App-40x40@2x.png │ │ ├── ._Icon-App-40x40@3x.png │ │ ├── ._Icon-App-60x60@2x.png │ │ ├── ._Icon-App-60x60@3x.png │ │ ├── ._Icon-App-76x76@1x.png │ │ ├── ._Icon-App-76x76@2x.png │ │ ├── ._Icon-App-83.5x83.5@2x.png │ │ ├── Contents.json │ │ ├── Icon-App-1024x1024@1x.png │ │ ├── Icon-App-20x20@1x.png │ │ ├── Icon-App-20x20@2x.png │ │ ├── Icon-App-20x20@3x.png │ │ ├── Icon-App-29x29@1x.png │ │ ├── Icon-App-29x29@2x.png │ │ ├── Icon-App-29x29@3x.png │ │ ├── Icon-App-40x40@1x.png │ │ ├── Icon-App-40x40@2x.png │ │ ├── Icon-App-40x40@3x.png │ │ ├── Icon-App-60x60@2x.png │ │ ├── Icon-App-60x60@3x.png │ │ ├── Icon-App-76x76@1x.png │ │ ├── Icon-App-76x76@2x.png │ │ └── Icon-App-83.5x83.5@2x.png │ └── LaunchImage.imageset │ │ ├── ._Contents.json │ │ ├── ._LaunchImage.png │ │ ├── ._LaunchImage@2x.png │ │ ├── ._LaunchImage@3x.png │ │ ├── ._README.md │ │ ├── Contents.json │ │ ├── LaunchImage.png │ │ ├── LaunchImage@2x.png │ │ ├── LaunchImage@3x.png │ │ └── README.md │ ├── Base.lproj │ ├── ._LaunchScreen.storyboard │ ├── ._Main.storyboard │ ├── LaunchScreen.storyboard │ └── Main.storyboard │ ├── Info.plist │ └── Runner-Bridging-Header.h ├── lib ├── core │ ├── domain │ │ └── usecase.dart │ └── network │ │ └── network.dart ├── features │ └── foods │ │ ├── data │ │ ├── datasource │ │ │ └── food_data_source.dart │ │ ├── models │ │ │ └── food_model.dart │ │ └── repository │ │ │ └── FoodRepositoryImpl.dart │ │ ├── di │ │ └── AppModule.dart │ │ ├── domain │ │ └── usecases │ │ │ └── get_list_foods_usecase.dart │ │ └── presentation │ │ ├── detail │ │ └── detail_food_widget.dart │ │ └── list │ │ ├── bloc │ │ ├── bloc.dart │ │ ├── list_foods_bloc.dart │ │ ├── list_foods_event.dart │ │ └── list_foods_state.dart │ │ └── list_foods_widget.dart ├── food_api │ ├── models │ │ └── food_domain_model.dart │ └── repository │ │ └── FoodRepository.dart └── main.dart ├── pubspec.lock ├── pubspec.yaml ├── screenshot ├── detail.png └── list.png └── test └── widget_test.dart /.gitignore: -------------------------------------------------------------------------------- 1 | # Miscellaneous 2 | *.class 3 | *.log 4 | *.pyc 5 | *.swp 6 | .DS_Store 7 | .atom/ 8 | .buildlog/ 9 | .history 10 | .svn/ 11 | 12 | # IntelliJ related 13 | *.iml 14 | *.ipr 15 | *.iws 16 | .idea/ 17 | 18 | # The .vscode folder contains launch configuration and tasks you configure in 19 | # VS Code which you may wish to be included in version control, so this line 20 | # is commented out by default. 21 | #.vscode/ 22 | 23 | # Flutter/Dart/Pub related 24 | **/doc/api/ 25 | .dart_tool/ 26 | .flutter-plugins 27 | .flutter-plugins-dependencies 28 | .packages 29 | .pub-cache/ 30 | .pub/ 31 | /build/ 32 | 33 | # Web related 34 | lib/generated_plugin_registrant.dart 35 | 36 | # Symbolication related 37 | app.*.symbols 38 | 39 | # Obfuscation related 40 | app.*.map.json 41 | 42 | # Exceptions to above rules. 43 | !/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages 44 | -------------------------------------------------------------------------------- /.metadata: -------------------------------------------------------------------------------- 1 | # This file tracks properties of this Flutter project. 2 | # Used by Flutter tool to assess capabilities and perform upgrades etc. 3 | # 4 | # This file should be version controlled and should not be manually edited. 5 | 6 | version: 7 | revision: 1ad9baa8b99a2897c20f9e6e54d3b9b359ade314 8 | channel: stable 9 | 10 | project_type: app 11 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # foodrecipes 2 | 3 | A very nice Food Recipes 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://flutter.dev/docs/get-started/codelab) 12 | - [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook) 13 | 14 | For help getting started with Flutter, view our 15 | [online documentation](https://flutter.dev/docs), which offers tutorials, 16 | samples, guidance on mobile development, and a full API reference. 17 | -------------------------------------------------------------------------------- /android/._.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/android/._.gitignore -------------------------------------------------------------------------------- /android/._build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/android/._build.gradle -------------------------------------------------------------------------------- /android/._settings.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/android/._settings.gradle -------------------------------------------------------------------------------- /android/.gitignore: -------------------------------------------------------------------------------- 1 | gradle-wrapper.jar 2 | /.gradle 3 | /captures/ 4 | /gradlew 5 | /gradlew.bat 6 | /local.properties 7 | GeneratedPluginRegistrant.java 8 | -------------------------------------------------------------------------------- /android/app/build.gradle: -------------------------------------------------------------------------------- 1 | def localProperties = new Properties() 2 | def localPropertiesFile = rootProject.file('local.properties') 3 | if (localPropertiesFile.exists()) { 4 | localPropertiesFile.withReader('UTF-8') { reader -> 5 | localProperties.load(reader) 6 | } 7 | } 8 | 9 | def flutterRoot = localProperties.getProperty('flutter.sdk') 10 | if (flutterRoot == null) { 11 | throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.") 12 | } 13 | 14 | def flutterVersionCode = localProperties.getProperty('flutter.versionCode') 15 | if (flutterVersionCode == null) { 16 | flutterVersionCode = '1' 17 | } 18 | 19 | def flutterVersionName = localProperties.getProperty('flutter.versionName') 20 | if (flutterVersionName == null) { 21 | flutterVersionName = '1.0' 22 | } 23 | 24 | apply plugin: 'com.android.application' 25 | apply plugin: 'kotlin-android' 26 | apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" 27 | 28 | android { 29 | compileSdkVersion 28 30 | 31 | sourceSets { 32 | main.java.srcDirs += 'src/main/kotlin' 33 | } 34 | 35 | lintOptions { 36 | disable 'InvalidPackage' 37 | } 38 | 39 | defaultConfig { 40 | applicationId "com.arikachmad.foodrecipes" 41 | minSdkVersion 16 42 | targetSdkVersion 28 43 | versionCode flutterVersionCode.toInteger() 44 | versionName flutterVersionName 45 | } 46 | 47 | buildTypes { 48 | release { 49 | // Signing with the debug keys for now, so `flutter run --release` works. 50 | signingConfig signingConfigs.debug 51 | } 52 | } 53 | } 54 | 55 | flutter { 56 | source '../..' 57 | } 58 | 59 | dependencies { 60 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" 61 | } 62 | -------------------------------------------------------------------------------- /android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 8 | 12 | 19 | 23 | 27 | 32 | 36 | 37 | 38 | 39 | 40 | 41 | 43 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /android/app/src/main/kotlin/com/arikachmad/foodrecipes/MainActivity.kt: -------------------------------------------------------------------------------- 1 | package com.arikachmad.foodrecipes 2 | 3 | import io.flutter.embedding.android.FlutterActivity 4 | 5 | class MainActivity: FlutterActivity() { 6 | } 7 | -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/._launch_background.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/android/app/src/main/res/drawable/._launch_background.xml -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/launch_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/._ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/android/app/src/main/res/mipmap-hdpi/._ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/._ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/android/app/src/main/res/mipmap-mdpi/._ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/._ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/android/app/src/main/res/mipmap-xhdpi/._ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/._ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/android/app/src/main/res/mipmap-xxhdpi/._ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/._ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/android/app/src/main/res/mipmap-xxxhdpi/._ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/values/._styles.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/android/app/src/main/res/values/._styles.xml -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 15 | 18 | 19 | -------------------------------------------------------------------------------- /android/app/src/profile/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /android/build.gradle: -------------------------------------------------------------------------------- 1 | buildscript { 2 | ext.kotlin_version = '1.3.50' 3 | repositories { 4 | google() 5 | jcenter() 6 | } 7 | 8 | dependencies { 9 | classpath 'com.android.tools.build:gradle:3.5.0' 10 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" 11 | } 12 | } 13 | 14 | allprojects { 15 | repositories { 16 | google() 17 | jcenter() 18 | } 19 | } 20 | 21 | rootProject.buildDir = '../build' 22 | subprojects { 23 | project.buildDir = "${rootProject.buildDir}/${project.name}" 24 | } 25 | subprojects { 26 | project.evaluationDependsOn(':app') 27 | } 28 | 29 | task clean(type: Delete) { 30 | delete rootProject.buildDir 31 | } 32 | -------------------------------------------------------------------------------- /android/gradle.properties: -------------------------------------------------------------------------------- 1 | org.gradle.jvmargs=-Xmx1536M 2 | android.enableR8=true 3 | android.useAndroidX=true 4 | android.enableJetifier=true 5 | -------------------------------------------------------------------------------- /android/gradle/wrapper/._gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/android/gradle/wrapper/._gradle-wrapper.properties -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Fri Jun 23 08:50:38 CEST 2017 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-all.zip 7 | -------------------------------------------------------------------------------- /android/settings.gradle: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Flutter Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style license that can be 3 | // found in the LICENSE file. 4 | 5 | include ':app' 6 | 7 | def localPropertiesFile = new File(rootProject.projectDir, "local.properties") 8 | def properties = new Properties() 9 | 10 | assert localPropertiesFile.exists() 11 | localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) } 12 | 13 | def flutterSdkPath = properties.getProperty("flutter.sdk") 14 | assert flutterSdkPath != null, "flutter.sdk not set in local.properties" 15 | apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle" 16 | -------------------------------------------------------------------------------- /ios/._.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/ios/._.gitignore -------------------------------------------------------------------------------- /ios/._Podfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/ios/._Podfile -------------------------------------------------------------------------------- /ios/.gitignore: -------------------------------------------------------------------------------- 1 | *.mode1v3 2 | *.mode2v3 3 | *.moved-aside 4 | *.pbxuser 5 | *.perspectivev3 6 | **/*sync/ 7 | .sconsign.dblite 8 | .tags* 9 | **/.vagrant/ 10 | **/DerivedData/ 11 | Icon? 12 | **/Pods/ 13 | **/.symlinks/ 14 | profile 15 | xcuserdata 16 | **/.generated/ 17 | Flutter/App.framework 18 | Flutter/Flutter.framework 19 | Flutter/Flutter.podspec 20 | Flutter/Generated.xcconfig 21 | Flutter/app.flx 22 | Flutter/app.zip 23 | Flutter/flutter_assets/ 24 | Flutter/flutter_export_environment.sh 25 | ServiceDefinitions.json 26 | Runner/GeneratedPluginRegistrant.* 27 | 28 | # Exceptions to above rules. 29 | !default.mode1v3 30 | !default.mode2v3 31 | !default.pbxuser 32 | !default.perspectivev3 33 | -------------------------------------------------------------------------------- /ios/Flutter/._AppFrameworkInfo.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/ios/Flutter/._AppFrameworkInfo.plist -------------------------------------------------------------------------------- /ios/Flutter/._Debug.xcconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/ios/Flutter/._Debug.xcconfig -------------------------------------------------------------------------------- /ios/Flutter/._Flutter.framework: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/ios/Flutter/._Flutter.framework -------------------------------------------------------------------------------- /ios/Flutter/._Flutter.podspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/ios/Flutter/._Flutter.podspec -------------------------------------------------------------------------------- /ios/Flutter/._Release.xcconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/ios/Flutter/._Release.xcconfig -------------------------------------------------------------------------------- /ios/Flutter/AppFrameworkInfo.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleExecutable 8 | App 9 | CFBundleIdentifier 10 | io.flutter.flutter.app 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | App 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1.0 23 | MinimumOSVersion 24 | 8.0 25 | 26 | 27 | -------------------------------------------------------------------------------- /ios/Flutter/Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig" 2 | #include "Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /ios/Flutter/Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig" 2 | #include "Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /ios/Podfile: -------------------------------------------------------------------------------- 1 | # Uncomment this line to define a global platform for your project 2 | # platform :ios, '9.0' 3 | 4 | # CocoaPods analytics sends network stats synchronously affecting flutter build latency. 5 | ENV['COCOAPODS_DISABLE_STATS'] = 'true' 6 | 7 | project 'Runner', { 8 | 'Debug' => :debug, 9 | 'Profile' => :release, 10 | 'Release' => :release, 11 | } 12 | 13 | def parse_KV_file(file, separator='=') 14 | file_abs_path = File.expand_path(file) 15 | if !File.exists? file_abs_path 16 | return []; 17 | end 18 | generated_key_values = {} 19 | skip_line_start_symbols = ["#", "/"] 20 | File.foreach(file_abs_path) do |line| 21 | next if skip_line_start_symbols.any? { |symbol| line =~ /^\s*#{symbol}/ } 22 | plugin = line.split(pattern=separator) 23 | if plugin.length == 2 24 | podname = plugin[0].strip() 25 | path = plugin[1].strip() 26 | podpath = File.expand_path("#{path}", file_abs_path) 27 | generated_key_values[podname] = podpath 28 | else 29 | puts "Invalid plugin specification: #{line}" 30 | end 31 | end 32 | generated_key_values 33 | end 34 | 35 | target 'Runner' do 36 | use_frameworks! 37 | use_modular_headers! 38 | 39 | # Flutter Pod 40 | 41 | copied_flutter_dir = File.join(__dir__, 'Flutter') 42 | copied_framework_path = File.join(copied_flutter_dir, 'Flutter.framework') 43 | copied_podspec_path = File.join(copied_flutter_dir, 'Flutter.podspec') 44 | unless File.exist?(copied_framework_path) && File.exist?(copied_podspec_path) 45 | # Copy Flutter.framework and Flutter.podspec to Flutter/ to have something to link against if the xcode backend script has not run yet. 46 | # That script will copy the correct debug/profile/release version of the framework based on the currently selected Xcode configuration. 47 | # CocoaPods will not embed the framework on pod install (before any build phases can generate) if the dylib does not exist. 48 | 49 | generated_xcode_build_settings_path = File.join(copied_flutter_dir, 'Generated.xcconfig') 50 | unless File.exist?(generated_xcode_build_settings_path) 51 | raise "Generated.xcconfig must exist. If you're running pod install manually, make sure flutter pub get is executed first" 52 | end 53 | generated_xcode_build_settings = parse_KV_file(generated_xcode_build_settings_path) 54 | cached_framework_dir = generated_xcode_build_settings['FLUTTER_FRAMEWORK_DIR']; 55 | 56 | unless File.exist?(copied_framework_path) 57 | FileUtils.cp_r(File.join(cached_framework_dir, 'Flutter.framework'), copied_flutter_dir) 58 | end 59 | unless File.exist?(copied_podspec_path) 60 | FileUtils.cp(File.join(cached_framework_dir, 'Flutter.podspec'), copied_flutter_dir) 61 | end 62 | end 63 | 64 | # Keep pod path relative so it can be checked into Podfile.lock. 65 | pod 'Flutter', :path => 'Flutter' 66 | 67 | # Plugin Pods 68 | 69 | # Prepare symlinks folder. We use symlinks to avoid having Podfile.lock 70 | # referring to absolute paths on developers' machines. 71 | system('rm -rf .symlinks') 72 | system('mkdir -p .symlinks/plugins') 73 | plugin_pods = parse_KV_file('../.flutter-plugins') 74 | plugin_pods.each do |name, path| 75 | symlink = File.join('.symlinks', 'plugins', name) 76 | File.symlink(path, symlink) 77 | pod name, :path => File.join(symlink, 'ios') 78 | end 79 | end 80 | 81 | post_install do |installer| 82 | installer.pods_project.targets.each do |target| 83 | target.build_configurations.each do |config| 84 | config.build_settings['ENABLE_BITCODE'] = 'NO' 85 | end 86 | end 87 | end 88 | -------------------------------------------------------------------------------- /ios/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - Flutter (1.0.0) 3 | - FMDB (2.7.5): 4 | - FMDB/standard (= 2.7.5) 5 | - FMDB/standard (2.7.5) 6 | - path_provider (0.0.1): 7 | - Flutter 8 | - path_provider_linux (0.0.1): 9 | - Flutter 10 | - path_provider_macos (0.0.1): 11 | - Flutter 12 | - sqflite (0.0.1): 13 | - Flutter 14 | - FMDB (~> 2.7.2) 15 | 16 | DEPENDENCIES: 17 | - Flutter (from `Flutter`) 18 | - path_provider (from `.symlinks/plugins/path_provider/ios`) 19 | - path_provider_linux (from `.symlinks/plugins/path_provider_linux/ios`) 20 | - path_provider_macos (from `.symlinks/plugins/path_provider_macos/ios`) 21 | - sqflite (from `.symlinks/plugins/sqflite/ios`) 22 | 23 | SPEC REPOS: 24 | trunk: 25 | - FMDB 26 | 27 | EXTERNAL SOURCES: 28 | Flutter: 29 | :path: Flutter 30 | path_provider: 31 | :path: ".symlinks/plugins/path_provider/ios" 32 | path_provider_linux: 33 | :path: ".symlinks/plugins/path_provider_linux/ios" 34 | path_provider_macos: 35 | :path: ".symlinks/plugins/path_provider_macos/ios" 36 | sqflite: 37 | :path: ".symlinks/plugins/sqflite/ios" 38 | 39 | SPEC CHECKSUMS: 40 | Flutter: 0e3d915762c693b495b44d77113d4970485de6ec 41 | FMDB: 2ce00b547f966261cd18927a3ddb07cb6f3db82a 42 | path_provider: abfe2b5c733d04e238b0d8691db0cfd63a27a93c 43 | path_provider_linux: 4d630dc393e1f20364f3e3b4a2ff41d9674a84e4 44 | path_provider_macos: f760a3c5b04357c380e2fddb6f9db6f3015897e0 45 | sqflite: 4001a31ff81d210346b500c55b17f4d6c7589dd0 46 | 47 | PODFILE CHECKSUM: c34e2287a9ccaa606aeceab922830efb9a6ff69a 48 | 49 | COCOAPODS: 1.9.2 50 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; }; 11 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; }; 12 | 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 | A494484FFF3C353A3AC5E60A /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D93D2803B02EC4CF93E046CF /* Pods_Runner.framework */; }; 17 | /* End PBXBuildFile section */ 18 | 19 | /* Begin PBXCopyFilesBuildPhase section */ 20 | 9705A1C41CF9048500538489 /* Embed Frameworks */ = { 21 | isa = PBXCopyFilesBuildPhase; 22 | buildActionMask = 2147483647; 23 | dstPath = ""; 24 | dstSubfolderSpec = 10; 25 | files = ( 26 | ); 27 | name = "Embed Frameworks"; 28 | runOnlyForDeploymentPostprocessing = 0; 29 | }; 30 | /* End PBXCopyFilesBuildPhase section */ 31 | 32 | /* Begin PBXFileReference section */ 33 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; }; 34 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; }; 35 | 2D86BA114B1F82D2BC4592D2 /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = ""; }; 36 | 34A7DA3E1845B1757A0998E7 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = ""; }; 37 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; }; 38 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; }; 39 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 40 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; }; 41 | 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; }; 42 | 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; }; 43 | 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; }; 44 | 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 45 | 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 46 | 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 47 | 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 48 | D93D2803B02EC4CF93E046CF /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 49 | F3705C903F0035A2376BADE4 /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = ""; }; 50 | /* End PBXFileReference section */ 51 | 52 | /* Begin PBXFrameworksBuildPhase section */ 53 | 97C146EB1CF9000F007C117D /* Frameworks */ = { 54 | isa = PBXFrameworksBuildPhase; 55 | buildActionMask = 2147483647; 56 | files = ( 57 | A494484FFF3C353A3AC5E60A /* Pods_Runner.framework in Frameworks */, 58 | ); 59 | runOnlyForDeploymentPostprocessing = 0; 60 | }; 61 | /* End PBXFrameworksBuildPhase section */ 62 | 63 | /* Begin PBXGroup section */ 64 | 66F4906AABA8AA89A3A7357F /* Frameworks */ = { 65 | isa = PBXGroup; 66 | children = ( 67 | D93D2803B02EC4CF93E046CF /* Pods_Runner.framework */, 68 | ); 69 | name = Frameworks; 70 | sourceTree = ""; 71 | }; 72 | 9740EEB11CF90186004384FC /* Flutter */ = { 73 | isa = PBXGroup; 74 | children = ( 75 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */, 76 | 9740EEB21CF90195004384FC /* Debug.xcconfig */, 77 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */, 78 | 9740EEB31CF90195004384FC /* Generated.xcconfig */, 79 | ); 80 | name = Flutter; 81 | sourceTree = ""; 82 | }; 83 | 97C146E51CF9000F007C117D = { 84 | isa = PBXGroup; 85 | children = ( 86 | 9740EEB11CF90186004384FC /* Flutter */, 87 | 97C146F01CF9000F007C117D /* Runner */, 88 | 97C146EF1CF9000F007C117D /* Products */, 89 | 9BAADBB99F2D1688ADF25888 /* Pods */, 90 | 66F4906AABA8AA89A3A7357F /* Frameworks */, 91 | ); 92 | sourceTree = ""; 93 | }; 94 | 97C146EF1CF9000F007C117D /* Products */ = { 95 | isa = PBXGroup; 96 | children = ( 97 | 97C146EE1CF9000F007C117D /* Runner.app */, 98 | ); 99 | name = Products; 100 | sourceTree = ""; 101 | }; 102 | 97C146F01CF9000F007C117D /* Runner */ = { 103 | isa = PBXGroup; 104 | children = ( 105 | 97C146FA1CF9000F007C117D /* Main.storyboard */, 106 | 97C146FD1CF9000F007C117D /* Assets.xcassets */, 107 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */, 108 | 97C147021CF9000F007C117D /* Info.plist */, 109 | 97C146F11CF9000F007C117D /* Supporting Files */, 110 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */, 111 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */, 112 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */, 113 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */, 114 | ); 115 | path = Runner; 116 | sourceTree = ""; 117 | }; 118 | 97C146F11CF9000F007C117D /* Supporting Files */ = { 119 | isa = PBXGroup; 120 | children = ( 121 | ); 122 | name = "Supporting Files"; 123 | sourceTree = ""; 124 | }; 125 | 9BAADBB99F2D1688ADF25888 /* Pods */ = { 126 | isa = PBXGroup; 127 | children = ( 128 | F3705C903F0035A2376BADE4 /* Pods-Runner.debug.xcconfig */, 129 | 34A7DA3E1845B1757A0998E7 /* Pods-Runner.release.xcconfig */, 130 | 2D86BA114B1F82D2BC4592D2 /* Pods-Runner.profile.xcconfig */, 131 | ); 132 | name = Pods; 133 | path = Pods; 134 | sourceTree = ""; 135 | }; 136 | /* End PBXGroup section */ 137 | 138 | /* Begin PBXNativeTarget section */ 139 | 97C146ED1CF9000F007C117D /* Runner */ = { 140 | isa = PBXNativeTarget; 141 | buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */; 142 | buildPhases = ( 143 | 7FBA55F7C223B7004375DCE1 /* [CP] Check Pods Manifest.lock */, 144 | 9740EEB61CF901F6004384FC /* Run Script */, 145 | 97C146EA1CF9000F007C117D /* Sources */, 146 | 97C146EB1CF9000F007C117D /* Frameworks */, 147 | 97C146EC1CF9000F007C117D /* Resources */, 148 | 9705A1C41CF9048500538489 /* Embed Frameworks */, 149 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */, 150 | 57B79802B461A987A724363A /* [CP] Embed Pods Frameworks */, 151 | ); 152 | buildRules = ( 153 | ); 154 | dependencies = ( 155 | ); 156 | name = Runner; 157 | productName = Runner; 158 | productReference = 97C146EE1CF9000F007C117D /* Runner.app */; 159 | productType = "com.apple.product-type.application"; 160 | }; 161 | /* End PBXNativeTarget section */ 162 | 163 | /* Begin PBXProject section */ 164 | 97C146E61CF9000F007C117D /* Project object */ = { 165 | isa = PBXProject; 166 | attributes = { 167 | LastUpgradeCheck = 1020; 168 | ORGANIZATIONNAME = ""; 169 | TargetAttributes = { 170 | 97C146ED1CF9000F007C117D = { 171 | CreatedOnToolsVersion = 7.3.1; 172 | LastSwiftMigration = 1100; 173 | }; 174 | }; 175 | }; 176 | buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */; 177 | compatibilityVersion = "Xcode 9.3"; 178 | developmentRegion = en; 179 | hasScannedForEncodings = 0; 180 | knownRegions = ( 181 | en, 182 | Base, 183 | ); 184 | mainGroup = 97C146E51CF9000F007C117D; 185 | productRefGroup = 97C146EF1CF9000F007C117D /* Products */; 186 | projectDirPath = ""; 187 | projectRoot = ""; 188 | targets = ( 189 | 97C146ED1CF9000F007C117D /* Runner */, 190 | ); 191 | }; 192 | /* End PBXProject section */ 193 | 194 | /* Begin PBXResourcesBuildPhase section */ 195 | 97C146EC1CF9000F007C117D /* Resources */ = { 196 | isa = PBXResourcesBuildPhase; 197 | buildActionMask = 2147483647; 198 | files = ( 199 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */, 200 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */, 201 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */, 202 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */, 203 | ); 204 | runOnlyForDeploymentPostprocessing = 0; 205 | }; 206 | /* End PBXResourcesBuildPhase section */ 207 | 208 | /* Begin PBXShellScriptBuildPhase section */ 209 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { 210 | isa = PBXShellScriptBuildPhase; 211 | buildActionMask = 2147483647; 212 | files = ( 213 | ); 214 | inputPaths = ( 215 | ); 216 | name = "Thin Binary"; 217 | outputPaths = ( 218 | ); 219 | runOnlyForDeploymentPostprocessing = 0; 220 | shellPath = /bin/sh; 221 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin"; 222 | }; 223 | 57B79802B461A987A724363A /* [CP] Embed Pods Frameworks */ = { 224 | isa = PBXShellScriptBuildPhase; 225 | buildActionMask = 2147483647; 226 | files = ( 227 | ); 228 | inputPaths = ( 229 | "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh", 230 | "${BUILT_PRODUCTS_DIR}/FMDB/FMDB.framework", 231 | "${PODS_ROOT}/../Flutter/Flutter.framework", 232 | "${BUILT_PRODUCTS_DIR}/path_provider/path_provider.framework", 233 | "${BUILT_PRODUCTS_DIR}/sqflite/sqflite.framework", 234 | ); 235 | name = "[CP] Embed Pods Frameworks"; 236 | outputPaths = ( 237 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/FMDB.framework", 238 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Flutter.framework", 239 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/path_provider.framework", 240 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/sqflite.framework", 241 | ); 242 | runOnlyForDeploymentPostprocessing = 0; 243 | shellPath = /bin/sh; 244 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n"; 245 | showEnvVarsInLog = 0; 246 | }; 247 | 7FBA55F7C223B7004375DCE1 /* [CP] Check Pods Manifest.lock */ = { 248 | isa = PBXShellScriptBuildPhase; 249 | buildActionMask = 2147483647; 250 | files = ( 251 | ); 252 | inputFileListPaths = ( 253 | ); 254 | inputPaths = ( 255 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 256 | "${PODS_ROOT}/Manifest.lock", 257 | ); 258 | name = "[CP] Check Pods Manifest.lock"; 259 | outputFileListPaths = ( 260 | ); 261 | outputPaths = ( 262 | "$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt", 263 | ); 264 | runOnlyForDeploymentPostprocessing = 0; 265 | shellPath = /bin/sh; 266 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; 267 | showEnvVarsInLog = 0; 268 | }; 269 | 9740EEB61CF901F6004384FC /* Run Script */ = { 270 | isa = PBXShellScriptBuildPhase; 271 | buildActionMask = 2147483647; 272 | files = ( 273 | ); 274 | inputPaths = ( 275 | ); 276 | name = "Run Script"; 277 | outputPaths = ( 278 | ); 279 | runOnlyForDeploymentPostprocessing = 0; 280 | shellPath = /bin/sh; 281 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build"; 282 | }; 283 | /* End PBXShellScriptBuildPhase section */ 284 | 285 | /* Begin PBXSourcesBuildPhase section */ 286 | 97C146EA1CF9000F007C117D /* Sources */ = { 287 | isa = PBXSourcesBuildPhase; 288 | buildActionMask = 2147483647; 289 | files = ( 290 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */, 291 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */, 292 | ); 293 | runOnlyForDeploymentPostprocessing = 0; 294 | }; 295 | /* End PBXSourcesBuildPhase section */ 296 | 297 | /* Begin PBXVariantGroup section */ 298 | 97C146FA1CF9000F007C117D /* Main.storyboard */ = { 299 | isa = PBXVariantGroup; 300 | children = ( 301 | 97C146FB1CF9000F007C117D /* Base */, 302 | ); 303 | name = Main.storyboard; 304 | sourceTree = ""; 305 | }; 306 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = { 307 | isa = PBXVariantGroup; 308 | children = ( 309 | 97C147001CF9000F007C117D /* Base */, 310 | ); 311 | name = LaunchScreen.storyboard; 312 | sourceTree = ""; 313 | }; 314 | /* End PBXVariantGroup section */ 315 | 316 | /* Begin XCBuildConfiguration section */ 317 | 249021D3217E4FDB00AE95B9 /* Profile */ = { 318 | isa = XCBuildConfiguration; 319 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 320 | buildSettings = { 321 | ALWAYS_SEARCH_USER_PATHS = NO; 322 | CLANG_ANALYZER_NONNULL = YES; 323 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 324 | CLANG_CXX_LIBRARY = "libc++"; 325 | CLANG_ENABLE_MODULES = YES; 326 | CLANG_ENABLE_OBJC_ARC = YES; 327 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 328 | CLANG_WARN_BOOL_CONVERSION = YES; 329 | CLANG_WARN_COMMA = YES; 330 | CLANG_WARN_CONSTANT_CONVERSION = YES; 331 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 332 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 333 | CLANG_WARN_EMPTY_BODY = YES; 334 | CLANG_WARN_ENUM_CONVERSION = YES; 335 | CLANG_WARN_INFINITE_RECURSION = YES; 336 | CLANG_WARN_INT_CONVERSION = YES; 337 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 338 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 339 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 340 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 341 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 342 | CLANG_WARN_STRICT_PROTOTYPES = YES; 343 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 344 | CLANG_WARN_UNREACHABLE_CODE = YES; 345 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 346 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 347 | COPY_PHASE_STRIP = NO; 348 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 349 | ENABLE_NS_ASSERTIONS = NO; 350 | ENABLE_STRICT_OBJC_MSGSEND = YES; 351 | GCC_C_LANGUAGE_STANDARD = gnu99; 352 | GCC_NO_COMMON_BLOCKS = YES; 353 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 354 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 355 | GCC_WARN_UNDECLARED_SELECTOR = YES; 356 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 357 | GCC_WARN_UNUSED_FUNCTION = YES; 358 | GCC_WARN_UNUSED_VARIABLE = YES; 359 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 360 | MTL_ENABLE_DEBUG_INFO = NO; 361 | SDKROOT = iphoneos; 362 | SUPPORTED_PLATFORMS = iphoneos; 363 | TARGETED_DEVICE_FAMILY = "1,2"; 364 | VALIDATE_PRODUCT = YES; 365 | }; 366 | name = Profile; 367 | }; 368 | 249021D4217E4FDB00AE95B9 /* Profile */ = { 369 | isa = XCBuildConfiguration; 370 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 371 | buildSettings = { 372 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 373 | CLANG_ENABLE_MODULES = YES; 374 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 375 | ENABLE_BITCODE = NO; 376 | FRAMEWORK_SEARCH_PATHS = ( 377 | "$(inherited)", 378 | "$(PROJECT_DIR)/Flutter", 379 | ); 380 | INFOPLIST_FILE = Runner/Info.plist; 381 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 382 | LIBRARY_SEARCH_PATHS = ( 383 | "$(inherited)", 384 | "$(PROJECT_DIR)/Flutter", 385 | ); 386 | PRODUCT_BUNDLE_IDENTIFIER = com.arikachmad.foodrecipes; 387 | PRODUCT_NAME = "$(TARGET_NAME)"; 388 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 389 | SWIFT_VERSION = 5.0; 390 | VERSIONING_SYSTEM = "apple-generic"; 391 | }; 392 | name = Profile; 393 | }; 394 | 97C147031CF9000F007C117D /* Debug */ = { 395 | isa = XCBuildConfiguration; 396 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; 397 | buildSettings = { 398 | ALWAYS_SEARCH_USER_PATHS = NO; 399 | CLANG_ANALYZER_NONNULL = YES; 400 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 401 | CLANG_CXX_LIBRARY = "libc++"; 402 | CLANG_ENABLE_MODULES = YES; 403 | CLANG_ENABLE_OBJC_ARC = YES; 404 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 405 | CLANG_WARN_BOOL_CONVERSION = YES; 406 | CLANG_WARN_COMMA = YES; 407 | CLANG_WARN_CONSTANT_CONVERSION = YES; 408 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 409 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 410 | CLANG_WARN_EMPTY_BODY = YES; 411 | CLANG_WARN_ENUM_CONVERSION = YES; 412 | CLANG_WARN_INFINITE_RECURSION = YES; 413 | CLANG_WARN_INT_CONVERSION = YES; 414 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 415 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 416 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 417 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 418 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 419 | CLANG_WARN_STRICT_PROTOTYPES = YES; 420 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 421 | CLANG_WARN_UNREACHABLE_CODE = YES; 422 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 423 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 424 | COPY_PHASE_STRIP = NO; 425 | DEBUG_INFORMATION_FORMAT = dwarf; 426 | ENABLE_STRICT_OBJC_MSGSEND = YES; 427 | ENABLE_TESTABILITY = YES; 428 | GCC_C_LANGUAGE_STANDARD = gnu99; 429 | GCC_DYNAMIC_NO_PIC = NO; 430 | GCC_NO_COMMON_BLOCKS = YES; 431 | GCC_OPTIMIZATION_LEVEL = 0; 432 | GCC_PREPROCESSOR_DEFINITIONS = ( 433 | "DEBUG=1", 434 | "$(inherited)", 435 | ); 436 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 437 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 438 | GCC_WARN_UNDECLARED_SELECTOR = YES; 439 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 440 | GCC_WARN_UNUSED_FUNCTION = YES; 441 | GCC_WARN_UNUSED_VARIABLE = YES; 442 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 443 | MTL_ENABLE_DEBUG_INFO = YES; 444 | ONLY_ACTIVE_ARCH = YES; 445 | SDKROOT = iphoneos; 446 | TARGETED_DEVICE_FAMILY = "1,2"; 447 | }; 448 | name = Debug; 449 | }; 450 | 97C147041CF9000F007C117D /* Release */ = { 451 | isa = XCBuildConfiguration; 452 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 453 | buildSettings = { 454 | ALWAYS_SEARCH_USER_PATHS = NO; 455 | CLANG_ANALYZER_NONNULL = YES; 456 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 457 | CLANG_CXX_LIBRARY = "libc++"; 458 | CLANG_ENABLE_MODULES = YES; 459 | CLANG_ENABLE_OBJC_ARC = YES; 460 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 461 | CLANG_WARN_BOOL_CONVERSION = YES; 462 | CLANG_WARN_COMMA = YES; 463 | CLANG_WARN_CONSTANT_CONVERSION = YES; 464 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 465 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 466 | CLANG_WARN_EMPTY_BODY = YES; 467 | CLANG_WARN_ENUM_CONVERSION = YES; 468 | CLANG_WARN_INFINITE_RECURSION = YES; 469 | CLANG_WARN_INT_CONVERSION = YES; 470 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 471 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 472 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 473 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 474 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 475 | CLANG_WARN_STRICT_PROTOTYPES = YES; 476 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 477 | CLANG_WARN_UNREACHABLE_CODE = YES; 478 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 479 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 480 | COPY_PHASE_STRIP = NO; 481 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 482 | ENABLE_NS_ASSERTIONS = NO; 483 | ENABLE_STRICT_OBJC_MSGSEND = YES; 484 | GCC_C_LANGUAGE_STANDARD = gnu99; 485 | GCC_NO_COMMON_BLOCKS = YES; 486 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 487 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 488 | GCC_WARN_UNDECLARED_SELECTOR = YES; 489 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 490 | GCC_WARN_UNUSED_FUNCTION = YES; 491 | GCC_WARN_UNUSED_VARIABLE = YES; 492 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 493 | MTL_ENABLE_DEBUG_INFO = NO; 494 | SDKROOT = iphoneos; 495 | SUPPORTED_PLATFORMS = iphoneos; 496 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 497 | TARGETED_DEVICE_FAMILY = "1,2"; 498 | VALIDATE_PRODUCT = YES; 499 | }; 500 | name = Release; 501 | }; 502 | 97C147061CF9000F007C117D /* Debug */ = { 503 | isa = XCBuildConfiguration; 504 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; 505 | buildSettings = { 506 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 507 | CLANG_ENABLE_MODULES = YES; 508 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 509 | ENABLE_BITCODE = NO; 510 | FRAMEWORK_SEARCH_PATHS = ( 511 | "$(inherited)", 512 | "$(PROJECT_DIR)/Flutter", 513 | ); 514 | INFOPLIST_FILE = Runner/Info.plist; 515 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 516 | LIBRARY_SEARCH_PATHS = ( 517 | "$(inherited)", 518 | "$(PROJECT_DIR)/Flutter", 519 | ); 520 | PRODUCT_BUNDLE_IDENTIFIER = com.arikachmad.foodrecipes; 521 | PRODUCT_NAME = "$(TARGET_NAME)"; 522 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 523 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 524 | SWIFT_VERSION = 5.0; 525 | VERSIONING_SYSTEM = "apple-generic"; 526 | }; 527 | name = Debug; 528 | }; 529 | 97C147071CF9000F007C117D /* Release */ = { 530 | isa = XCBuildConfiguration; 531 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 532 | buildSettings = { 533 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 534 | CLANG_ENABLE_MODULES = YES; 535 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 536 | ENABLE_BITCODE = NO; 537 | FRAMEWORK_SEARCH_PATHS = ( 538 | "$(inherited)", 539 | "$(PROJECT_DIR)/Flutter", 540 | ); 541 | INFOPLIST_FILE = Runner/Info.plist; 542 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 543 | LIBRARY_SEARCH_PATHS = ( 544 | "$(inherited)", 545 | "$(PROJECT_DIR)/Flutter", 546 | ); 547 | PRODUCT_BUNDLE_IDENTIFIER = com.arikachmad.foodrecipes; 548 | PRODUCT_NAME = "$(TARGET_NAME)"; 549 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 550 | SWIFT_VERSION = 5.0; 551 | VERSIONING_SYSTEM = "apple-generic"; 552 | }; 553 | name = Release; 554 | }; 555 | /* End XCBuildConfiguration section */ 556 | 557 | /* Begin XCConfigurationList section */ 558 | 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = { 559 | isa = XCConfigurationList; 560 | buildConfigurations = ( 561 | 97C147031CF9000F007C117D /* Debug */, 562 | 97C147041CF9000F007C117D /* Release */, 563 | 249021D3217E4FDB00AE95B9 /* Profile */, 564 | ); 565 | defaultConfigurationIsVisible = 0; 566 | defaultConfigurationName = Release; 567 | }; 568 | 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = { 569 | isa = XCConfigurationList; 570 | buildConfigurations = ( 571 | 97C147061CF9000F007C117D /* Debug */, 572 | 97C147071CF9000F007C117D /* Release */, 573 | 249021D4217E4FDB00AE95B9 /* Profile */, 574 | ); 575 | defaultConfigurationIsVisible = 0; 576 | defaultConfigurationName = Release; 577 | }; 578 | /* End XCConfigurationList section */ 579 | }; 580 | rootObject = 97C146E61CF9000F007C117D /* Project object */; 581 | } 582 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/._contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/ios/Runner.xcodeproj/project.xcworkspace/._contents.xcworkspacedata -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/._IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/._IDEWorkspaceChecks.plist -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/._WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/._WorkspaceSettings.xcsettings -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/xcshareddata/xcschemes/._Runner.xcscheme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/ios/Runner.xcodeproj/xcshareddata/xcschemes/._Runner.xcscheme -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 39 | 40 | 41 | 42 | 43 | 44 | 54 | 56 | 62 | 63 | 64 | 65 | 66 | 67 | 73 | 75 | 81 | 82 | 83 | 84 | 86 | 87 | 90 | 91 | 92 | -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/._contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/ios/Runner.xcworkspace/._contents.xcworkspacedata -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/xcshareddata/._IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/ios/Runner.xcworkspace/xcshareddata/._IDEWorkspaceChecks.plist -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/xcshareddata/._WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/ios/Runner.xcworkspace/xcshareddata/._WorkspaceSettings.xcsettings -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/Runner/._AppDelegate.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/ios/Runner/._AppDelegate.swift -------------------------------------------------------------------------------- /ios/Runner/._Runner-Bridging-Header.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/ios/Runner/._Runner-Bridging-Header.h -------------------------------------------------------------------------------- /ios/Runner/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | import Flutter 3 | 4 | @UIApplicationMain 5 | @objc class AppDelegate: FlutterAppDelegate { 6 | override func application( 7 | _ application: UIApplication, 8 | didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? 9 | ) -> Bool { 10 | GeneratedPluginRegistrant.register(with: self) 11 | return super.application(application, didFinishLaunchingWithOptions: launchOptions) 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/._Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/ios/Runner/Assets.xcassets/AppIcon.appiconset/._Contents.json -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/._Icon-App-1024x1024@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/ios/Runner/Assets.xcassets/AppIcon.appiconset/._Icon-App-1024x1024@1x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/._Icon-App-20x20@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/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/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/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/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/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/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/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/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/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/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/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/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/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/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/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/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/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/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/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/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/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/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/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/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/ios/Runner/Assets.xcassets/AppIcon.appiconset/._Icon-App-76x76@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/._Icon-App-83.5x83.5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/ios/Runner/Assets.xcassets/AppIcon.appiconset/._Icon-App-83.5x83.5@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "size" : "20x20", 5 | "idiom" : "iphone", 6 | "filename" : "Icon-App-20x20@2x.png", 7 | "scale" : "2x" 8 | }, 9 | { 10 | "size" : "20x20", 11 | "idiom" : "iphone", 12 | "filename" : "Icon-App-20x20@3x.png", 13 | "scale" : "3x" 14 | }, 15 | { 16 | "size" : "29x29", 17 | "idiom" : "iphone", 18 | "filename" : "Icon-App-29x29@1x.png", 19 | "scale" : "1x" 20 | }, 21 | { 22 | "size" : "29x29", 23 | "idiom" : "iphone", 24 | "filename" : "Icon-App-29x29@2x.png", 25 | "scale" : "2x" 26 | }, 27 | { 28 | "size" : "29x29", 29 | "idiom" : "iphone", 30 | "filename" : "Icon-App-29x29@3x.png", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "size" : "40x40", 35 | "idiom" : "iphone", 36 | "filename" : "Icon-App-40x40@2x.png", 37 | "scale" : "2x" 38 | }, 39 | { 40 | "size" : "40x40", 41 | "idiom" : "iphone", 42 | "filename" : "Icon-App-40x40@3x.png", 43 | "scale" : "3x" 44 | }, 45 | { 46 | "size" : "60x60", 47 | "idiom" : "iphone", 48 | "filename" : "Icon-App-60x60@2x.png", 49 | "scale" : "2x" 50 | }, 51 | { 52 | "size" : "60x60", 53 | "idiom" : "iphone", 54 | "filename" : "Icon-App-60x60@3x.png", 55 | "scale" : "3x" 56 | }, 57 | { 58 | "size" : "20x20", 59 | "idiom" : "ipad", 60 | "filename" : "Icon-App-20x20@1x.png", 61 | "scale" : "1x" 62 | }, 63 | { 64 | "size" : "20x20", 65 | "idiom" : "ipad", 66 | "filename" : "Icon-App-20x20@2x.png", 67 | "scale" : "2x" 68 | }, 69 | { 70 | "size" : "29x29", 71 | "idiom" : "ipad", 72 | "filename" : "Icon-App-29x29@1x.png", 73 | "scale" : "1x" 74 | }, 75 | { 76 | "size" : "29x29", 77 | "idiom" : "ipad", 78 | "filename" : "Icon-App-29x29@2x.png", 79 | "scale" : "2x" 80 | }, 81 | { 82 | "size" : "40x40", 83 | "idiom" : "ipad", 84 | "filename" : "Icon-App-40x40@1x.png", 85 | "scale" : "1x" 86 | }, 87 | { 88 | "size" : "40x40", 89 | "idiom" : "ipad", 90 | "filename" : "Icon-App-40x40@2x.png", 91 | "scale" : "2x" 92 | }, 93 | { 94 | "size" : "76x76", 95 | "idiom" : "ipad", 96 | "filename" : "Icon-App-76x76@1x.png", 97 | "scale" : "1x" 98 | }, 99 | { 100 | "size" : "76x76", 101 | "idiom" : "ipad", 102 | "filename" : "Icon-App-76x76@2x.png", 103 | "scale" : "2x" 104 | }, 105 | { 106 | "size" : "83.5x83.5", 107 | "idiom" : "ipad", 108 | "filename" : "Icon-App-83.5x83.5@2x.png", 109 | "scale" : "2x" 110 | }, 111 | { 112 | "size" : "1024x1024", 113 | "idiom" : "ios-marketing", 114 | "filename" : "Icon-App-1024x1024@1x.png", 115 | "scale" : "1x" 116 | } 117 | ], 118 | "info" : { 119 | "version" : 1, 120 | "author" : "xcode" 121 | } 122 | } 123 | -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/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/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/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/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/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/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/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/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/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/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/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/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/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/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/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/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/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/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/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/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/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/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/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/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/._Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/ios/Runner/Assets.xcassets/LaunchImage.imageset/._Contents.json -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/._LaunchImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/ios/Runner/Assets.xcassets/LaunchImage.imageset/._LaunchImage.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/._LaunchImage@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/ios/Runner/Assets.xcassets/LaunchImage.imageset/._LaunchImage@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/._LaunchImage@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/ios/Runner/Assets.xcassets/LaunchImage.imageset/._LaunchImage@3x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/._README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/ios/Runner/Assets.xcassets/LaunchImage.imageset/._README.md -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "LaunchImage.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "LaunchImage@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "LaunchImage@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md: -------------------------------------------------------------------------------- 1 | # Launch Screen Assets 2 | 3 | You can customize the launch screen with your own desired assets by replacing the image files in this directory. 4 | 5 | You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images. -------------------------------------------------------------------------------- /ios/Runner/Base.lproj/._LaunchScreen.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/ios/Runner/Base.lproj/._LaunchScreen.storyboard -------------------------------------------------------------------------------- /ios/Runner/Base.lproj/._Main.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/ios/Runner/Base.lproj/._Main.storyboard -------------------------------------------------------------------------------- /ios/Runner/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /ios/Runner/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /ios/Runner/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | foodrecipes 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | $(FLUTTER_BUILD_NAME) 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | $(FLUTTER_BUILD_NUMBER) 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIMainStoryboardFile 28 | Main 29 | UISupportedInterfaceOrientations 30 | 31 | UIInterfaceOrientationPortrait 32 | UIInterfaceOrientationLandscapeLeft 33 | UIInterfaceOrientationLandscapeRight 34 | 35 | UISupportedInterfaceOrientations~ipad 36 | 37 | UIInterfaceOrientationPortrait 38 | UIInterfaceOrientationPortraitUpsideDown 39 | UIInterfaceOrientationLandscapeLeft 40 | UIInterfaceOrientationLandscapeRight 41 | 42 | UIViewControllerBasedStatusBarAppearance 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /ios/Runner/Runner-Bridging-Header.h: -------------------------------------------------------------------------------- 1 | #import "GeneratedPluginRegistrant.h" 2 | -------------------------------------------------------------------------------- /lib/core/domain/usecase.dart: -------------------------------------------------------------------------------- 1 | import 'package:equatable/equatable.dart'; 2 | 3 | abstract class UseCase { 4 | Future call(Params params); 5 | 6 | void onDispose(); 7 | } 8 | 9 | class NoParams extends Equatable { 10 | @override 11 | List get props => []; 12 | } 13 | -------------------------------------------------------------------------------- /lib/core/network/network.dart: -------------------------------------------------------------------------------- 1 | import 'package:dio/dio.dart'; 2 | 3 | class Network { 4 | static Dio dioClient() { 5 | BaseOptions options = new BaseOptions( 6 | connectTimeout: 60000, 7 | receiveTimeout: 40000, 8 | ); 9 | final Dio dio = Dio(options); 10 | dio.interceptors.add(LogInterceptor(responseBody: true)); 11 | return dio; 12 | } 13 | 14 | } -------------------------------------------------------------------------------- /lib/features/foods/data/datasource/food_data_source.dart: -------------------------------------------------------------------------------- 1 | import 'package:dio/dio.dart'; 2 | 3 | abstract class FoodDataSource { 4 | Future> apiFoodList(); 5 | 6 | void cancelRequest(); 7 | } 8 | 9 | class FoodDataSourceImpl extends FoodDataSource { 10 | final String _url = "http://192.227.240.179:7000/foods"; 11 | final Dio _client; 12 | final CancelToken _token = CancelToken(); 13 | FoodDataSourceImpl(this._client); 14 | 15 | @override 16 | Future> apiFoodList() => _client.get(_url, cancelToken: _token); 17 | 18 | @override 19 | void cancelRequest() { 20 | _token.cancel(); 21 | } 22 | 23 | } -------------------------------------------------------------------------------- /lib/features/foods/data/models/food_model.dart: -------------------------------------------------------------------------------- 1 | 2 | import 'package:flutter/material.dart'; 3 | import 'package:foodrecipes/food_api/models/food_domain_model.dart'; 4 | 5 | class FoodModel extends FoodDomainModel { 6 | FoodModel( 7 | {@required String name, @required String image, @required String desc}) 8 | : super(name: name, image: image, desc: desc); 9 | 10 | factory FoodModel.fromJson(Map json) { 11 | return FoodModel(name: json['name'], image: json['image'], desc: json['desc']); 12 | } 13 | 14 | Map toJson() { 15 | final Map data = new Map(); 16 | data['name'] = this.name; 17 | data['image'] = this.image; 18 | data['desc'] = this.desc; 19 | return data; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /lib/features/foods/data/repository/FoodRepositoryImpl.dart: -------------------------------------------------------------------------------- 1 | import 'dart:convert'; 2 | 3 | import 'package:dio/dio.dart'; 4 | import 'package:foodrecipes/features/foods/data/datasource/food_data_source.dart'; 5 | import 'package:foodrecipes/features/foods/data/models/food_model.dart'; 6 | import 'package:foodrecipes/food_api/models/food_domain_model.dart'; 7 | import 'package:foodrecipes/food_api/repository/FoodRepository.dart'; 8 | 9 | class FoodRepositoryImpl extends FoodRepository { 10 | final FoodDataSource _dataSource; 11 | 12 | FoodRepositoryImpl(this._dataSource); 13 | 14 | @override 15 | Future> getListFoods() async { 16 | try { 17 | return _dataSource.apiFoodList() 18 | .then((value) => jsonDecode(value.data)) 19 | .then((value) => 20 | (value as List).map((item) => FoodModel.fromJson(item)).toList()); 21 | } on DioError catch (e) { 22 | return Future.error(e); 23 | } 24 | } 25 | 26 | @override 27 | void onCancelRequest() => _dataSource.cancelRequest(); 28 | 29 | } 30 | -------------------------------------------------------------------------------- /lib/features/foods/di/AppModule.dart: -------------------------------------------------------------------------------- 1 | import 'package:foodrecipes/core/network/network.dart'; 2 | import 'package:foodrecipes/features/foods/data/datasource/food_data_source.dart'; 3 | import 'package:foodrecipes/features/foods/data/repository/FoodRepositoryImpl.dart'; 4 | import 'package:foodrecipes/features/foods/domain/usecases/get_list_foods_usecase.dart'; 5 | import 'package:foodrecipes/food_api/repository/FoodRepository.dart'; 6 | import 'package:injectorio/injectorio.dart'; 7 | 8 | class AppModule extends Module { 9 | 10 | AppModule(){ 11 | // ignore: unnecessary_cast 12 | single(FoodDataSourceImpl(Network.dioClient()) as FoodDataSource); 13 | // ignore: unnecessary_cast 14 | single(FoodRepositoryImpl(inject()) as FoodRepository); 15 | single(GetListFoodsUseCase(inject())); 16 | } 17 | } -------------------------------------------------------------------------------- /lib/features/foods/domain/usecases/get_list_foods_usecase.dart: -------------------------------------------------------------------------------- 1 | import 'package:foodrecipes/core/domain/usecase.dart'; 2 | import 'package:foodrecipes/food_api/models/food_domain_model.dart'; 3 | import 'package:foodrecipes/food_api/repository/FoodRepository.dart'; 4 | 5 | class GetListFoodsUseCase extends UseCase, NoParams> { 6 | final FoodRepository _repository; 7 | 8 | GetListFoodsUseCase(this._repository); 9 | 10 | @override 11 | Future> call(NoParams params) { 12 | return _repository.getListFoods(); 13 | } 14 | 15 | @override 16 | void onDispose() => _repository.onCancelRequest(); 17 | } 18 | -------------------------------------------------------------------------------- /lib/features/foods/presentation/detail/detail_food_widget.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:foodrecipes/food_api/models/food_domain_model.dart'; 3 | 4 | class DetailFoodWidget extends StatefulWidget { 5 | final FoodDomainModel food; 6 | 7 | const DetailFoodWidget({Key key, this.food}) : super(key: key); 8 | @override 9 | _DetailFoodWidgetState createState() => _DetailFoodWidgetState(); 10 | } 11 | 12 | class _DetailFoodWidgetState extends State { 13 | @override 14 | Widget build(BuildContext context) { 15 | return Scaffold( 16 | appBar: appBar(), 17 | body: content(), 18 | ); 19 | } 20 | 21 | Widget appBar() => AppBar(title: Text("Food Detail")); 22 | 23 | Widget content() { 24 | return SafeArea( 25 | child: SingleChildScrollView( 26 | child: Container( 27 | padding: EdgeInsets.all(16), 28 | child: Column( 29 | crossAxisAlignment: CrossAxisAlignment.start, 30 | children: [ 31 | foodImage(), 32 | foodTitle(), 33 | foodLabel(), 34 | foodDesc() 35 | ], 36 | ), 37 | ), 38 | ), 39 | ); 40 | } 41 | 42 | Widget foodImage() { 43 | return Center( 44 | child: Hero( 45 | tag: widget.food.name, 46 | child: CircleAvatar( 47 | radius: 50, 48 | backgroundImage: NetworkImage(widget.food.image), 49 | ), 50 | ), 51 | ); 52 | } 53 | 54 | Widget foodTitle() { 55 | return Center( 56 | child: Container( 57 | margin: EdgeInsets.only(top: 12), 58 | child: Text( 59 | widget.food.name, 60 | style: 61 | TextStyle(fontWeight: FontWeight.bold, fontSize: 20), 62 | ), 63 | ), 64 | ); 65 | } 66 | 67 | Widget foodLabel() { 68 | return Container( 69 | margin: EdgeInsets.only(top: 8), 70 | child: Text( 71 | "How to : ", 72 | style: TextStyle(fontWeight: FontWeight.bold, fontSize: 16), 73 | ), 74 | ); 75 | } 76 | 77 | Widget foodDesc() { 78 | return Container( 79 | margin: EdgeInsets.only(top: 4), 80 | child: Center( 81 | child: Text(widget.food.desc)), 82 | ); 83 | } 84 | } 85 | -------------------------------------------------------------------------------- /lib/features/foods/presentation/list/bloc/bloc.dart: -------------------------------------------------------------------------------- 1 | export 'list_foods_bloc.dart'; 2 | export 'list_foods_state.dart'; 3 | export 'list_foods_event.dart'; 4 | -------------------------------------------------------------------------------- /lib/features/foods/presentation/list/bloc/list_foods_bloc.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter_bloc/flutter_bloc.dart'; 2 | import 'package:foodrecipes/core/domain/usecase.dart'; 3 | import 'package:foodrecipes/features/foods/domain/usecases/get_list_foods_usecase.dart'; 4 | import 'package:foodrecipes/features/foods/presentation/list/bloc/bloc.dart'; 5 | 6 | class ListFoodBloc extends Bloc { 7 | final GetListFoodsUseCase _getListFoodsUseCase; 8 | 9 | ListFoodBloc(this._getListFoodsUseCase) : super(Idle()); 10 | 11 | @override 12 | Stream mapEventToState(ListFoodsEvent event) async* { 13 | if (event is OnAppear) { 14 | yield Loading(); 15 | yield* _getListFoodsUseCase 16 | .call(NoParams()) 17 | // ignore: unnecessary_cast 18 | .then((value) => Loaded(value) as ListFoodsState) 19 | .catchError((e) => Future.value(FailedToLoad(e.toString()))).asStream(); 20 | } 21 | } 22 | 23 | 24 | 25 | 26 | } 27 | -------------------------------------------------------------------------------- /lib/features/foods/presentation/list/bloc/list_foods_event.dart: -------------------------------------------------------------------------------- 1 | import 'package:equatable/equatable.dart'; 2 | import 'package:foodrecipes/food_api/models/food_domain_model.dart'; 3 | 4 | class ListFoodsEvent extends Equatable { 5 | @override 6 | List get props => []; 7 | } 8 | 9 | class OnAppear extends ListFoodsEvent{} 10 | class OnLoaded extends ListFoodsEvent{ 11 | final List listItem; 12 | OnLoaded(this.listItem); 13 | 14 | @override 15 | List get props => [listItem]; 16 | } 17 | 18 | -------------------------------------------------------------------------------- /lib/features/foods/presentation/list/bloc/list_foods_state.dart: -------------------------------------------------------------------------------- 1 | import 'package:equatable/equatable.dart'; 2 | import 'package:foodrecipes/food_api/models/food_domain_model.dart'; 3 | 4 | class ListFoodsState extends Equatable { 5 | @override 6 | List get props => []; 7 | } 8 | 9 | class Idle extends ListFoodsState {} 10 | class Loading extends ListFoodsState {} 11 | 12 | class Loaded extends ListFoodsState { 13 | final List listItem; 14 | 15 | Loaded(this.listItem); 16 | 17 | @override 18 | List get props => super.props; 19 | } 20 | 21 | class FailedToLoad extends ListFoodsState { 22 | final String error; 23 | 24 | FailedToLoad(this.error); 25 | 26 | @override 27 | List get props => [error]; 28 | } -------------------------------------------------------------------------------- /lib/features/foods/presentation/list/list_foods_widget.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:flutter_bloc/flutter_bloc.dart'; 3 | import 'package:foodrecipes/features/foods/presentation/detail/detail_food_widget.dart'; 4 | import 'package:foodrecipes/features/foods/presentation/list/bloc/bloc.dart'; 5 | import 'package:foodrecipes/food_api/models/food_domain_model.dart'; 6 | import 'package:injectorio/injectorio.dart'; 7 | 8 | class ListFoodsWidget extends StatefulWidget { 9 | @override 10 | _ListFoodsWidgetState createState() => _ListFoodsWidgetState(); 11 | } 12 | 13 | class _ListFoodsWidgetState extends State { 14 | 15 | ListFoodBloc _bloc; 16 | 17 | @override 18 | void initState() { 19 | _bloc = ListFoodBloc(get()); 20 | WidgetsBinding.instance.addPostFrameCallback((_)=>_bloc.add(OnAppear())); 21 | super.initState(); 22 | } 23 | 24 | @override 25 | void dispose() { 26 | _bloc.close(); 27 | super.dispose(); 28 | } 29 | 30 | void goToDetail(FoodDomainModel food) { 31 | Navigator.push( 32 | context, 33 | MaterialPageRoute( 34 | builder: (context) => DetailFoodWidget( 35 | food: food, 36 | )), 37 | ); 38 | } 39 | 40 | @override 41 | Widget build(BuildContext context) { 42 | return Scaffold( 43 | appBar: appBar(), 44 | body: content(context), 45 | ); 46 | } 47 | 48 | Widget appBar() { 49 | return AppBar( 50 | title: Text("Food Recipes"), 51 | ); 52 | } 53 | 54 | Widget content(BuildContext context) { 55 | return SafeArea( 56 | child: BlocBuilder( 57 | bloc: _bloc, 58 | builder: (context, state) { 59 | if (state is Loading) { 60 | return loading(); 61 | } 62 | 63 | if (state is Loaded) { 64 | return listFoods(context, state.listItem); 65 | } 66 | 67 | if (state is FailedToLoad) { 68 | return onError(state.error); 69 | } 70 | 71 | return blank(); 72 | }, 73 | ), 74 | ); 75 | } 76 | 77 | Widget listFoods(BuildContext context, List data) { 78 | return Center( 79 | child: GridView.count( 80 | crossAxisCount: 2, 81 | childAspectRatio: 1.0, 82 | padding: EdgeInsets.all(8.0), 83 | mainAxisSpacing: 8.0, 84 | crossAxisSpacing: 8.0, 85 | children: data.map((food) => itemFood(context, food)).toList()), 86 | ); 87 | } 88 | 89 | Widget itemFood(BuildContext context, FoodDomainModel food) { 90 | print("food name ->> ${food.name}"); 91 | print("food image ->> ${food.image}"); 92 | return GestureDetector( 93 | onTap: () => goToDetail(food), 94 | child: GridTile( 95 | child: Hero( 96 | tag: food.name, 97 | child: Image.network( 98 | food.image, 99 | fit: BoxFit.fitHeight, 100 | ), 101 | ), 102 | footer: GridTileBar( 103 | backgroundColor: Colors.black45, 104 | title: Text(food.name), 105 | ), 106 | ), 107 | ); 108 | } 109 | 110 | Widget onError(String msg) => Center(child: Text(msg, textAlign: TextAlign.center)); 111 | 112 | Widget blank() => Container(); 113 | 114 | Widget loading() => Center(child: CircularProgressIndicator()); 115 | 116 | } 117 | -------------------------------------------------------------------------------- /lib/food_api/models/food_domain_model.dart: -------------------------------------------------------------------------------- 1 | import 'package:equatable/equatable.dart'; 2 | import 'package:flutter/material.dart'; 3 | 4 | class FoodDomainModel extends Equatable { 5 | final String name; 6 | final String image; 7 | final String desc; 8 | 9 | FoodDomainModel({@required this.name, @required this.image, @required this.desc}); 10 | 11 | @override 12 | List get props => [name,image,desc]; 13 | 14 | } -------------------------------------------------------------------------------- /lib/food_api/repository/FoodRepository.dart: -------------------------------------------------------------------------------- 1 | import 'package:foodrecipes/food_api/models/food_domain_model.dart'; 2 | 3 | abstract class FoodRepository { 4 | Future> getListFoods(); 5 | 6 | void onCancelRequest(); 7 | } -------------------------------------------------------------------------------- /lib/main.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:foodrecipes/features/foods/presentation/list/list_foods_widget.dart'; 3 | import 'package:injectorio/injectorio.dart'; 4 | import 'features/foods/di/AppModule.dart'; 5 | 6 | void main() { 7 | InjectorIO.start(mode: InjectorMode.DEBUG) 8 | .module(AppModule()); 9 | runApp(MyApp()); 10 | } 11 | 12 | class MyApp extends StatelessWidget { 13 | @override 14 | Widget build(BuildContext context) { 15 | return MaterialApp( 16 | title: 'Flutter Demo', 17 | theme: ThemeData( 18 | primarySwatch: Colors.blue, 19 | visualDensity: VisualDensity.adaptivePlatformDensity, 20 | ), 21 | home: ListFoodsWidget(), 22 | ); 23 | } 24 | } 25 | 26 | -------------------------------------------------------------------------------- /pubspec.lock: -------------------------------------------------------------------------------- 1 | # Generated by pub 2 | # See https://dart.dev/tools/pub/glossary#lockfile 3 | packages: 4 | archive: 5 | dependency: transitive 6 | description: 7 | name: archive 8 | url: "https://pub.dartlang.org" 9 | source: hosted 10 | version: "2.0.13" 11 | args: 12 | dependency: transitive 13 | description: 14 | name: args 15 | url: "https://pub.dartlang.org" 16 | source: hosted 17 | version: "1.6.0" 18 | async: 19 | dependency: transitive 20 | description: 21 | name: async 22 | url: "https://pub.dartlang.org" 23 | source: hosted 24 | version: "2.4.1" 25 | bloc: 26 | dependency: transitive 27 | description: 28 | name: bloc 29 | url: "https://pub.dartlang.org" 30 | source: hosted 31 | version: "5.0.0" 32 | boolean_selector: 33 | dependency: transitive 34 | description: 35 | name: boolean_selector 36 | url: "https://pub.dartlang.org" 37 | source: hosted 38 | version: "2.0.0" 39 | cached_network_image: 40 | dependency: "direct main" 41 | description: 42 | name: cached_network_image 43 | url: "https://pub.dartlang.org" 44 | source: hosted 45 | version: "2.2.0+1" 46 | charcode: 47 | dependency: transitive 48 | description: 49 | name: charcode 50 | url: "https://pub.dartlang.org" 51 | source: hosted 52 | version: "1.1.3" 53 | clock: 54 | dependency: transitive 55 | description: 56 | name: clock 57 | url: "https://pub.dartlang.org" 58 | source: hosted 59 | version: "1.0.1" 60 | collection: 61 | dependency: transitive 62 | description: 63 | name: collection 64 | url: "https://pub.dartlang.org" 65 | source: hosted 66 | version: "1.14.12" 67 | convert: 68 | dependency: transitive 69 | description: 70 | name: convert 71 | url: "https://pub.dartlang.org" 72 | source: hosted 73 | version: "2.1.1" 74 | crypto: 75 | dependency: transitive 76 | description: 77 | name: crypto 78 | url: "https://pub.dartlang.org" 79 | source: hosted 80 | version: "2.1.4" 81 | cubit: 82 | dependency: transitive 83 | description: 84 | name: cubit 85 | url: "https://pub.dartlang.org" 86 | source: hosted 87 | version: "0.1.0" 88 | cupertino_icons: 89 | dependency: "direct main" 90 | description: 91 | name: cupertino_icons 92 | url: "https://pub.dartlang.org" 93 | source: hosted 94 | version: "0.1.3" 95 | dio: 96 | dependency: "direct main" 97 | description: 98 | name: dio 99 | url: "https://pub.dartlang.org" 100 | source: hosted 101 | version: "3.0.9" 102 | equatable: 103 | dependency: "direct main" 104 | description: 105 | name: equatable 106 | url: "https://pub.dartlang.org" 107 | source: hosted 108 | version: "1.2.0" 109 | file: 110 | dependency: transitive 111 | description: 112 | name: file 113 | url: "https://pub.dartlang.org" 114 | source: hosted 115 | version: "5.2.1" 116 | flutter: 117 | dependency: "direct main" 118 | description: flutter 119 | source: sdk 120 | version: "0.0.0" 121 | flutter_bloc: 122 | dependency: "direct main" 123 | description: 124 | name: flutter_bloc 125 | url: "https://pub.dartlang.org" 126 | source: hosted 127 | version: "5.0.0" 128 | flutter_cache_manager: 129 | dependency: transitive 130 | description: 131 | name: flutter_cache_manager 132 | url: "https://pub.dartlang.org" 133 | source: hosted 134 | version: "1.4.1" 135 | flutter_cubit: 136 | dependency: transitive 137 | description: 138 | name: flutter_cubit 139 | url: "https://pub.dartlang.org" 140 | source: hosted 141 | version: "0.1.0" 142 | flutter_test: 143 | dependency: "direct dev" 144 | description: flutter 145 | source: sdk 146 | version: "0.0.0" 147 | http: 148 | dependency: transitive 149 | description: 150 | name: http 151 | url: "https://pub.dartlang.org" 152 | source: hosted 153 | version: "0.12.1" 154 | http_parser: 155 | dependency: transitive 156 | description: 157 | name: http_parser 158 | url: "https://pub.dartlang.org" 159 | source: hosted 160 | version: "3.1.4" 161 | image: 162 | dependency: transitive 163 | description: 164 | name: image 165 | url: "https://pub.dartlang.org" 166 | source: hosted 167 | version: "2.1.12" 168 | injectorio: 169 | dependency: "direct main" 170 | description: 171 | name: injectorio 172 | url: "https://pub.dartlang.org" 173 | source: hosted 174 | version: "1.0.5" 175 | intl: 176 | dependency: transitive 177 | description: 178 | name: intl 179 | url: "https://pub.dartlang.org" 180 | source: hosted 181 | version: "0.16.1" 182 | logger: 183 | dependency: transitive 184 | description: 185 | name: logger 186 | url: "https://pub.dartlang.org" 187 | source: hosted 188 | version: "0.7.0+2" 189 | matcher: 190 | dependency: transitive 191 | description: 192 | name: matcher 193 | url: "https://pub.dartlang.org" 194 | source: hosted 195 | version: "0.12.6" 196 | meta: 197 | dependency: transitive 198 | description: 199 | name: meta 200 | url: "https://pub.dartlang.org" 201 | source: hosted 202 | version: "1.1.8" 203 | nested: 204 | dependency: transitive 205 | description: 206 | name: nested 207 | url: "https://pub.dartlang.org" 208 | source: hosted 209 | version: "0.0.4" 210 | path: 211 | dependency: transitive 212 | description: 213 | name: path 214 | url: "https://pub.dartlang.org" 215 | source: hosted 216 | version: "1.6.4" 217 | path_provider: 218 | dependency: transitive 219 | description: 220 | name: path_provider 221 | url: "https://pub.dartlang.org" 222 | source: hosted 223 | version: "1.6.11" 224 | path_provider_linux: 225 | dependency: transitive 226 | description: 227 | name: path_provider_linux 228 | url: "https://pub.dartlang.org" 229 | source: hosted 230 | version: "0.0.1+1" 231 | path_provider_macos: 232 | dependency: transitive 233 | description: 234 | name: path_provider_macos 235 | url: "https://pub.dartlang.org" 236 | source: hosted 237 | version: "0.0.4+3" 238 | path_provider_platform_interface: 239 | dependency: transitive 240 | description: 241 | name: path_provider_platform_interface 242 | url: "https://pub.dartlang.org" 243 | source: hosted 244 | version: "1.0.2" 245 | pedantic: 246 | dependency: transitive 247 | description: 248 | name: pedantic 249 | url: "https://pub.dartlang.org" 250 | source: hosted 251 | version: "1.9.0" 252 | petitparser: 253 | dependency: transitive 254 | description: 255 | name: petitparser 256 | url: "https://pub.dartlang.org" 257 | source: hosted 258 | version: "2.4.0" 259 | platform: 260 | dependency: transitive 261 | description: 262 | name: platform 263 | url: "https://pub.dartlang.org" 264 | source: hosted 265 | version: "2.2.1" 266 | plugin_platform_interface: 267 | dependency: transitive 268 | description: 269 | name: plugin_platform_interface 270 | url: "https://pub.dartlang.org" 271 | source: hosted 272 | version: "1.0.2" 273 | process: 274 | dependency: transitive 275 | description: 276 | name: process 277 | url: "https://pub.dartlang.org" 278 | source: hosted 279 | version: "3.0.13" 280 | provider: 281 | dependency: transitive 282 | description: 283 | name: provider 284 | url: "https://pub.dartlang.org" 285 | source: hosted 286 | version: "4.1.3" 287 | quiver: 288 | dependency: transitive 289 | description: 290 | name: quiver 291 | url: "https://pub.dartlang.org" 292 | source: hosted 293 | version: "2.1.3" 294 | rxdart: 295 | dependency: transitive 296 | description: 297 | name: rxdart 298 | url: "https://pub.dartlang.org" 299 | source: hosted 300 | version: "0.24.1" 301 | sky_engine: 302 | dependency: transitive 303 | description: flutter 304 | source: sdk 305 | version: "0.0.99" 306 | source_span: 307 | dependency: transitive 308 | description: 309 | name: source_span 310 | url: "https://pub.dartlang.org" 311 | source: hosted 312 | version: "1.7.0" 313 | sqflite: 314 | dependency: transitive 315 | description: 316 | name: sqflite 317 | url: "https://pub.dartlang.org" 318 | source: hosted 319 | version: "1.3.1" 320 | sqflite_common: 321 | dependency: transitive 322 | description: 323 | name: sqflite_common 324 | url: "https://pub.dartlang.org" 325 | source: hosted 326 | version: "1.0.2+1" 327 | stack_trace: 328 | dependency: transitive 329 | description: 330 | name: stack_trace 331 | url: "https://pub.dartlang.org" 332 | source: hosted 333 | version: "1.9.3" 334 | stream_channel: 335 | dependency: transitive 336 | description: 337 | name: stream_channel 338 | url: "https://pub.dartlang.org" 339 | source: hosted 340 | version: "2.0.0" 341 | string_scanner: 342 | dependency: transitive 343 | description: 344 | name: string_scanner 345 | url: "https://pub.dartlang.org" 346 | source: hosted 347 | version: "1.0.5" 348 | synchronized: 349 | dependency: transitive 350 | description: 351 | name: synchronized 352 | url: "https://pub.dartlang.org" 353 | source: hosted 354 | version: "2.2.0+1" 355 | term_glyph: 356 | dependency: transitive 357 | description: 358 | name: term_glyph 359 | url: "https://pub.dartlang.org" 360 | source: hosted 361 | version: "1.1.0" 362 | test_api: 363 | dependency: transitive 364 | description: 365 | name: test_api 366 | url: "https://pub.dartlang.org" 367 | source: hosted 368 | version: "0.2.15" 369 | typed_data: 370 | dependency: transitive 371 | description: 372 | name: typed_data 373 | url: "https://pub.dartlang.org" 374 | source: hosted 375 | version: "1.1.6" 376 | uuid: 377 | dependency: transitive 378 | description: 379 | name: uuid 380 | url: "https://pub.dartlang.org" 381 | source: hosted 382 | version: "2.1.0" 383 | vector_math: 384 | dependency: transitive 385 | description: 386 | name: vector_math 387 | url: "https://pub.dartlang.org" 388 | source: hosted 389 | version: "2.0.8" 390 | xdg_directories: 391 | dependency: transitive 392 | description: 393 | name: xdg_directories 394 | url: "https://pub.dartlang.org" 395 | source: hosted 396 | version: "0.1.0" 397 | xml: 398 | dependency: transitive 399 | description: 400 | name: xml 401 | url: "https://pub.dartlang.org" 402 | source: hosted 403 | version: "3.6.1" 404 | sdks: 405 | dart: ">=2.8.0 <3.0.0" 406 | flutter: ">=1.16.0 <2.0.0" 407 | -------------------------------------------------------------------------------- /pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: foodrecipes 2 | description: A very nice Food Recipes 3 | 4 | # The following line prevents the package from being accidentally published to 5 | # pub.dev using `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 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 | version: 1.0.0+1 19 | 20 | environment: 21 | sdk: ">=2.7.0 <3.0.0" 22 | 23 | dependencies: 24 | #Inject 25 | injectorio: ^1.0.5 26 | 27 | #Network 28 | dio: 3.0.9 29 | 30 | #Bloc 31 | flutter_bloc: ^5.0.0 32 | 33 | #Cached Network Image 34 | cached_network_image: ^2.2.0+1 35 | 36 | #Equatable 37 | equatable: ^1.2.0 38 | 39 | flutter: 40 | sdk: flutter 41 | 42 | 43 | 44 | # The following adds the Cupertino Icons font to your application. 45 | # Use with the CupertinoIcons class for iOS style icons. 46 | cupertino_icons: ^0.1.3 47 | 48 | dev_dependencies: 49 | flutter_test: 50 | sdk: flutter 51 | 52 | # For information on the generic Dart part of this file, see the 53 | # following page: https://dart.dev/tools/pub/pubspec 54 | 55 | # The following section is specific to Flutter. 56 | flutter: 57 | 58 | # The following line ensures that the Material Icons font is 59 | # included with your application, so that you can use the icons in 60 | # the material Icons class. 61 | uses-material-design: true 62 | 63 | # To add assets to your application, add an assets section, like this: 64 | # assets: 65 | # - images/a_dot_burr.jpeg 66 | # - images/a_dot_ham.jpeg 67 | 68 | # An image asset can refer to one or more resolution-specific "variants", see 69 | # https://flutter.dev/assets-and-images/#resolution-aware. 70 | 71 | # For details regarding adding assets from package dependencies, see 72 | # https://flutter.dev/assets-and-images/#from-packages 73 | 74 | # To add custom fonts to your application, add a fonts section here, 75 | # in this "flutter" section. Each entry in this list should have a 76 | # "family" key with the font family name, and a "fonts" key with a 77 | # list giving the asset and other descriptors for the font. For 78 | # example: 79 | # fonts: 80 | # - family: Schyler 81 | # fonts: 82 | # - asset: fonts/Schyler-Regular.ttf 83 | # - asset: fonts/Schyler-Italic.ttf 84 | # style: italic 85 | # - family: Trajan Pro 86 | # fonts: 87 | # - asset: fonts/TrajanPro.ttf 88 | # - asset: fonts/TrajanPro_Bold.ttf 89 | # weight: 700 90 | # 91 | # For details regarding fonts from package dependencies, 92 | # see https://flutter.dev/custom-fonts/#from-packages 93 | -------------------------------------------------------------------------------- /screenshot/detail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/screenshot/detail.png -------------------------------------------------------------------------------- /screenshot/list.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiratheone/Flutter-Bloc-Clean-architecture-FoodRecipes/6eb2d70bfb06ed2037f78cbbc7dd354c6a126d00/screenshot/list.png -------------------------------------------------------------------------------- /test/widget_test.dart: -------------------------------------------------------------------------------- 1 | // This is a basic Flutter widget test. 2 | // 3 | // To perform an interaction with a widget in your test, use the WidgetTester 4 | // utility that Flutter provides. For example, you can send tap and scroll 5 | // gestures. You can also use WidgetTester to find child widgets in the widget 6 | // tree, read text, and verify that the values of widget properties are correct. 7 | 8 | import 'package:flutter/material.dart'; 9 | import 'package:flutter_test/flutter_test.dart'; 10 | 11 | import 'package:foodrecipes/main.dart'; 12 | 13 | void main() { 14 | testWidgets('Counter increments smoke test', (WidgetTester tester) async { 15 | // Build our app and trigger a frame. 16 | await tester.pumpWidget(MyApp()); 17 | 18 | // Verify that our counter starts at 0. 19 | expect(find.text('0'), findsOneWidget); 20 | expect(find.text('1'), findsNothing); 21 | 22 | // Tap the '+' icon and trigger a frame. 23 | await tester.tap(find.byIcon(Icons.add)); 24 | await tester.pump(); 25 | 26 | // Verify that our counter has incremented. 27 | expect(find.text('0'), findsNothing); 28 | expect(find.text('1'), findsOneWidget); 29 | }); 30 | } 31 | --------------------------------------------------------------------------------