├── LICENSE ├── README.md └── flutter_bloc_localization ├── .gitignore ├── .vscode └── settings.json ├── android ├── .gitignore ├── app │ ├── build.gradle │ └── src │ │ ├── debug │ │ └── AndroidManifest.xml │ │ ├── main │ │ ├── AndroidManifest.xml │ │ ├── kotlin │ │ │ └── com │ │ │ │ └── example │ │ │ │ └── flutter_bloc_localization │ │ │ │ └── MainActivity.kt │ │ └── res │ │ │ ├── drawable-v21 │ │ │ └── launch_background.xml │ │ │ ├── drawable │ │ │ └── launch_background.xml │ │ │ ├── mipmap-hdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-mdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xhdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxhdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxxhdpi │ │ │ └── ic_launcher.png │ │ │ ├── values-night │ │ │ └── styles.xml │ │ │ └── values │ │ │ └── styles.xml │ │ └── profile │ │ └── AndroidManifest.xml ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties └── settings.gradle ├── assets ├── dutch.png ├── english.png ├── german.jpg └── intro.png ├── ios ├── .gitignore ├── Flutter │ ├── AppFrameworkInfo.plist │ ├── Debug.xcconfig │ └── Release.xcconfig ├── Podfile ├── Podfile.lock ├── Runner.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcshareddata │ │ │ ├── IDEWorkspaceChecks.plist │ │ │ └── WorkspaceSettings.xcsettings │ └── xcshareddata │ │ └── xcschemes │ │ └── Runner.xcscheme ├── Runner.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ ├── IDEWorkspaceChecks.plist │ │ └── WorkspaceSettings.xcsettings ├── Runner │ ├── AppDelegate.swift │ ├── Assets.xcassets │ │ ├── AppIcon.appiconset │ │ │ ├── Contents.json │ │ │ ├── Icon-App-1024x1024@1x.png │ │ │ ├── Icon-App-20x20@1x.png │ │ │ ├── Icon-App-20x20@2x.png │ │ │ ├── Icon-App-20x20@3x.png │ │ │ ├── Icon-App-29x29@1x.png │ │ │ ├── Icon-App-29x29@2x.png │ │ │ ├── Icon-App-29x29@3x.png │ │ │ ├── Icon-App-40x40@1x.png │ │ │ ├── Icon-App-40x40@2x.png │ │ │ ├── Icon-App-40x40@3x.png │ │ │ ├── Icon-App-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 │ ├── Base.lproj │ │ ├── LaunchScreen.storyboard │ │ └── Main.storyboard │ ├── Info.plist │ └── Runner-Bridging-Header.h └── RunnerTests │ └── RunnerTests.swift ├── l10n.yaml ├── lib ├── gen │ └── assets.gen.dart ├── l10n │ ├── app_de.arb │ ├── app_en.arb │ ├── app_nl.arb │ └── l10n.dart ├── main.dart └── src │ ├── app.dart │ ├── bloc │ ├── localization_bloc.dart │ ├── localization_event.dart │ └── localization_state.dart │ ├── components │ ├── button.dart │ └── components.dart │ ├── extesnions │ └── button.dart │ ├── home_ex.dart │ ├── models │ └── language.dart │ ├── routes │ ├── router.dart │ └── routes_name.dart │ ├── screens │ └── home_screen.dart │ ├── theme │ └── app_theme.dart │ └── utils │ └── change_language_bottom_sheet.dart └── pubspec.yaml /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 FlexZ 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # FLUTTER App Localizations Feature with BLOC Pattern & Shared Preferences 2 | ### [Watch on YouTube](https://youtu.be/eoOmyzNqvsk) 3 | [![Main](https://img.youtube.com/vi/eoOmyzNqvsk/0.jpg)](https://www.youtube.com/watch?v=eoOmyzNqvsk) 4 | 5 | # Overview 6 | This repository provides a step-by-step guide for implementing real-time language switching in your Flutter app using Bloc for state management and Shared Preferences for persistent storage. 7 | This approach simplifies localization, allowing you to deliver a global user experience effortlessly. 8 | ![gigu-min](https://github.com/AmirBayat0/Flutter-BLOC-App-Localization/assets/91388754/91d9bd43-eb39-4d5e-8dde-1bee1c7a30c0) 9 | 10 | 11 | 12 | ## Installation 13 | To get started with this repository, follow these steps: 14 | 15 | 1. Clone this repository to your local machine. 16 | 2. Open the project in your preferred Flutter IDE. 17 | 3. Run flutter pub get to install dependencies. 18 | 4. Start exploring the provided code examples 19 | 20 | ## License: 21 | * This project is licensed under the MIT License. Feel free to use, modify, and distribute the code for your projects. 22 | 23 | ## Acknowledgements: 24 | - Special thanks to the Flutter community for their valuable contributions and insights into Flutter app development. 25 | 26 | ## This link allows you to support me, and I appreciate your help: 27 | * [SUPPORT](https://www.buymeacoffee.com/AmirBayat) 28 | 29 | ### My Socials: 30 | * [INSTAGRAM](https://www.instagram.com/codewithflexz) 31 | * [YOUTUBE]( https://www.youtube.com/c/ProgrammingWithFlexZ) 32 | * [CONTACT ME](https://amirbayat.dev@gmail.com) 33 | * [FIND MORE](https://zaap.bio/CodeWithFlexz) 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /flutter_bloc_localization/.gitignore: -------------------------------------------------------------------------------- 1 | # Miscellaneous 2 | *.class 3 | *.log 4 | *.pyc 5 | *.swp 6 | .DS_Store 7 | .atom/ 8 | .buildlog/ 9 | .history 10 | .svn/ 11 | migrate_working_dir/ 12 | 13 | # IntelliJ related 14 | *.iml 15 | *.ipr 16 | *.iws 17 | .idea/ 18 | 19 | # The .vscode folder contains launch configuration and tasks you configure in 20 | # VS Code which you may wish to be included in version control, so this line 21 | # is commented out by default. 22 | #.vscode/ 23 | 24 | # Flutter/Dart/Pub related 25 | **/doc/api/ 26 | **/ios/Flutter/.last_build_id 27 | .dart_tool/ 28 | .flutter-plugins 29 | .flutter-plugins-dependencies 30 | .packages 31 | .pub-cache/ 32 | .pub/ 33 | /build/ 34 | 35 | # Symbolication related 36 | app.*.symbols 37 | 38 | # Obfuscation related 39 | app.*.map.json 40 | 41 | # Android Studio will place build artifacts here 42 | /android/app/debug 43 | /android/app/profile 44 | /android/app/release 45 | -------------------------------------------------------------------------------- /flutter_bloc_localization/.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "cSpell.words": [ 3 | "navigations", 4 | "Prefs" 5 | ] 6 | } -------------------------------------------------------------------------------- /flutter_bloc_localization/android/.gitignore: -------------------------------------------------------------------------------- 1 | gradle-wrapper.jar 2 | /.gradle 3 | /captures/ 4 | /gradlew 5 | /gradlew.bat 6 | /local.properties 7 | GeneratedPluginRegistrant.java 8 | 9 | # Remember to never publicly share your keystore. 10 | # See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app 11 | key.properties 12 | **/*.keystore 13 | **/*.jks 14 | -------------------------------------------------------------------------------- /flutter_bloc_localization/android/app/build.gradle: -------------------------------------------------------------------------------- 1 | plugins { 2 | id "com.android.application" 3 | id "kotlin-android" 4 | id "dev.flutter.flutter-gradle-plugin" 5 | } 6 | 7 | def localProperties = new Properties() 8 | def localPropertiesFile = rootProject.file('local.properties') 9 | if (localPropertiesFile.exists()) { 10 | localPropertiesFile.withReader('UTF-8') { reader -> 11 | localProperties.load(reader) 12 | } 13 | } 14 | 15 | def flutterVersionCode = localProperties.getProperty('flutter.versionCode') 16 | if (flutterVersionCode == null) { 17 | flutterVersionCode = '1' 18 | } 19 | 20 | def flutterVersionName = localProperties.getProperty('flutter.versionName') 21 | if (flutterVersionName == null) { 22 | flutterVersionName = '1.0' 23 | } 24 | 25 | android { 26 | namespace "com.example.flutter_bloc_localization" 27 | compileSdkVersion flutter.compileSdkVersion 28 | ndkVersion flutter.ndkVersion 29 | 30 | compileOptions { 31 | sourceCompatibility JavaVersion.VERSION_1_8 32 | targetCompatibility JavaVersion.VERSION_1_8 33 | } 34 | 35 | kotlinOptions { 36 | jvmTarget = '1.8' 37 | } 38 | 39 | sourceSets { 40 | main.java.srcDirs += 'src/main/kotlin' 41 | } 42 | 43 | defaultConfig { 44 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). 45 | applicationId "com.example.flutter_bloc_localization" 46 | // You can update the following values to match your application needs. 47 | // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration. 48 | minSdkVersion flutter.minSdkVersion 49 | targetSdkVersion flutter.targetSdkVersion 50 | versionCode flutterVersionCode.toInteger() 51 | versionName flutterVersionName 52 | } 53 | 54 | buildTypes { 55 | release { 56 | // TODO: Add your own signing config for the release build. 57 | // Signing with the debug keys for now, so `flutter run --release` works. 58 | signingConfig signingConfigs.debug 59 | } 60 | } 61 | } 62 | 63 | flutter { 64 | source '../..' 65 | } 66 | 67 | dependencies {} 68 | -------------------------------------------------------------------------------- /flutter_bloc_localization/android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /flutter_bloc_localization/android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 14 | 18 | 22 | 23 | 24 | 25 | 26 | 27 | 29 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /flutter_bloc_localization/android/app/src/main/kotlin/com/example/flutter_bloc_localization/MainActivity.kt: -------------------------------------------------------------------------------- 1 | package com.example.flutter_bloc_localization 2 | 3 | import io.flutter.embedding.android.FlutterActivity 4 | 5 | class MainActivity: FlutterActivity() { 6 | } 7 | -------------------------------------------------------------------------------- /flutter_bloc_localization/android/app/src/main/res/drawable-v21/launch_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /flutter_bloc_localization/android/app/src/main/res/drawable/launch_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /flutter_bloc_localization/android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirBayat0/Flutter-BLOC-App-Localization/9aacf8427b8a65d6a41c6c176a6731969cc5826b/flutter_bloc_localization/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /flutter_bloc_localization/android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirBayat0/Flutter-BLOC-App-Localization/9aacf8427b8a65d6a41c6c176a6731969cc5826b/flutter_bloc_localization/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /flutter_bloc_localization/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirBayat0/Flutter-BLOC-App-Localization/9aacf8427b8a65d6a41c6c176a6731969cc5826b/flutter_bloc_localization/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /flutter_bloc_localization/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirBayat0/Flutter-BLOC-App-Localization/9aacf8427b8a65d6a41c6c176a6731969cc5826b/flutter_bloc_localization/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /flutter_bloc_localization/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirBayat0/Flutter-BLOC-App-Localization/9aacf8427b8a65d6a41c6c176a6731969cc5826b/flutter_bloc_localization/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /flutter_bloc_localization/android/app/src/main/res/values-night/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 15 | 18 | 19 | -------------------------------------------------------------------------------- /flutter_bloc_localization/android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 15 | 18 | 19 | -------------------------------------------------------------------------------- /flutter_bloc_localization/android/app/src/profile/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /flutter_bloc_localization/android/build.gradle: -------------------------------------------------------------------------------- 1 | buildscript { 2 | ext.kotlin_version = '1.7.10' 3 | repositories { 4 | google() 5 | mavenCentral() 6 | } 7 | 8 | dependencies { 9 | classpath 'com.android.tools.build:gradle:7.3.0' 10 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" 11 | } 12 | } 13 | 14 | allprojects { 15 | repositories { 16 | google() 17 | mavenCentral() 18 | } 19 | } 20 | 21 | rootProject.buildDir = '../build' 22 | subprojects { 23 | project.buildDir = "${rootProject.buildDir}/${project.name}" 24 | } 25 | subprojects { 26 | project.evaluationDependsOn(':app') 27 | } 28 | 29 | tasks.register("clean", Delete) { 30 | delete rootProject.buildDir 31 | } 32 | -------------------------------------------------------------------------------- /flutter_bloc_localization/android/gradle.properties: -------------------------------------------------------------------------------- 1 | org.gradle.jvmargs=-Xmx1536M 2 | android.useAndroidX=true 3 | android.enableJetifier=true 4 | -------------------------------------------------------------------------------- /flutter_bloc_localization/android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | zipStoreBase=GRADLE_USER_HOME 4 | zipStorePath=wrapper/dists 5 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip 6 | -------------------------------------------------------------------------------- /flutter_bloc_localization/android/settings.gradle: -------------------------------------------------------------------------------- 1 | pluginManagement { 2 | def flutterSdkPath = { 3 | def properties = new Properties() 4 | file("local.properties").withInputStream { properties.load(it) } 5 | def flutterSdkPath = properties.getProperty("flutter.sdk") 6 | assert flutterSdkPath != null, "flutter.sdk not set in local.properties" 7 | return flutterSdkPath 8 | } 9 | settings.ext.flutterSdkPath = flutterSdkPath() 10 | 11 | includeBuild("${settings.ext.flutterSdkPath}/packages/flutter_tools/gradle") 12 | 13 | plugins { 14 | id "dev.flutter.flutter-gradle-plugin" version "1.0.0" apply false 15 | } 16 | } 17 | 18 | include ":app" 19 | 20 | apply from: "${settings.ext.flutterSdkPath}/packages/flutter_tools/gradle/app_plugin_loader.gradle" 21 | -------------------------------------------------------------------------------- /flutter_bloc_localization/assets/dutch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirBayat0/Flutter-BLOC-App-Localization/9aacf8427b8a65d6a41c6c176a6731969cc5826b/flutter_bloc_localization/assets/dutch.png -------------------------------------------------------------------------------- /flutter_bloc_localization/assets/english.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirBayat0/Flutter-BLOC-App-Localization/9aacf8427b8a65d6a41c6c176a6731969cc5826b/flutter_bloc_localization/assets/english.png -------------------------------------------------------------------------------- /flutter_bloc_localization/assets/german.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirBayat0/Flutter-BLOC-App-Localization/9aacf8427b8a65d6a41c6c176a6731969cc5826b/flutter_bloc_localization/assets/german.jpg -------------------------------------------------------------------------------- /flutter_bloc_localization/assets/intro.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirBayat0/Flutter-BLOC-App-Localization/9aacf8427b8a65d6a41c6c176a6731969cc5826b/flutter_bloc_localization/assets/intro.png -------------------------------------------------------------------------------- /flutter_bloc_localization/ios/.gitignore: -------------------------------------------------------------------------------- 1 | **/dgph 2 | *.mode1v3 3 | *.mode2v3 4 | *.moved-aside 5 | *.pbxuser 6 | *.perspectivev3 7 | **/*sync/ 8 | .sconsign.dblite 9 | .tags* 10 | **/.vagrant/ 11 | **/DerivedData/ 12 | Icon? 13 | **/Pods/ 14 | **/.symlinks/ 15 | profile 16 | xcuserdata 17 | **/.generated/ 18 | Flutter/App.framework 19 | Flutter/Flutter.framework 20 | Flutter/Flutter.podspec 21 | Flutter/Generated.xcconfig 22 | Flutter/ephemeral/ 23 | Flutter/app.flx 24 | Flutter/app.zip 25 | Flutter/flutter_assets/ 26 | Flutter/flutter_export_environment.sh 27 | ServiceDefinitions.json 28 | Runner/GeneratedPluginRegistrant.* 29 | 30 | # Exceptions to above rules. 31 | !default.mode1v3 32 | !default.mode2v3 33 | !default.pbxuser 34 | !default.perspectivev3 35 | -------------------------------------------------------------------------------- /flutter_bloc_localization/ios/Flutter/AppFrameworkInfo.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | App 9 | CFBundleIdentifier 10 | io.flutter.flutter.app 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | App 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1.0 23 | MinimumOSVersion 24 | 11.0 25 | 26 | 27 | -------------------------------------------------------------------------------- /flutter_bloc_localization/ios/Flutter/Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig" 2 | #include "Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /flutter_bloc_localization/ios/Flutter/Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig" 2 | #include "Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /flutter_bloc_localization/ios/Podfile: -------------------------------------------------------------------------------- 1 | # Uncomment this line to define a global platform for your project 2 | # platform :ios, '11.0' 3 | 4 | # CocoaPods analytics sends network stats synchronously affecting flutter build latency. 5 | ENV['COCOAPODS_DISABLE_STATS'] = 'true' 6 | 7 | project 'Runner', { 8 | 'Debug' => :debug, 9 | 'Profile' => :release, 10 | 'Release' => :release, 11 | } 12 | 13 | def flutter_root 14 | generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__) 15 | unless File.exist?(generated_xcode_build_settings_path) 16 | raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first" 17 | end 18 | 19 | File.foreach(generated_xcode_build_settings_path) do |line| 20 | matches = line.match(/FLUTTER_ROOT\=(.*)/) 21 | return matches[1].strip if matches 22 | end 23 | raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get" 24 | end 25 | 26 | require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root) 27 | 28 | flutter_ios_podfile_setup 29 | 30 | target 'Runner' do 31 | use_frameworks! 32 | use_modular_headers! 33 | 34 | flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__)) 35 | target 'RunnerTests' do 36 | inherit! :search_paths 37 | end 38 | end 39 | 40 | post_install do |installer| 41 | installer.pods_project.targets.each do |target| 42 | flutter_additional_ios_build_settings(target) 43 | end 44 | end 45 | -------------------------------------------------------------------------------- /flutter_bloc_localization/ios/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - Flutter (1.0.0) 3 | - path_provider_foundation (0.0.1): 4 | - Flutter 5 | - FlutterMacOS 6 | - shared_preferences_foundation (0.0.1): 7 | - Flutter 8 | - FlutterMacOS 9 | 10 | DEPENDENCIES: 11 | - Flutter (from `Flutter`) 12 | - path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/darwin`) 13 | - shared_preferences_foundation (from `.symlinks/plugins/shared_preferences_foundation/darwin`) 14 | 15 | EXTERNAL SOURCES: 16 | Flutter: 17 | :path: Flutter 18 | path_provider_foundation: 19 | :path: ".symlinks/plugins/path_provider_foundation/darwin" 20 | shared_preferences_foundation: 21 | :path: ".symlinks/plugins/shared_preferences_foundation/darwin" 22 | 23 | SPEC CHECKSUMS: 24 | Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854 25 | path_provider_foundation: 3784922295ac71e43754bd15e0653ccfd36a147c 26 | shared_preferences_foundation: b4c3b4cddf1c21f02770737f147a3f5da9d39695 27 | 28 | PODFILE CHECKSUM: 70d9d25280d0dd177a5f637cdb0f0b0b12c6a189 29 | 30 | COCOAPODS: 1.11.0 31 | -------------------------------------------------------------------------------- /flutter_bloc_localization/ios/Runner.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 54; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; }; 11 | 331C808B294A63AB00263BE5 /* RunnerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 331C807B294A618700263BE5 /* RunnerTests.swift */; }; 12 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; }; 13 | 5F844BBCC4B17F103703FC4B /* Pods_RunnerTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CA65C5F322ABE5A4AE1BADB3 /* Pods_RunnerTests.framework */; }; 14 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; }; 15 | 7F123CAC730D3C1406E28276 /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 633BC709897899327171AE4A /* Pods_Runner.framework */; }; 16 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; }; 17 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; }; 18 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; }; 19 | /* End PBXBuildFile section */ 20 | 21 | /* Begin PBXContainerItemProxy section */ 22 | 331C8085294A63A400263BE5 /* PBXContainerItemProxy */ = { 23 | isa = PBXContainerItemProxy; 24 | containerPortal = 97C146E61CF9000F007C117D /* Project object */; 25 | proxyType = 1; 26 | remoteGlobalIDString = 97C146ED1CF9000F007C117D; 27 | remoteInfo = Runner; 28 | }; 29 | /* End PBXContainerItemProxy section */ 30 | 31 | /* Begin PBXCopyFilesBuildPhase section */ 32 | 9705A1C41CF9048500538489 /* Embed Frameworks */ = { 33 | isa = PBXCopyFilesBuildPhase; 34 | buildActionMask = 2147483647; 35 | dstPath = ""; 36 | dstSubfolderSpec = 10; 37 | files = ( 38 | ); 39 | name = "Embed Frameworks"; 40 | runOnlyForDeploymentPostprocessing = 0; 41 | }; 42 | /* End PBXCopyFilesBuildPhase section */ 43 | 44 | /* Begin PBXFileReference section */ 45 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; }; 46 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; }; 47 | 331C807B294A618700263BE5 /* RunnerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RunnerTests.swift; sourceTree = ""; }; 48 | 331C8081294A63A400263BE5 /* RunnerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RunnerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 49 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; }; 50 | 5E2B3D4052110DD35B424738 /* 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 = ""; }; 51 | 633BC709897899327171AE4A /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 52 | 716AF0234154A02A97B913CD /* 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 = ""; }; 53 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; }; 54 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 55 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; }; 56 | 7FF17D86AC025D627F2C9602 /* Pods-RunnerTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.debug.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.debug.xcconfig"; sourceTree = ""; }; 57 | 90CDA770B9E4054994311C98 /* Pods-RunnerTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.release.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.release.xcconfig"; sourceTree = ""; }; 58 | 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; }; 59 | 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; }; 60 | 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; }; 61 | 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 62 | 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 63 | 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 64 | 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 65 | CA65C5F322ABE5A4AE1BADB3 /* Pods_RunnerTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RunnerTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 66 | F2D5C685F9CBB275C3303301 /* Pods-RunnerTests.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.profile.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.profile.xcconfig"; sourceTree = ""; }; 67 | F3D91E71AAFEDE7FB9DBEE73 /* 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 = ""; }; 68 | /* End PBXFileReference section */ 69 | 70 | /* Begin PBXFrameworksBuildPhase section */ 71 | 7CF0BD0DE13D6F65B9149D68 /* Frameworks */ = { 72 | isa = PBXFrameworksBuildPhase; 73 | buildActionMask = 2147483647; 74 | files = ( 75 | 5F844BBCC4B17F103703FC4B /* Pods_RunnerTests.framework in Frameworks */, 76 | ); 77 | runOnlyForDeploymentPostprocessing = 0; 78 | }; 79 | 97C146EB1CF9000F007C117D /* Frameworks */ = { 80 | isa = PBXFrameworksBuildPhase; 81 | buildActionMask = 2147483647; 82 | files = ( 83 | 7F123CAC730D3C1406E28276 /* Pods_Runner.framework in Frameworks */, 84 | ); 85 | runOnlyForDeploymentPostprocessing = 0; 86 | }; 87 | /* End PBXFrameworksBuildPhase section */ 88 | 89 | /* Begin PBXGroup section */ 90 | 0F01E354B394E7469DAC9A40 /* Frameworks */ = { 91 | isa = PBXGroup; 92 | children = ( 93 | 633BC709897899327171AE4A /* Pods_Runner.framework */, 94 | CA65C5F322ABE5A4AE1BADB3 /* Pods_RunnerTests.framework */, 95 | ); 96 | name = Frameworks; 97 | sourceTree = ""; 98 | }; 99 | 156C93AB33F011923EA56EEE /* Pods */ = { 100 | isa = PBXGroup; 101 | children = ( 102 | 5E2B3D4052110DD35B424738 /* Pods-Runner.debug.xcconfig */, 103 | 716AF0234154A02A97B913CD /* Pods-Runner.release.xcconfig */, 104 | F3D91E71AAFEDE7FB9DBEE73 /* Pods-Runner.profile.xcconfig */, 105 | 7FF17D86AC025D627F2C9602 /* Pods-RunnerTests.debug.xcconfig */, 106 | 90CDA770B9E4054994311C98 /* Pods-RunnerTests.release.xcconfig */, 107 | F2D5C685F9CBB275C3303301 /* Pods-RunnerTests.profile.xcconfig */, 108 | ); 109 | name = Pods; 110 | path = Pods; 111 | sourceTree = ""; 112 | }; 113 | 331C8082294A63A400263BE5 /* RunnerTests */ = { 114 | isa = PBXGroup; 115 | children = ( 116 | 331C807B294A618700263BE5 /* RunnerTests.swift */, 117 | ); 118 | path = RunnerTests; 119 | sourceTree = ""; 120 | }; 121 | 9740EEB11CF90186004384FC /* Flutter */ = { 122 | isa = PBXGroup; 123 | children = ( 124 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */, 125 | 9740EEB21CF90195004384FC /* Debug.xcconfig */, 126 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */, 127 | 9740EEB31CF90195004384FC /* Generated.xcconfig */, 128 | ); 129 | name = Flutter; 130 | sourceTree = ""; 131 | }; 132 | 97C146E51CF9000F007C117D = { 133 | isa = PBXGroup; 134 | children = ( 135 | 9740EEB11CF90186004384FC /* Flutter */, 136 | 97C146F01CF9000F007C117D /* Runner */, 137 | 97C146EF1CF9000F007C117D /* Products */, 138 | 331C8082294A63A400263BE5 /* RunnerTests */, 139 | 156C93AB33F011923EA56EEE /* Pods */, 140 | 0F01E354B394E7469DAC9A40 /* Frameworks */, 141 | ); 142 | sourceTree = ""; 143 | }; 144 | 97C146EF1CF9000F007C117D /* Products */ = { 145 | isa = PBXGroup; 146 | children = ( 147 | 97C146EE1CF9000F007C117D /* Runner.app */, 148 | 331C8081294A63A400263BE5 /* RunnerTests.xctest */, 149 | ); 150 | name = Products; 151 | sourceTree = ""; 152 | }; 153 | 97C146F01CF9000F007C117D /* Runner */ = { 154 | isa = PBXGroup; 155 | children = ( 156 | 97C146FA1CF9000F007C117D /* Main.storyboard */, 157 | 97C146FD1CF9000F007C117D /* Assets.xcassets */, 158 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */, 159 | 97C147021CF9000F007C117D /* Info.plist */, 160 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */, 161 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */, 162 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */, 163 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */, 164 | ); 165 | path = Runner; 166 | sourceTree = ""; 167 | }; 168 | /* End PBXGroup section */ 169 | 170 | /* Begin PBXNativeTarget section */ 171 | 331C8080294A63A400263BE5 /* RunnerTests */ = { 172 | isa = PBXNativeTarget; 173 | buildConfigurationList = 331C8087294A63A400263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */; 174 | buildPhases = ( 175 | A5C66E61868B94284B54EB66 /* [CP] Check Pods Manifest.lock */, 176 | 331C807D294A63A400263BE5 /* Sources */, 177 | 331C807F294A63A400263BE5 /* Resources */, 178 | 7CF0BD0DE13D6F65B9149D68 /* Frameworks */, 179 | ); 180 | buildRules = ( 181 | ); 182 | dependencies = ( 183 | 331C8086294A63A400263BE5 /* PBXTargetDependency */, 184 | ); 185 | name = RunnerTests; 186 | productName = RunnerTests; 187 | productReference = 331C8081294A63A400263BE5 /* RunnerTests.xctest */; 188 | productType = "com.apple.product-type.bundle.unit-test"; 189 | }; 190 | 97C146ED1CF9000F007C117D /* Runner */ = { 191 | isa = PBXNativeTarget; 192 | buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */; 193 | buildPhases = ( 194 | A8493332223ECA6891A0C2D2 /* [CP] Check Pods Manifest.lock */, 195 | 9740EEB61CF901F6004384FC /* Run Script */, 196 | 97C146EA1CF9000F007C117D /* Sources */, 197 | 97C146EB1CF9000F007C117D /* Frameworks */, 198 | 97C146EC1CF9000F007C117D /* Resources */, 199 | 9705A1C41CF9048500538489 /* Embed Frameworks */, 200 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */, 201 | 6BD77F9BAB68E62BBDD5DD6E /* [CP] Embed Pods Frameworks */, 202 | ); 203 | buildRules = ( 204 | ); 205 | dependencies = ( 206 | ); 207 | name = Runner; 208 | productName = Runner; 209 | productReference = 97C146EE1CF9000F007C117D /* Runner.app */; 210 | productType = "com.apple.product-type.application"; 211 | }; 212 | /* End PBXNativeTarget section */ 213 | 214 | /* Begin PBXProject section */ 215 | 97C146E61CF9000F007C117D /* Project object */ = { 216 | isa = PBXProject; 217 | attributes = { 218 | BuildIndependentTargetsInParallel = YES; 219 | LastUpgradeCheck = 1430; 220 | ORGANIZATIONNAME = ""; 221 | TargetAttributes = { 222 | 331C8080294A63A400263BE5 = { 223 | CreatedOnToolsVersion = 14.0; 224 | TestTargetID = 97C146ED1CF9000F007C117D; 225 | }; 226 | 97C146ED1CF9000F007C117D = { 227 | CreatedOnToolsVersion = 7.3.1; 228 | LastSwiftMigration = 1100; 229 | }; 230 | }; 231 | }; 232 | buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */; 233 | compatibilityVersion = "Xcode 9.3"; 234 | developmentRegion = en; 235 | hasScannedForEncodings = 0; 236 | knownRegions = ( 237 | en, 238 | Base, 239 | ); 240 | mainGroup = 97C146E51CF9000F007C117D; 241 | productRefGroup = 97C146EF1CF9000F007C117D /* Products */; 242 | projectDirPath = ""; 243 | projectRoot = ""; 244 | targets = ( 245 | 97C146ED1CF9000F007C117D /* Runner */, 246 | 331C8080294A63A400263BE5 /* RunnerTests */, 247 | ); 248 | }; 249 | /* End PBXProject section */ 250 | 251 | /* Begin PBXResourcesBuildPhase section */ 252 | 331C807F294A63A400263BE5 /* Resources */ = { 253 | isa = PBXResourcesBuildPhase; 254 | buildActionMask = 2147483647; 255 | files = ( 256 | ); 257 | runOnlyForDeploymentPostprocessing = 0; 258 | }; 259 | 97C146EC1CF9000F007C117D /* Resources */ = { 260 | isa = PBXResourcesBuildPhase; 261 | buildActionMask = 2147483647; 262 | files = ( 263 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */, 264 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */, 265 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */, 266 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */, 267 | ); 268 | runOnlyForDeploymentPostprocessing = 0; 269 | }; 270 | /* End PBXResourcesBuildPhase section */ 271 | 272 | /* Begin PBXShellScriptBuildPhase section */ 273 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { 274 | isa = PBXShellScriptBuildPhase; 275 | alwaysOutOfDate = 1; 276 | buildActionMask = 2147483647; 277 | files = ( 278 | ); 279 | inputPaths = ( 280 | "${TARGET_BUILD_DIR}/${INFOPLIST_PATH}", 281 | ); 282 | name = "Thin Binary"; 283 | outputPaths = ( 284 | ); 285 | runOnlyForDeploymentPostprocessing = 0; 286 | shellPath = /bin/sh; 287 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin"; 288 | }; 289 | 6BD77F9BAB68E62BBDD5DD6E /* [CP] Embed Pods Frameworks */ = { 290 | isa = PBXShellScriptBuildPhase; 291 | buildActionMask = 2147483647; 292 | files = ( 293 | ); 294 | inputFileListPaths = ( 295 | "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist", 296 | ); 297 | name = "[CP] Embed Pods Frameworks"; 298 | outputFileListPaths = ( 299 | "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist", 300 | ); 301 | runOnlyForDeploymentPostprocessing = 0; 302 | shellPath = /bin/sh; 303 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n"; 304 | showEnvVarsInLog = 0; 305 | }; 306 | 9740EEB61CF901F6004384FC /* Run Script */ = { 307 | isa = PBXShellScriptBuildPhase; 308 | alwaysOutOfDate = 1; 309 | buildActionMask = 2147483647; 310 | files = ( 311 | ); 312 | inputPaths = ( 313 | ); 314 | name = "Run Script"; 315 | outputPaths = ( 316 | ); 317 | runOnlyForDeploymentPostprocessing = 0; 318 | shellPath = /bin/sh; 319 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build"; 320 | }; 321 | A5C66E61868B94284B54EB66 /* [CP] Check Pods Manifest.lock */ = { 322 | isa = PBXShellScriptBuildPhase; 323 | buildActionMask = 2147483647; 324 | files = ( 325 | ); 326 | inputFileListPaths = ( 327 | ); 328 | inputPaths = ( 329 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 330 | "${PODS_ROOT}/Manifest.lock", 331 | ); 332 | name = "[CP] Check Pods Manifest.lock"; 333 | outputFileListPaths = ( 334 | ); 335 | outputPaths = ( 336 | "$(DERIVED_FILE_DIR)/Pods-RunnerTests-checkManifestLockResult.txt", 337 | ); 338 | runOnlyForDeploymentPostprocessing = 0; 339 | shellPath = /bin/sh; 340 | 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"; 341 | showEnvVarsInLog = 0; 342 | }; 343 | A8493332223ECA6891A0C2D2 /* [CP] Check Pods Manifest.lock */ = { 344 | isa = PBXShellScriptBuildPhase; 345 | buildActionMask = 2147483647; 346 | files = ( 347 | ); 348 | inputFileListPaths = ( 349 | ); 350 | inputPaths = ( 351 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 352 | "${PODS_ROOT}/Manifest.lock", 353 | ); 354 | name = "[CP] Check Pods Manifest.lock"; 355 | outputFileListPaths = ( 356 | ); 357 | outputPaths = ( 358 | "$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt", 359 | ); 360 | runOnlyForDeploymentPostprocessing = 0; 361 | shellPath = /bin/sh; 362 | 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"; 363 | showEnvVarsInLog = 0; 364 | }; 365 | /* End PBXShellScriptBuildPhase section */ 366 | 367 | /* Begin PBXSourcesBuildPhase section */ 368 | 331C807D294A63A400263BE5 /* Sources */ = { 369 | isa = PBXSourcesBuildPhase; 370 | buildActionMask = 2147483647; 371 | files = ( 372 | 331C808B294A63AB00263BE5 /* RunnerTests.swift in Sources */, 373 | ); 374 | runOnlyForDeploymentPostprocessing = 0; 375 | }; 376 | 97C146EA1CF9000F007C117D /* Sources */ = { 377 | isa = PBXSourcesBuildPhase; 378 | buildActionMask = 2147483647; 379 | files = ( 380 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */, 381 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */, 382 | ); 383 | runOnlyForDeploymentPostprocessing = 0; 384 | }; 385 | /* End PBXSourcesBuildPhase section */ 386 | 387 | /* Begin PBXTargetDependency section */ 388 | 331C8086294A63A400263BE5 /* PBXTargetDependency */ = { 389 | isa = PBXTargetDependency; 390 | target = 97C146ED1CF9000F007C117D /* Runner */; 391 | targetProxy = 331C8085294A63A400263BE5 /* PBXContainerItemProxy */; 392 | }; 393 | /* End PBXTargetDependency section */ 394 | 395 | /* Begin PBXVariantGroup section */ 396 | 97C146FA1CF9000F007C117D /* Main.storyboard */ = { 397 | isa = PBXVariantGroup; 398 | children = ( 399 | 97C146FB1CF9000F007C117D /* Base */, 400 | ); 401 | name = Main.storyboard; 402 | sourceTree = ""; 403 | }; 404 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = { 405 | isa = PBXVariantGroup; 406 | children = ( 407 | 97C147001CF9000F007C117D /* Base */, 408 | ); 409 | name = LaunchScreen.storyboard; 410 | sourceTree = ""; 411 | }; 412 | /* End PBXVariantGroup section */ 413 | 414 | /* Begin XCBuildConfiguration section */ 415 | 249021D3217E4FDB00AE95B9 /* Profile */ = { 416 | isa = XCBuildConfiguration; 417 | buildSettings = { 418 | ALWAYS_SEARCH_USER_PATHS = NO; 419 | CLANG_ANALYZER_NONNULL = YES; 420 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 421 | CLANG_CXX_LIBRARY = "libc++"; 422 | CLANG_ENABLE_MODULES = YES; 423 | CLANG_ENABLE_OBJC_ARC = YES; 424 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 425 | CLANG_WARN_BOOL_CONVERSION = YES; 426 | CLANG_WARN_COMMA = YES; 427 | CLANG_WARN_CONSTANT_CONVERSION = YES; 428 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 429 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 430 | CLANG_WARN_EMPTY_BODY = YES; 431 | CLANG_WARN_ENUM_CONVERSION = YES; 432 | CLANG_WARN_INFINITE_RECURSION = YES; 433 | CLANG_WARN_INT_CONVERSION = YES; 434 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 435 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 436 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 437 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 438 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 439 | CLANG_WARN_STRICT_PROTOTYPES = YES; 440 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 441 | CLANG_WARN_UNREACHABLE_CODE = YES; 442 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 443 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 444 | COPY_PHASE_STRIP = NO; 445 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 446 | ENABLE_NS_ASSERTIONS = NO; 447 | ENABLE_STRICT_OBJC_MSGSEND = YES; 448 | GCC_C_LANGUAGE_STANDARD = gnu99; 449 | GCC_NO_COMMON_BLOCKS = YES; 450 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 451 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 452 | GCC_WARN_UNDECLARED_SELECTOR = YES; 453 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 454 | GCC_WARN_UNUSED_FUNCTION = YES; 455 | GCC_WARN_UNUSED_VARIABLE = YES; 456 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 457 | MTL_ENABLE_DEBUG_INFO = NO; 458 | SDKROOT = iphoneos; 459 | SUPPORTED_PLATFORMS = iphoneos; 460 | TARGETED_DEVICE_FAMILY = "1,2"; 461 | VALIDATE_PRODUCT = YES; 462 | }; 463 | name = Profile; 464 | }; 465 | 249021D4217E4FDB00AE95B9 /* Profile */ = { 466 | isa = XCBuildConfiguration; 467 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 468 | buildSettings = { 469 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 470 | CLANG_ENABLE_MODULES = YES; 471 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 472 | ENABLE_BITCODE = NO; 473 | INFOPLIST_FILE = Runner/Info.plist; 474 | LD_RUNPATH_SEARCH_PATHS = ( 475 | "$(inherited)", 476 | "@executable_path/Frameworks", 477 | ); 478 | PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterBlocLocalization; 479 | PRODUCT_NAME = "$(TARGET_NAME)"; 480 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 481 | SWIFT_VERSION = 5.0; 482 | VERSIONING_SYSTEM = "apple-generic"; 483 | }; 484 | name = Profile; 485 | }; 486 | 331C8088294A63A400263BE5 /* Debug */ = { 487 | isa = XCBuildConfiguration; 488 | baseConfigurationReference = 7FF17D86AC025D627F2C9602 /* Pods-RunnerTests.debug.xcconfig */; 489 | buildSettings = { 490 | BUNDLE_LOADER = "$(TEST_HOST)"; 491 | CODE_SIGN_STYLE = Automatic; 492 | CURRENT_PROJECT_VERSION = 1; 493 | GENERATE_INFOPLIST_FILE = YES; 494 | MARKETING_VERSION = 1.0; 495 | PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterBlocLocalization.RunnerTests; 496 | PRODUCT_NAME = "$(TARGET_NAME)"; 497 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 498 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 499 | SWIFT_VERSION = 5.0; 500 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner"; 501 | }; 502 | name = Debug; 503 | }; 504 | 331C8089294A63A400263BE5 /* Release */ = { 505 | isa = XCBuildConfiguration; 506 | baseConfigurationReference = 90CDA770B9E4054994311C98 /* Pods-RunnerTests.release.xcconfig */; 507 | buildSettings = { 508 | BUNDLE_LOADER = "$(TEST_HOST)"; 509 | CODE_SIGN_STYLE = Automatic; 510 | CURRENT_PROJECT_VERSION = 1; 511 | GENERATE_INFOPLIST_FILE = YES; 512 | MARKETING_VERSION = 1.0; 513 | PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterBlocLocalization.RunnerTests; 514 | PRODUCT_NAME = "$(TARGET_NAME)"; 515 | SWIFT_VERSION = 5.0; 516 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner"; 517 | }; 518 | name = Release; 519 | }; 520 | 331C808A294A63A400263BE5 /* Profile */ = { 521 | isa = XCBuildConfiguration; 522 | baseConfigurationReference = F2D5C685F9CBB275C3303301 /* Pods-RunnerTests.profile.xcconfig */; 523 | buildSettings = { 524 | BUNDLE_LOADER = "$(TEST_HOST)"; 525 | CODE_SIGN_STYLE = Automatic; 526 | CURRENT_PROJECT_VERSION = 1; 527 | GENERATE_INFOPLIST_FILE = YES; 528 | MARKETING_VERSION = 1.0; 529 | PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterBlocLocalization.RunnerTests; 530 | PRODUCT_NAME = "$(TARGET_NAME)"; 531 | SWIFT_VERSION = 5.0; 532 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner"; 533 | }; 534 | name = Profile; 535 | }; 536 | 97C147031CF9000F007C117D /* Debug */ = { 537 | isa = XCBuildConfiguration; 538 | buildSettings = { 539 | ALWAYS_SEARCH_USER_PATHS = NO; 540 | CLANG_ANALYZER_NONNULL = YES; 541 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 542 | CLANG_CXX_LIBRARY = "libc++"; 543 | CLANG_ENABLE_MODULES = YES; 544 | CLANG_ENABLE_OBJC_ARC = YES; 545 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 546 | CLANG_WARN_BOOL_CONVERSION = YES; 547 | CLANG_WARN_COMMA = YES; 548 | CLANG_WARN_CONSTANT_CONVERSION = YES; 549 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 550 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 551 | CLANG_WARN_EMPTY_BODY = YES; 552 | CLANG_WARN_ENUM_CONVERSION = YES; 553 | CLANG_WARN_INFINITE_RECURSION = YES; 554 | CLANG_WARN_INT_CONVERSION = YES; 555 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 556 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 557 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 558 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 559 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 560 | CLANG_WARN_STRICT_PROTOTYPES = YES; 561 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 562 | CLANG_WARN_UNREACHABLE_CODE = YES; 563 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 564 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 565 | COPY_PHASE_STRIP = NO; 566 | DEBUG_INFORMATION_FORMAT = dwarf; 567 | ENABLE_STRICT_OBJC_MSGSEND = YES; 568 | ENABLE_TESTABILITY = YES; 569 | GCC_C_LANGUAGE_STANDARD = gnu99; 570 | GCC_DYNAMIC_NO_PIC = NO; 571 | GCC_NO_COMMON_BLOCKS = YES; 572 | GCC_OPTIMIZATION_LEVEL = 0; 573 | GCC_PREPROCESSOR_DEFINITIONS = ( 574 | "DEBUG=1", 575 | "$(inherited)", 576 | ); 577 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 578 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 579 | GCC_WARN_UNDECLARED_SELECTOR = YES; 580 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 581 | GCC_WARN_UNUSED_FUNCTION = YES; 582 | GCC_WARN_UNUSED_VARIABLE = YES; 583 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 584 | MTL_ENABLE_DEBUG_INFO = YES; 585 | ONLY_ACTIVE_ARCH = YES; 586 | SDKROOT = iphoneos; 587 | TARGETED_DEVICE_FAMILY = "1,2"; 588 | }; 589 | name = Debug; 590 | }; 591 | 97C147041CF9000F007C117D /* Release */ = { 592 | isa = XCBuildConfiguration; 593 | buildSettings = { 594 | ALWAYS_SEARCH_USER_PATHS = NO; 595 | CLANG_ANALYZER_NONNULL = YES; 596 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 597 | CLANG_CXX_LIBRARY = "libc++"; 598 | CLANG_ENABLE_MODULES = YES; 599 | CLANG_ENABLE_OBJC_ARC = YES; 600 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 601 | CLANG_WARN_BOOL_CONVERSION = YES; 602 | CLANG_WARN_COMMA = YES; 603 | CLANG_WARN_CONSTANT_CONVERSION = YES; 604 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 605 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 606 | CLANG_WARN_EMPTY_BODY = YES; 607 | CLANG_WARN_ENUM_CONVERSION = YES; 608 | CLANG_WARN_INFINITE_RECURSION = YES; 609 | CLANG_WARN_INT_CONVERSION = YES; 610 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 611 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 612 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 613 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 614 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 615 | CLANG_WARN_STRICT_PROTOTYPES = YES; 616 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 617 | CLANG_WARN_UNREACHABLE_CODE = YES; 618 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 619 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 620 | COPY_PHASE_STRIP = NO; 621 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 622 | ENABLE_NS_ASSERTIONS = NO; 623 | ENABLE_STRICT_OBJC_MSGSEND = YES; 624 | GCC_C_LANGUAGE_STANDARD = gnu99; 625 | GCC_NO_COMMON_BLOCKS = YES; 626 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 627 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 628 | GCC_WARN_UNDECLARED_SELECTOR = YES; 629 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 630 | GCC_WARN_UNUSED_FUNCTION = YES; 631 | GCC_WARN_UNUSED_VARIABLE = YES; 632 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 633 | MTL_ENABLE_DEBUG_INFO = NO; 634 | SDKROOT = iphoneos; 635 | SUPPORTED_PLATFORMS = iphoneos; 636 | SWIFT_COMPILATION_MODE = wholemodule; 637 | SWIFT_OPTIMIZATION_LEVEL = "-O"; 638 | TARGETED_DEVICE_FAMILY = "1,2"; 639 | VALIDATE_PRODUCT = YES; 640 | }; 641 | name = Release; 642 | }; 643 | 97C147061CF9000F007C117D /* Debug */ = { 644 | isa = XCBuildConfiguration; 645 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; 646 | buildSettings = { 647 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 648 | CLANG_ENABLE_MODULES = YES; 649 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 650 | ENABLE_BITCODE = NO; 651 | INFOPLIST_FILE = Runner/Info.plist; 652 | LD_RUNPATH_SEARCH_PATHS = ( 653 | "$(inherited)", 654 | "@executable_path/Frameworks", 655 | ); 656 | PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterBlocLocalization; 657 | PRODUCT_NAME = "$(TARGET_NAME)"; 658 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 659 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 660 | SWIFT_VERSION = 5.0; 661 | VERSIONING_SYSTEM = "apple-generic"; 662 | }; 663 | name = Debug; 664 | }; 665 | 97C147071CF9000F007C117D /* Release */ = { 666 | isa = XCBuildConfiguration; 667 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 668 | buildSettings = { 669 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 670 | CLANG_ENABLE_MODULES = YES; 671 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 672 | ENABLE_BITCODE = NO; 673 | INFOPLIST_FILE = Runner/Info.plist; 674 | LD_RUNPATH_SEARCH_PATHS = ( 675 | "$(inherited)", 676 | "@executable_path/Frameworks", 677 | ); 678 | PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterBlocLocalization; 679 | PRODUCT_NAME = "$(TARGET_NAME)"; 680 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 681 | SWIFT_VERSION = 5.0; 682 | VERSIONING_SYSTEM = "apple-generic"; 683 | }; 684 | name = Release; 685 | }; 686 | /* End XCBuildConfiguration section */ 687 | 688 | /* Begin XCConfigurationList section */ 689 | 331C8087294A63A400263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */ = { 690 | isa = XCConfigurationList; 691 | buildConfigurations = ( 692 | 331C8088294A63A400263BE5 /* Debug */, 693 | 331C8089294A63A400263BE5 /* Release */, 694 | 331C808A294A63A400263BE5 /* Profile */, 695 | ); 696 | defaultConfigurationIsVisible = 0; 697 | defaultConfigurationName = Release; 698 | }; 699 | 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = { 700 | isa = XCConfigurationList; 701 | buildConfigurations = ( 702 | 97C147031CF9000F007C117D /* Debug */, 703 | 97C147041CF9000F007C117D /* Release */, 704 | 249021D3217E4FDB00AE95B9 /* Profile */, 705 | ); 706 | defaultConfigurationIsVisible = 0; 707 | defaultConfigurationName = Release; 708 | }; 709 | 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = { 710 | isa = XCConfigurationList; 711 | buildConfigurations = ( 712 | 97C147061CF9000F007C117D /* Debug */, 713 | 97C147071CF9000F007C117D /* Release */, 714 | 249021D4217E4FDB00AE95B9 /* Profile */, 715 | ); 716 | defaultConfigurationIsVisible = 0; 717 | defaultConfigurationName = Release; 718 | }; 719 | /* End XCConfigurationList section */ 720 | }; 721 | rootObject = 97C146E61CF9000F007C117D /* Project object */; 722 | } 723 | -------------------------------------------------------------------------------- /flutter_bloc_localization/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /flutter_bloc_localization/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /flutter_bloc_localization/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /flutter_bloc_localization/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 37 | 38 | 39 | 40 | 43 | 49 | 50 | 51 | 52 | 53 | 63 | 65 | 71 | 72 | 73 | 74 | 80 | 82 | 88 | 89 | 90 | 91 | 93 | 94 | 97 | 98 | 99 | -------------------------------------------------------------------------------- /flutter_bloc_localization/ios/Runner.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /flutter_bloc_localization/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /flutter_bloc_localization/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /flutter_bloc_localization/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 | -------------------------------------------------------------------------------- /flutter_bloc_localization/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 | -------------------------------------------------------------------------------- /flutter_bloc_localization/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirBayat0/Flutter-BLOC-App-Localization/9aacf8427b8a65d6a41c6c176a6731969cc5826b/flutter_bloc_localization/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png -------------------------------------------------------------------------------- /flutter_bloc_localization/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirBayat0/Flutter-BLOC-App-Localization/9aacf8427b8a65d6a41c6c176a6731969cc5826b/flutter_bloc_localization/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png -------------------------------------------------------------------------------- /flutter_bloc_localization/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirBayat0/Flutter-BLOC-App-Localization/9aacf8427b8a65d6a41c6c176a6731969cc5826b/flutter_bloc_localization/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png -------------------------------------------------------------------------------- /flutter_bloc_localization/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirBayat0/Flutter-BLOC-App-Localization/9aacf8427b8a65d6a41c6c176a6731969cc5826b/flutter_bloc_localization/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png -------------------------------------------------------------------------------- /flutter_bloc_localization/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirBayat0/Flutter-BLOC-App-Localization/9aacf8427b8a65d6a41c6c176a6731969cc5826b/flutter_bloc_localization/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png -------------------------------------------------------------------------------- /flutter_bloc_localization/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirBayat0/Flutter-BLOC-App-Localization/9aacf8427b8a65d6a41c6c176a6731969cc5826b/flutter_bloc_localization/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png -------------------------------------------------------------------------------- /flutter_bloc_localization/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirBayat0/Flutter-BLOC-App-Localization/9aacf8427b8a65d6a41c6c176a6731969cc5826b/flutter_bloc_localization/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png -------------------------------------------------------------------------------- /flutter_bloc_localization/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirBayat0/Flutter-BLOC-App-Localization/9aacf8427b8a65d6a41c6c176a6731969cc5826b/flutter_bloc_localization/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png -------------------------------------------------------------------------------- /flutter_bloc_localization/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirBayat0/Flutter-BLOC-App-Localization/9aacf8427b8a65d6a41c6c176a6731969cc5826b/flutter_bloc_localization/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png -------------------------------------------------------------------------------- /flutter_bloc_localization/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirBayat0/Flutter-BLOC-App-Localization/9aacf8427b8a65d6a41c6c176a6731969cc5826b/flutter_bloc_localization/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png -------------------------------------------------------------------------------- /flutter_bloc_localization/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirBayat0/Flutter-BLOC-App-Localization/9aacf8427b8a65d6a41c6c176a6731969cc5826b/flutter_bloc_localization/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png -------------------------------------------------------------------------------- /flutter_bloc_localization/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirBayat0/Flutter-BLOC-App-Localization/9aacf8427b8a65d6a41c6c176a6731969cc5826b/flutter_bloc_localization/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png -------------------------------------------------------------------------------- /flutter_bloc_localization/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirBayat0/Flutter-BLOC-App-Localization/9aacf8427b8a65d6a41c6c176a6731969cc5826b/flutter_bloc_localization/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png -------------------------------------------------------------------------------- /flutter_bloc_localization/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirBayat0/Flutter-BLOC-App-Localization/9aacf8427b8a65d6a41c6c176a6731969cc5826b/flutter_bloc_localization/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png -------------------------------------------------------------------------------- /flutter_bloc_localization/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirBayat0/Flutter-BLOC-App-Localization/9aacf8427b8a65d6a41c6c176a6731969cc5826b/flutter_bloc_localization/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png -------------------------------------------------------------------------------- /flutter_bloc_localization/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 | -------------------------------------------------------------------------------- /flutter_bloc_localization/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirBayat0/Flutter-BLOC-App-Localization/9aacf8427b8a65d6a41c6c176a6731969cc5826b/flutter_bloc_localization/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png -------------------------------------------------------------------------------- /flutter_bloc_localization/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirBayat0/Flutter-BLOC-App-Localization/9aacf8427b8a65d6a41c6c176a6731969cc5826b/flutter_bloc_localization/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png -------------------------------------------------------------------------------- /flutter_bloc_localization/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmirBayat0/Flutter-BLOC-App-Localization/9aacf8427b8a65d6a41c6c176a6731969cc5826b/flutter_bloc_localization/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png -------------------------------------------------------------------------------- /flutter_bloc_localization/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. -------------------------------------------------------------------------------- /flutter_bloc_localization/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 | -------------------------------------------------------------------------------- /flutter_bloc_localization/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 | -------------------------------------------------------------------------------- /flutter_bloc_localization/ios/Runner/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleDisplayName 8 | Flutter Bloc Localization 9 | CFBundleExecutable 10 | $(EXECUTABLE_NAME) 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | flutter_bloc_localization 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | $(FLUTTER_BUILD_NAME) 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | $(FLUTTER_BUILD_NUMBER) 25 | LSRequiresIPhoneOS 26 | 27 | UILaunchStoryboardName 28 | LaunchScreen 29 | UIMainStoryboardFile 30 | Main 31 | UISupportedInterfaceOrientations 32 | 33 | UIInterfaceOrientationPortrait 34 | UIInterfaceOrientationLandscapeLeft 35 | UIInterfaceOrientationLandscapeRight 36 | 37 | UISupportedInterfaceOrientations~ipad 38 | 39 | UIInterfaceOrientationPortrait 40 | UIInterfaceOrientationPortraitUpsideDown 41 | UIInterfaceOrientationLandscapeLeft 42 | UIInterfaceOrientationLandscapeRight 43 | 44 | CADisableMinimumFrameDurationOnPhone 45 | 46 | UIApplicationSupportsIndirectInputEvents 47 | 48 | 49 | 50 | -------------------------------------------------------------------------------- /flutter_bloc_localization/ios/Runner/Runner-Bridging-Header.h: -------------------------------------------------------------------------------- 1 | #import "GeneratedPluginRegistrant.h" 2 | -------------------------------------------------------------------------------- /flutter_bloc_localization/ios/RunnerTests/RunnerTests.swift: -------------------------------------------------------------------------------- 1 | import Flutter 2 | import UIKit 3 | import XCTest 4 | 5 | class RunnerTests: XCTestCase { 6 | 7 | func testExample() { 8 | // If you add code to the Runner application, consider adding tests here. 9 | // See https://developer.apple.com/documentation/xctest for more information about using XCTest. 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /flutter_bloc_localization/l10n.yaml: -------------------------------------------------------------------------------- 1 | arb-dir: lib/l10n 2 | template-arb-file: app_en.arb 3 | output-localization-file: app_l10n.dart -------------------------------------------------------------------------------- /flutter_bloc_localization/lib/gen/assets.gen.dart: -------------------------------------------------------------------------------- 1 | /// GENERATED CODE - DO NOT MODIFY BY HAND 2 | /// ***************************************************** 3 | /// FlutterGen 4 | /// ***************************************************** 5 | 6 | // coverage:ignore-file 7 | // ignore_for_file: type=lint 8 | // ignore_for_file: directives_ordering,unnecessary_import,implicit_dynamic_list_literal,deprecated_member_use 9 | 10 | import 'package:flutter/widgets.dart'; 11 | 12 | class Assets { 13 | Assets._(); 14 | 15 | static const AssetGenImage dutch = AssetGenImage('assets/dutch.png'); 16 | static const AssetGenImage english = AssetGenImage('assets/english.png'); 17 | static const AssetGenImage german = AssetGenImage('assets/german.jpg'); 18 | static const AssetGenImage intro = AssetGenImage('assets/intro.png'); 19 | 20 | /// List of all assets 21 | static List get values => [dutch, english, german, intro]; 22 | } 23 | 24 | class AssetGenImage { 25 | const AssetGenImage(this._assetName); 26 | 27 | final String _assetName; 28 | 29 | Image image({ 30 | Key? key, 31 | AssetBundle? bundle, 32 | ImageFrameBuilder? frameBuilder, 33 | ImageErrorWidgetBuilder? errorBuilder, 34 | String? semanticLabel, 35 | bool excludeFromSemantics = false, 36 | double? scale, 37 | double? width, 38 | double? height, 39 | Color? color, 40 | Animation? opacity, 41 | BlendMode? colorBlendMode, 42 | BoxFit? fit, 43 | AlignmentGeometry alignment = Alignment.center, 44 | ImageRepeat repeat = ImageRepeat.noRepeat, 45 | Rect? centerSlice, 46 | bool matchTextDirection = false, 47 | bool gaplessPlayback = false, 48 | bool isAntiAlias = false, 49 | String? package, 50 | FilterQuality filterQuality = FilterQuality.low, 51 | int? cacheWidth, 52 | int? cacheHeight, 53 | }) { 54 | return Image.asset( 55 | _assetName, 56 | key: key, 57 | bundle: bundle, 58 | frameBuilder: frameBuilder, 59 | errorBuilder: errorBuilder, 60 | semanticLabel: semanticLabel, 61 | excludeFromSemantics: excludeFromSemantics, 62 | scale: scale, 63 | width: width, 64 | height: height, 65 | color: color, 66 | opacity: opacity, 67 | colorBlendMode: colorBlendMode, 68 | fit: fit, 69 | alignment: alignment, 70 | repeat: repeat, 71 | centerSlice: centerSlice, 72 | matchTextDirection: matchTextDirection, 73 | gaplessPlayback: gaplessPlayback, 74 | isAntiAlias: isAntiAlias, 75 | package: package, 76 | filterQuality: filterQuality, 77 | cacheWidth: cacheWidth, 78 | cacheHeight: cacheHeight, 79 | ); 80 | } 81 | 82 | ImageProvider provider({ 83 | AssetBundle? bundle, 84 | String? package, 85 | }) { 86 | return AssetImage( 87 | _assetName, 88 | bundle: bundle, 89 | package: package, 90 | ); 91 | } 92 | 93 | String get path => _assetName; 94 | 95 | String get keyName => _assetName; 96 | } 97 | -------------------------------------------------------------------------------- /flutter_bloc_localization/lib/l10n/app_de.arb: -------------------------------------------------------------------------------- 1 | { 2 | "onboardingTitle": "Produktivität steigern✨", 3 | "onboardingSubTitle": "Die neuesten Technologien im modernen Tech-Zeitalter werden eingesetzt, um die Produktivität zu steigern.", 4 | "changeLanguage": "Bevor Sie beginnen, können \nSie die Spracheinstellungen\nderAnwendung anpassen.", 5 | "getStarted": "Jetzt starten", 6 | "haveAccount": "Ich habe bereits ein Konto.", 7 | "chooseLanguage": "Wählen Sie Ihre bevorzugte Sprache" 8 | } 9 | -------------------------------------------------------------------------------- /flutter_bloc_localization/lib/l10n/app_en.arb: -------------------------------------------------------------------------------- 1 | { 2 | "onboardingTitle": "Enhance Productivity✨", 3 | "onboardingSubTitle": "The latest technologies in the modern\ntech age are adopting to enhance\nproductivity", 4 | "changeLanguage": "Before you begin, feel free to \nadjust the language settings of\nthe application.", 5 | "getStarted": "Start Now", 6 | "haveAccount": "I Already Have An Account.", 7 | "chooseLanguage": "Select Your Preferred Language" 8 | } -------------------------------------------------------------------------------- /flutter_bloc_localization/lib/l10n/app_nl.arb: -------------------------------------------------------------------------------- 1 | { 2 | "onboardingTitle": "Verhoog Productiviteit✨", 3 | "onboardingSubTitle": "De nieuwste technologieën in het moderne\ntechnologietijdperk worden geadopteerd om de\nproductiviteit te verbeteren", 4 | "changeLanguage": "Voordat u begint, kunt u de \ntaalinstellingenvan de applicatie \naanpassen.", 5 | "getStarted": "Begin Nu", 6 | "haveAccount": "Ik Heb Al Een Account.", 7 | "chooseLanguage": "Selecteer Uw Voorkeurstaal" 8 | } 9 | -------------------------------------------------------------------------------- /flutter_bloc_localization/lib/l10n/l10n.dart: -------------------------------------------------------------------------------- 1 | export 'package:flutter_gen/gen_l10n/app_l10n.dart'; 2 | -------------------------------------------------------------------------------- /flutter_bloc_localization/lib/main.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'src/app.dart'; 3 | 4 | Future main() async => runApp(const App()); 5 | // 6 | // Created by CodeWithFlexZ 7 | // Tutorials on my YouTube 8 | // 9 | //! Instagram 10 | //! @CodeWithFlexZ 11 | // 12 | //? GitHub 13 | //? AmirBayat0 14 | // 15 | //* YouTube 16 | //* Programming with FlexZ 17 | // 18 | -------------------------------------------------------------------------------- /flutter_bloc_localization/lib/src/app.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:flutter_bloc/flutter_bloc.dart'; 3 | 4 | import '../l10n/l10n.dart'; 5 | import 'routes/router.dart' as app_router; 6 | import 'home_ex.dart'; 7 | import 'theme/app_theme.dart'; 8 | 9 | // 10 | // Created by CodeWithFlexZ 11 | // Tutorials on my YouTube 12 | // 13 | //! Instagram 14 | //! @CodeWithFlexZ 15 | // 16 | //? GitHub 17 | //? AmirBayat0 18 | // 19 | //* YouTube 20 | //* Programming with FlexZ 21 | // 22 | 23 | class App extends StatefulWidget { 24 | const App({Key? key}) : super(key: key); 25 | 26 | @override 27 | State createState() => _AppState(); 28 | } 29 | 30 | class _AppState extends State { 31 | late final _appRouter = app_router.Router(); 32 | 33 | @override 34 | Widget build(BuildContext context) { 35 | final router = _appRouter.router; 36 | return BlocProvider( 37 | create: (context) => LocalizationBloc()..add(GetLanguage()), 38 | child: BlocBuilder( 39 | buildWhen: (previous, current) => 40 | previous.selectedLanguage != current.selectedLanguage, 41 | builder: (context, state) { 42 | return MaterialApp.router( 43 | theme: AppTheme.light(), 44 | locale: state.selectedLanguage.value, 45 | supportedLocales: AppLocalizations.supportedLocales, 46 | localizationsDelegates: AppLocalizations.localizationsDelegates, 47 | routerDelegate: router.routerDelegate, 48 | routeInformationParser: router.routeInformationParser, 49 | routeInformationProvider: router.routeInformationProvider, 50 | debugShowCheckedModeBanner: false, 51 | ); 52 | }, 53 | ), 54 | ); 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /flutter_bloc_localization/lib/src/bloc/localization_bloc.dart: -------------------------------------------------------------------------------- 1 | import 'package:bloc/bloc.dart'; 2 | import 'package:equatable/equatable.dart'; 3 | import 'package:shared_preferences/shared_preferences.dart'; 4 | 5 | import '../models/language.dart'; 6 | 7 | part 'localization_event.dart'; 8 | part 'localization_state.dart'; 9 | 10 | const languagePrefsKey = 'languagePrefs'; 11 | 12 | class LocalizationBloc extends Bloc { 13 | LocalizationBloc() : super(const AppLocalizationState()) { 14 | on(onChangeLanguage); 15 | on(onGetLanguage); 16 | } 17 | 18 | onChangeLanguage( 19 | ChangeLanguage event, Emitter emit) async { 20 | final prefs = await SharedPreferences.getInstance(); 21 | await prefs.setString( 22 | languagePrefsKey, 23 | event.selectedLanguage.value.languageCode, 24 | ); 25 | emit(state.copyWith(selectedLanguage: event.selectedLanguage)); 26 | } 27 | 28 | onGetLanguage(GetLanguage event, Emitter emit) async { 29 | final prefs = await SharedPreferences.getInstance(); 30 | final selectedLanguage = prefs.getString(languagePrefsKey); 31 | emit(state.copyWith( 32 | selectedLanguage: selectedLanguage != null 33 | ? Language.values 34 | .where((item) => item.value.languageCode == selectedLanguage) 35 | .first 36 | : Language.english, 37 | )); 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /flutter_bloc_localization/lib/src/bloc/localization_event.dart: -------------------------------------------------------------------------------- 1 | part of 'localization_bloc.dart'; 2 | 3 | abstract class LocalizationEvent extends Equatable { 4 | const LocalizationEvent(); 5 | 6 | @override 7 | List get props => []; 8 | } 9 | 10 | class ChangeLanguage extends LocalizationEvent { 11 | const ChangeLanguage({required this.selectedLanguage}); 12 | final Language selectedLanguage; 13 | 14 | @override 15 | List get props => [selectedLanguage]; 16 | } 17 | 18 | class GetLanguage extends LocalizationEvent {} 19 | -------------------------------------------------------------------------------- /flutter_bloc_localization/lib/src/bloc/localization_state.dart: -------------------------------------------------------------------------------- 1 | part of 'localization_bloc.dart'; 2 | 3 | class AppLocalizationState extends Equatable { 4 | const AppLocalizationState({ 5 | Language? selectedLanguage, 6 | }) : selectedLanguage = selectedLanguage ?? Language.english; 7 | 8 | final Language selectedLanguage; 9 | 10 | @override 11 | List get props => [selectedLanguage]; 12 | 13 | AppLocalizationState copyWith({Language? selectedLanguage}) { 14 | return AppLocalizationState( 15 | selectedLanguage: selectedLanguage ?? this.selectedLanguage, 16 | ); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /flutter_bloc_localization/lib/src/components/button.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:flutter_bloc_localization/src/extesnions/button.dart'; 3 | import '../theme/app_theme.dart'; 4 | 5 | class AppCustomButton extends StatelessWidget { 6 | const AppCustomButton.filled({ 7 | Key? key, 8 | required this.onPressed, 9 | required this.label, 10 | this.style = AppCustomButtonStyle.filled, 11 | }) : super(key: key); 12 | 13 | const AppCustomButton.outlined({ 14 | Key? key, 15 | required this.onPressed, 16 | required this.label, 17 | this.style = AppCustomButtonStyle.outlined, 18 | }) : super(key: key); 19 | 20 | final Function() onPressed; 21 | final String label; 22 | final AppCustomButtonStyle style; 23 | 24 | @override 25 | Widget build(BuildContext context) { 26 | return SizedBox( 27 | width: double.infinity, 28 | child: MaterialButton( 29 | onPressed: onPressed, 30 | padding: const EdgeInsets.all(16.0), 31 | shape: RoundedRectangleBorder( 32 | borderRadius: BorderRadius.circular(40.0), 33 | side: style.isFilled 34 | ? BorderSide.none 35 | : BorderSide( 36 | color: Colors.grey[200]!, 37 | width: 1.8, 38 | ), 39 | ), 40 | elevation: 0.0, 41 | highlightElevation: 0.0, 42 | color: style.isFilled ? AppColors.primary : null, 43 | splashColor: 44 | style.isFilled ? AppColors.primaryDarker : AppColors.lightGrey, 45 | child: Text( 46 | label, 47 | style: (style.isFilled 48 | ? AppTheme.darkTextTheme.displaySmall 49 | : AppTheme.lightTextTheme.displaySmall) 50 | ?.copyWith(fontSize: 18.0), 51 | ), 52 | ), 53 | ); 54 | } 55 | } 56 | 57 | enum AppCustomButtonStyle { filled, outlined } 58 | -------------------------------------------------------------------------------- /flutter_bloc_localization/lib/src/components/components.dart: -------------------------------------------------------------------------------- 1 | export 'button.dart'; 2 | -------------------------------------------------------------------------------- /flutter_bloc_localization/lib/src/extesnions/button.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter_bloc_localization/src/components/button.dart'; 2 | 3 | extension ButtonStyleX on AppCustomButtonStyle { 4 | bool get isFilled => this == AppCustomButtonStyle.filled; 5 | bool get isOutlined => this == AppCustomButtonStyle.outlined; 6 | } 7 | -------------------------------------------------------------------------------- /flutter_bloc_localization/lib/src/home_ex.dart: -------------------------------------------------------------------------------- 1 | export 'bloc/localization_bloc.dart'; 2 | export 'models/language.dart'; 3 | export 'screens/home_screen.dart'; 4 | -------------------------------------------------------------------------------- /flutter_bloc_localization/lib/src/models/language.dart: -------------------------------------------------------------------------------- 1 | import 'dart:ui'; 2 | 3 | import '../../gen/assets.gen.dart'; 4 | 5 | enum Language { 6 | english( 7 | Locale('en', 'US'), 8 | Assets.english, 9 | 'English', 10 | ), 11 | dutch( 12 | Locale('nl', 'NL'), 13 | Assets.dutch, 14 | 'Dutch', 15 | ), 16 | german( 17 | Locale('de', 'DE'), 18 | Assets.german, 19 | 'German', 20 | ); 21 | 22 | const Language(this.value, this.image, this.text); 23 | 24 | final Locale value; 25 | final AssetGenImage image; 26 | final String text; 27 | } 28 | -------------------------------------------------------------------------------- /flutter_bloc_localization/lib/src/routes/router.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:flutter_bloc_localization/src/routes/routes_name.dart'; 3 | import 'package:go_router/go_router.dart'; 4 | 5 | import '../home_ex.dart'; 6 | 7 | class Router { 8 | Router(); 9 | 10 | late final router = GoRouter( 11 | debugLogDiagnostics: true, 12 | initialLocation: Routes.onboardingPath, 13 | routes: [ 14 | GoRoute( 15 | name: Routes.onboarding, 16 | path: Routes.onboardingPath, 17 | builder: (context, state) { 18 | final bool? animateTop = state.extra as bool?; 19 | return Banner( 20 | message: 'FlexZ', 21 | location: BannerLocation.bottomStart, 22 | child: HomeScreen( 23 | animateTop: animateTop ?? true, 24 | ), 25 | ); 26 | }, 27 | ), 28 | ], 29 | ); 30 | } 31 | -------------------------------------------------------------------------------- /flutter_bloc_localization/lib/src/routes/routes_name.dart: -------------------------------------------------------------------------------- 1 | class Routes { 2 | static const String onboarding = 'onboarding'; 3 | static const String onboardingPath = '/onboarding'; 4 | } 5 | -------------------------------------------------------------------------------- /flutter_bloc_localization/lib/src/screens/home_screen.dart: -------------------------------------------------------------------------------- 1 | import 'package:animate_do/animate_do.dart'; 2 | import 'package:flutter/material.dart'; 3 | import 'package:flutter_bloc/flutter_bloc.dart'; 4 | import 'package:flutter_bloc_localization/src/routes/routes_name.dart'; 5 | import 'package:flutter_bloc_localization/src/utils/change_language_bottom_sheet.dart'; 6 | import 'package:go_router/go_router.dart'; 7 | 8 | import '../../gen/assets.gen.dart'; 9 | import '../../l10n/l10n.dart'; 10 | import '../components/button.dart'; 11 | import '../theme/app_theme.dart'; 12 | import '../bloc/localization_bloc.dart'; 13 | 14 | class HomeScreen extends StatefulWidget { 15 | const HomeScreen({Key? key, required this.animateTop}) : super(key: key); 16 | 17 | final bool animateTop; 18 | 19 | @override 20 | State createState() => _HomeScreenState(); 21 | } 22 | 23 | class _HomeScreenState extends State { 24 | /// FadeInUp and Down Animation applier function for applying on widgets 25 | Widget animateChanger( 26 | {required bool animateTop, required Widget child, required int delay}) { 27 | if (animateTop) { 28 | return FadeInUp( 29 | delay: Duration(milliseconds: delay), 30 | child: child, 31 | ); 32 | } else { 33 | return FadeInDown( 34 | delay: Duration(milliseconds: delay), 35 | child: child, 36 | ); 37 | } 38 | } 39 | 40 | @override 41 | Widget build(BuildContext context) { 42 | final l10n = AppLocalizations.of(context)!; 43 | return Scaffold( 44 | backgroundColor: Colors.white, 45 | 46 | /// AppBar 47 | appBar: _buildAppBar(context), 48 | 49 | /// Body 50 | body: _buildBody(l10n, context), 51 | ); 52 | } 53 | 54 | /// Body 55 | Widget _buildBody(AppLocalizations l10n, BuildContext context) { 56 | return SafeArea( 57 | child: Column( 58 | children: [ 59 | Expanded( 60 | child: animateChanger( 61 | delay: 300, 62 | child: Assets.intro.image(), 63 | animateTop: widget.animateTop, 64 | ), 65 | ), 66 | const SizedBox( 67 | height: 20, 68 | ), 69 | Padding( 70 | padding: const EdgeInsets.all(16.0), 71 | child: Column( 72 | crossAxisAlignment: CrossAxisAlignment.start, 73 | children: [ 74 | animateChanger( 75 | delay: 400, 76 | animateTop: widget.animateTop, 77 | child: Text( 78 | l10n.onboardingTitle, 79 | style: Theme.of(context).textTheme.displayLarge, 80 | ), 81 | ), 82 | animateChanger( 83 | delay: 500, 84 | animateTop: widget.animateTop, 85 | child: Text( 86 | l10n.onboardingSubTitle, 87 | style: Theme.of(context).textTheme.titleMedium, 88 | ), 89 | ), 90 | const SizedBox(height: 12.0), 91 | animateChanger( 92 | delay: 600, 93 | animateTop: widget.animateTop, 94 | child: AppCustomButton.filled( 95 | onPressed: () { 96 | context.pushReplacement( 97 | Routes.onboardingPath, 98 | extra: true, 99 | ); 100 | }, 101 | label: l10n.getStarted, 102 | ), 103 | ), 104 | const SizedBox(height: 8.0), 105 | animateChanger( 106 | delay: 700, 107 | animateTop: widget.animateTop, 108 | child: AppCustomButton.outlined( 109 | onPressed: () { 110 | context.pushReplacement( 111 | Routes.onboardingPath, 112 | extra: false, 113 | ); 114 | }, 115 | label: l10n.haveAccount, 116 | ), 117 | ), 118 | ], 119 | ), 120 | ), 121 | animateChanger( 122 | delay: 800, 123 | animateTop: widget.animateTop, 124 | child: InkWell( 125 | child: Row( 126 | mainAxisAlignment: MainAxisAlignment.center, 127 | children: [ 128 | Text( 129 | l10n.changeLanguage, 130 | style: Theme.of(context) 131 | .textTheme 132 | .bodyMedium! 133 | .copyWith(color: Colors.grey), 134 | ), 135 | SizedBox( 136 | width: 100, 137 | height: 60, 138 | child: Padding( 139 | padding: const EdgeInsets.symmetric( 140 | horizontal: 16.0, 141 | vertical: 8.0, 142 | ), 143 | child: OutlinedButton( 144 | onPressed: () => 145 | AppUtils.showLanguageBottomSheet(context), 146 | style: OutlinedButton.styleFrom( 147 | padding: const EdgeInsets.all(8.0), 148 | foregroundColor: AppColors.lightGrey, 149 | shape: RoundedRectangleBorder( 150 | borderRadius: BorderRadius.circular(10.0), 151 | ), 152 | ), 153 | child: Row( 154 | children: [ 155 | ClipOval( 156 | child: BlocBuilder( 158 | builder: (context, state) { 159 | return state.selectedLanguage.image.image(); 160 | }, 161 | ), 162 | ), 163 | Expanded( 164 | child: Icon( 165 | Icons.arrow_drop_down_rounded, 166 | color: AppColors.darkPrimary, 167 | ), 168 | ), 169 | ], 170 | ), 171 | ), 172 | ), 173 | ), 174 | ], 175 | ), 176 | ), 177 | ), 178 | const SizedBox( 179 | height: 20, 180 | ), 181 | ], 182 | ), 183 | ); 184 | } 185 | 186 | /// AppBar 187 | AppBar _buildAppBar(BuildContext context) { 188 | return AppBar( 189 | centerTitle: true, 190 | title: animateChanger( 191 | delay: 300, 192 | child: const Text("FrMOON"), 193 | animateTop: !widget.animateTop, 194 | ), 195 | ); 196 | } 197 | } 198 | -------------------------------------------------------------------------------- /flutter_bloc_localization/lib/src/theme/app_theme.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:google_fonts/google_fonts.dart'; 3 | 4 | class AppTheme { 5 | static TextTheme lightTextTheme = TextTheme( 6 | displayLarge: GoogleFonts.manrope( 7 | fontSize: 32.0, 8 | fontWeight: FontWeight.w800, 9 | color: Colors.black, 10 | ), 11 | displayMedium: GoogleFonts.manrope( 12 | fontSize: 21.0, 13 | fontWeight: FontWeight.w700, 14 | color: Colors.black, 15 | ), 16 | displaySmall: GoogleFonts.inter( 17 | fontSize: 16.0, 18 | fontWeight: FontWeight.w600, 19 | color: Colors.black, 20 | ), 21 | titleLarge: GoogleFonts.inter( 22 | fontSize: 20.0, 23 | fontWeight: FontWeight.w600, 24 | color: Colors.black, 25 | ), 26 | bodyLarge: GoogleFonts.inter( 27 | fontSize: 14.0, 28 | fontWeight: FontWeight.w700, 29 | color: Colors.black, 30 | ), 31 | ); 32 | 33 | static TextTheme darkTextTheme = TextTheme( 34 | displayLarge: GoogleFonts.manrope( 35 | fontSize: 32.0, 36 | fontWeight: FontWeight.bold, 37 | color: Colors.white, 38 | ), 39 | displayMedium: GoogleFonts.manrope( 40 | fontSize: 21.0, 41 | fontWeight: FontWeight.w700, 42 | color: Colors.white, 43 | ), 44 | displaySmall: GoogleFonts.inter( 45 | fontSize: 16.0, 46 | fontWeight: FontWeight.w600, 47 | color: Colors.white, 48 | ), 49 | titleLarge: GoogleFonts.inter( 50 | fontSize: 20.0, 51 | fontWeight: FontWeight.w600, 52 | color: Colors.white, 53 | ), 54 | bodyLarge: GoogleFonts.inter( 55 | fontSize: 14.0, 56 | fontWeight: FontWeight.w700, 57 | color: Colors.white, 58 | ), 59 | ); 60 | 61 | static ThemeData light() { 62 | return ThemeData( 63 | primarySwatch: Colors.indigo, 64 | brightness: Brightness.light, 65 | appBarTheme: AppBarTheme( 66 | elevation: 0.0, 67 | foregroundColor: AppColors.darkPrimary, 68 | backgroundColor: Colors.white, 69 | ), 70 | floatingActionButtonTheme: FloatingActionButtonThemeData( 71 | foregroundColor: Colors.white, 72 | backgroundColor: AppColors.primary, 73 | ), 74 | bottomNavigationBarTheme: BottomNavigationBarThemeData( 75 | selectedItemColor: AppColors.primary, 76 | ), 77 | textTheme: lightTextTheme, 78 | ); 79 | } 80 | } 81 | 82 | class AppColors { 83 | static Color primary = Colors.deepPurpleAccent; 84 | static Color primaryDarker = Colors.deepPurpleAccent; 85 | static Color darkPrimary = const Color(0xFF1D2027); 86 | static Color blueGreyPrimary = const Color(0xFF819399); 87 | static Color blueGreySecondary = const Color(0xFFADC4CB); 88 | static Color lightGrey = const Color(0xFFF1F5F9); 89 | } 90 | -------------------------------------------------------------------------------- /flutter_bloc_localization/lib/src/utils/change_language_bottom_sheet.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:flutter_bloc/flutter_bloc.dart'; 3 | import 'package:flutter_bloc_localization/l10n/l10n.dart'; 4 | import 'package:flutter_bloc_localization/src/bloc/localization_bloc.dart'; 5 | import 'package:flutter_bloc_localization/src/models/language.dart'; 6 | import 'package:flutter_bloc_localization/src/theme/app_theme.dart'; 7 | 8 | final class AppUtils { 9 | AppUtils._(); 10 | static void showLanguageBottomSheet(BuildContext context) { 11 | showModalBottomSheet( 12 | showDragHandle: true, 13 | context: context, 14 | shape: const RoundedRectangleBorder( 15 | borderRadius: BorderRadius.only( 16 | topLeft: Radius.circular(20.0), 17 | topRight: Radius.circular(20.0), 18 | ), 19 | ), 20 | builder: (context) { 21 | return Padding( 22 | padding: const EdgeInsets.all(16.0), 23 | child: Column( 24 | mainAxisSize: MainAxisSize.min, 25 | children: [ 26 | Text( 27 | AppLocalizations.of(context)!.chooseLanguage, 28 | style: Theme.of(context).textTheme.displayMedium, 29 | ), 30 | const SizedBox(height: 16.0), 31 | BlocBuilder( 32 | builder: (context, state) { 33 | return ListView.separated( 34 | shrinkWrap: true, 35 | itemCount: Language.values.length, 36 | itemBuilder: (context, index) { 37 | return ListTile( 38 | onTap: () { 39 | context.read().add(ChangeLanguage( 40 | selectedLanguage: Language.values[index])); 41 | Future.delayed(const Duration(milliseconds: 300)) 42 | .then((value) => Navigator.of(context).pop()); 43 | }, 44 | leading: ClipOval( 45 | child: Language.values[index].image.image( 46 | height: 32.0, 47 | width: 32.0, 48 | ), 49 | ), 50 | title: Text(Language.values[index].text), 51 | trailing: 52 | Language.values[index] == state.selectedLanguage 53 | ? Icon( 54 | Icons.check_circle_rounded, 55 | color: AppColors.primary, 56 | ) 57 | : null, 58 | shape: RoundedRectangleBorder( 59 | borderRadius: BorderRadius.circular(10.0), 60 | side: Language.values[index] == state.selectedLanguage 61 | ? BorderSide(color: AppColors.primary, width: 1.5) 62 | : BorderSide(color: Colors.grey[300]!), 63 | ), 64 | tileColor: 65 | Language.values[index] == state.selectedLanguage 66 | ? AppColors.primary.withOpacity(0.05) 67 | : null, 68 | ); 69 | }, 70 | separatorBuilder: (context, index) { 71 | return const SizedBox(height: 16.0); 72 | }, 73 | ); 74 | }, 75 | ), 76 | ], 77 | ), 78 | ); 79 | }, 80 | ); 81 | } 82 | } 83 | -------------------------------------------------------------------------------- /flutter_bloc_localization/pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: flutter_bloc_localization 2 | description: A new Flutter project. 3 | # The following line prevents the package from being accidentally published to 4 | # pub.dev using `flutter pub publish`. This is preferred for private packages. 5 | publish_to: 'none' # Remove this line if you wish to publish to pub.dev 6 | 7 | # The following defines the version and build number for your application. 8 | # A version number is three numbers separated by dots, like 1.2.43 9 | # followed by an optional build number separated by a +. 10 | # Both the version and the builder number may be overridden in flutter 11 | # build by specifying --build-name and --build-number, respectively. 12 | # In Android, build-name is used as versionName while build-number used as versionCode. 13 | # Read more about Android versioning at https://developer.android.com/studio/publish/versioning 14 | # In iOS, build-name is used as CFBundleShortVersionString while build-number is used as CFBundleVersion. 15 | # Read more about iOS versioning at 16 | # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html 17 | # In Windows, build-name is used as the major, minor, and patch parts 18 | # of the product and file versions while build-number is used as the build suffix. 19 | version: 1.0.0+1 20 | 21 | environment: 22 | sdk: '>=3.1.0 <4.0.0' 23 | 24 | dependencies: 25 | flutter: 26 | sdk: flutter 27 | flutter_localizations: 28 | sdk: flutter 29 | cupertino_icons: ^1.0.2 30 | google_fonts: ^5.0.1 31 | go_router: ^6.0.1 32 | flutter_svg: ^1.1.6 33 | intl: ^0.18.1 34 | bloc: ^8.1.0 35 | flutter_bloc: ^8.1.1 36 | equatable: ^2.0.5 37 | shared_preferences: ^2.0.17 38 | animate_do: ^3.3.4 39 | 40 | dev_dependencies: 41 | flutter_test: 42 | sdk: flutter 43 | build_runner: ^2.3.3 44 | flutter_lints: ^2.0.0 45 | flutter_gen_runner: ^5.1.0+1 46 | 47 | flutter_gen: 48 | output: lib/gen/ 49 | line_length: 80 50 | 51 | integrations: 52 | flutter_svg: true 53 | 54 | flutter: 55 | generate: true 56 | uses-material-design: true 57 | assets: 58 | - assets/ --------------------------------------------------------------------------------