diff --git a/apps/wyatt_clean_code/.gitignore b/apps/wyatt_clean_code/.gitignore deleted file mode 100644 index a8e938c..0000000 --- a/apps/wyatt_clean_code/.gitignore +++ /dev/null @@ -1,47 +0,0 @@ -# Miscellaneous -*.class -*.log -*.pyc -*.swp -.DS_Store -.atom/ -.buildlog/ -.history -.svn/ -migrate_working_dir/ - -# IntelliJ related -*.iml -*.ipr -*.iws -.idea/ - -# The .vscode folder contains launch configuration and tasks you configure in -# VS Code which you may wish to be included in version control, so this line -# is commented out by default. -#.vscode/ - -# Flutter/Dart/Pub related -**/doc/api/ -**/ios/Flutter/.last_build_id -.dart_tool/ -.flutter-plugins -.flutter-plugins-dependencies -.packages -.pub-cache/ -.pub/ -/build/ - -# Web related -lib/generated_plugin_registrant.dart - -# Symbolication related -app.*.symbols - -# Obfuscation related -app.*.map.json - -# Android Studio will place build artifacts here -/android/app/debug -/android/app/profile -/android/app/release diff --git a/apps/wyatt_clean_code/.metadata b/apps/wyatt_clean_code/.metadata deleted file mode 100644 index 2112298..0000000 --- a/apps/wyatt_clean_code/.metadata +++ /dev/null @@ -1,30 +0,0 @@ -# This file tracks properties of this Flutter project. -# Used by Flutter tool to assess capabilities and perform upgrades etc. -# -# This file should be version controlled. - -version: - revision: f1875d570e39de09040c8f79aa13cc56baab8db1 - channel: stable - -project_type: app - -# Tracks metadata for the flutter migrate command -migration: - platforms: - - platform: root - create_revision: f1875d570e39de09040c8f79aa13cc56baab8db1 - base_revision: f1875d570e39de09040c8f79aa13cc56baab8db1 - - platform: web - create_revision: f1875d570e39de09040c8f79aa13cc56baab8db1 - base_revision: f1875d570e39de09040c8f79aa13cc56baab8db1 - - # User provided section - - # List of Local paths (relative to this file) that should be - # ignored by the migrate tool. - # - # Files that are not part of the templates will be ignored by default. - unmanaged_files: - - 'lib/main.dart' - - 'ios/Runner.xcodeproj/project.pbxproj' diff --git a/apps/wyatt_clean_code/.vscode/launch.json b/apps/wyatt_clean_code/.vscode/launch.json deleted file mode 100644 index 40a2104..0000000 --- a/apps/wyatt_clean_code/.vscode/launch.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - // Use IntelliSense to learn about possible attributes. - // Hover to view descriptions of existing attributes. - // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 - "version": "0.2.0", - "configurations": [ - { - "name": "Launch development", - "request": "launch", - "type": "dart", - "program": "lib/main_development.dart", - "args": [ - "--flavor", - "development", - "--target", - "lib/main_development.dart" - ], - "flutterMode": "debug" - }, - { - "name": "Launch development in profile mode", - "request": "launch", - "type": "dart", - "program": "lib/main_development.dart", - "args": [ - "--flavor", - "development", - "--target", - "lib/main_development.dart" - ], - "flutterMode": "profile" - }, - { - "name": "Launch development in release mode", - "request": "launch", - "type": "dart", - "program": "lib/main_development.dart", - "args": [ - "--flavor", - "development", - "--target", - "lib/main_development.dart" - ], - "flutterMode": "release" - }, - { - "name": "Launch staging", - "request": "launch", - "type": "dart", - "program": "lib/main_staging.dart", - "args": [ - "--flavor", - "staging", - "--target", - "lib/main_staging.dart" - ], - "flutterMode": "debug" - }, - { - "name": "Launch staging in profile mode", - "request": "launch", - "type": "dart", - "program": "lib/main_staging.dart", - "args": [ - "--flavor", - "staging", - "--target", - "lib/main_staging.dart" - ], - "flutterMode": "profile" - }, - { - "name": "Launch staging in release mode", - "request": "launch", - "type": "dart", - "program": "lib/main_staging.dart", - "args": [ - "--flavor", - "staging", - "--target", - "lib/main_staging.dart" - ], - "flutterMode": "release" - }, - { - "name": "Launch production", - "request": "launch", - "type": "dart", - "program": "lib/main_production.dart", - "args": [ - "--flavor", - "production", - "--target", - "lib/main_production.dart" - ], - "flutterMode": "debug" - }, - { - "name": "Launch production in profile mode", - "request": "launch", - "type": "dart", - "program": "lib/main_production.dart", - "args": [ - "--flavor", - "production", - "--target", - "lib/main_production.dart" - ], - "flutterMode": "profile" - }, - { - "name": "Launch production in release mode", - "request": "launch", - "type": "dart", - "program": "lib/main_production.dart", - "args": [ - "--flavor", - "production", - "--target", - "lib/main_production.dart" - ], - "flutterMode": "release" - }, - ] -} \ No newline at end of file diff --git a/apps/wyatt_clean_code/.vscode/settings.json b/apps/wyatt_clean_code/.vscode/settings.json deleted file mode 100644 index 855293b..0000000 --- a/apps/wyatt_clean_code/.vscode/settings.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "bloc.newCubitTemplate.type": "equatable", - "psi-header.config": { - "blankLinesAfter": 0, - "forceToTop": true, - }, - "psi-header.templates": [ - { - "language": "*", - "template": [], - // disabled, - } - ], -} \ No newline at end of file diff --git a/apps/wyatt_clean_code/Makefile b/apps/wyatt_clean_code/Makefile deleted file mode 100644 index a9a3ef9..0000000 --- a/apps/wyatt_clean_code/Makefile +++ /dev/null @@ -1,54 +0,0 @@ -.PHONY: help clean get upgrade format lint gen watch run-dev run-stg run-prod - -# Adding a help file: https://gist.github.com/prwhite/8168133#gistcomment-1313022 -help: ## This help dialog. - @IFS=$$'\n' ; \ - help_lines=(`fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//'`); \ - for help_line in $${help_lines[@]}; do \ - IFS=$$'#' ; \ - help_split=($$help_line) ; \ - help_command=`echo $${help_split[0]} | sed -e 's/^ *//' -e 's/ *$$//'` ; \ - help_info=`echo $${help_split[2]} | sed -e 's/^ *//' -e 's/ *$$//'` ; \ - printf "%-30s %s\n" $$help_command $$help_info ; \ - done - -clean: ## Cleans the environment. - @echo "• Cleaning the project..." - @rm -rf pubspec.lock - @flutter clean - -get: ## Gets the dependencies. - @echo "• Getting the dependencies..." - @flutter pub get - -upgrade: clean ## Upgrades dependencies. - @echo "• Upgrading dependencies..." - @flutter pub upgrade - -format: ## Formats the code. - @echo "• Formatting the code" - @dart format . --fix - -lint: ## Lints the code. - @echo "• Verifying code..." - @dart analyze . || (echo "Error in project"; exit 1) - -gen: get ## Run build_runner build (Freezed, Fluttergen, Hive etc...) - @echo "• build_runner build" - @flutter pub run build_runner build - -watch: get ## Run build_runner watch (Freezed, Fluttergen, Hive etc...) - @echo "• build_runner watch" - @flutter pub run build_runner watch - -run-dev: ## Run app in development mode - @echo "• Running the app (development)" - @flutter run --flavor development --target lib/main_development.dart - -run-stg: ## Run app in staging mode - @echo "• Running the app (staging)" - @flutter run --flavor staging --target lib/main_staging.dart - -run-prod: ## Run app in production mode - @echo "• Running the app (production)" - @flutter run --flavor production --target lib/main_production.dart \ No newline at end of file diff --git a/apps/wyatt_clean_code/README.md b/apps/wyatt_clean_code/README.md deleted file mode 100644 index 27d3667..0000000 --- a/apps/wyatt_clean_code/README.md +++ /dev/null @@ -1,16 +0,0 @@ -# wyatt_clean_code - -A new Flutter project. - -## Getting Started - -This project is a starting point for a Flutter application. - -A few resources to get you started if this is your first Flutter project: - -- [Lab: Write your first Flutter app](https://docs.flutter.dev/get-started/codelab) -- [Cookbook: Useful Flutter samples](https://docs.flutter.dev/cookbook) - -For help getting started with Flutter development, view the -[online documentation](https://docs.flutter.dev/), which offers tutorials, -samples, guidance on mobile development, and a full API reference. diff --git a/apps/wyatt_clean_code/analysis_options.yaml b/apps/wyatt_clean_code/analysis_options.yaml deleted file mode 100644 index 9bdb566..0000000 --- a/apps/wyatt_clean_code/analysis_options.yaml +++ /dev/null @@ -1,35 +0,0 @@ -# This file configures the analyzer, which statically analyzes Dart code to -# check for errors, warnings, and lints. -# -# The issues identified by the analyzer are surfaced in the UI of Dart-enabled -# IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be -# invoked from the command line by running `flutter analyze`. - -# The following line activates a set of recommended lints for Flutter by -# Wyatt Studio, for apps packages, and plugins designed to -# encourage good coding practices. -include: package:wyatt_analysis/analysis_options.flutter.yaml - -analyzer: - exclude: - - '**/*.g.dart' - - '**/*.freezed.dart' - -linter: - # The lint rules applied to this project can be customized in the - # section below to disable rules from the `package:flutter_lints/flutter.yaml` - # included above or to enable additional rules. A list of all available lints - # and their documentation is published at - # https://dart-lang.github.io/linter/lints/index.html. - # - # Instead of disabling a lint rule for the entire project in the - # section below, it can also be suppressed for a single line of code - # or a specific dart file by using the `// ignore: name_of_lint` and - # `// ignore_for_file: name_of_lint` syntax on the line or in the file - # producing the lint. - rules: - # avoid_print: false # Uncomment to disable the `avoid_print` rule - # prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule - -# Additional information about this file can be found at -# https://dart.dev/guides/language/analysis-options diff --git a/apps/wyatt_clean_code/android/.gitignore b/apps/wyatt_clean_code/android/.gitignore deleted file mode 100644 index 6f56801..0000000 --- a/apps/wyatt_clean_code/android/.gitignore +++ /dev/null @@ -1,13 +0,0 @@ -gradle-wrapper.jar -/.gradle -/captures/ -/gradlew -/gradlew.bat -/local.properties -GeneratedPluginRegistrant.java - -# Remember to never publicly share your keystore. -# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app -key.properties -**/*.keystore -**/*.jks diff --git a/apps/wyatt_clean_code/android/app/build.gradle b/apps/wyatt_clean_code/android/app/build.gradle deleted file mode 100644 index 0b3ee57..0000000 --- a/apps/wyatt_clean_code/android/app/build.gradle +++ /dev/null @@ -1,117 +0,0 @@ -def localProperties = new Properties() -def localPropertiesFile = rootProject.file('local.properties') -if (localPropertiesFile.exists()) { - localPropertiesFile.withReader('UTF-8') { reader -> - localProperties.load(reader) - } -} - -def flutterRoot = localProperties.getProperty('flutter.sdk') -if (flutterRoot == null) { - throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.") -} - -def flutterVersionCode = localProperties.getProperty('flutter.versionCode') -if (flutterVersionCode == null) { - flutterVersionCode = '1' -} - -def flutterVersionName = localProperties.getProperty('flutter.versionName') -if (flutterVersionName == null) { - flutterVersionName = '1.0' -} - -def keystoreProperties = new Properties() -def keystorePropertiesFile = rootProject.file('key.properties') -if (keystorePropertiesFile.exists()) { - keystoreProperties.load(new FileInputStream(keystorePropertiesFile)) -} - -apply plugin: 'com.android.application' -apply plugin: 'kotlin-android' -apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" - -android { - compileSdkVersion flutter.compileSdkVersion - ndkVersion flutter.ndkVersion - - compileOptions { - sourceCompatibility JavaVersion.VERSION_1_8 - targetCompatibility JavaVersion.VERSION_1_8 - } - - kotlinOptions { - jvmTarget = '1.8' - } - - sourceSets { - main.java.srcDirs += 'src/main/kotlin' - } - - defaultConfig { - // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). - applicationId "com.example.wyatt_clean_code" - // You can update the following values to match your application needs. - // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration. - minSdkVersion flutter.minSdkVersion - targetSdkVersion flutter.targetSdkVersion - versionCode flutterVersionCode.toInteger() - versionName flutterVersionName - } - - signingConfigs { - if (System.getenv("ANDROID_KEYSTORE_PATH")) { - release { - storeFile file(System.getenv("ANDROID_KEYSTORE_PATH")) - keyAlias System.getenv("ANDROID_KEYSTORE_ALIAS") - keyPassword System.getenv("ANDROID_KEYSTORE_PRIVATE_KEY_PASSWORD") - storePassword System.getenv("ANDROID_KEYSTORE_PASSWORD") - } - } else { - release { - keyAlias keystoreProperties['keyAlias'] - keyPassword keystoreProperties['keyPassword'] - storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null - storePassword keystoreProperties['storePassword'] - } - } - } - - flavorDimensions "default" - productFlavors { - production { - dimension "default" - applicationIdSuffix "" - manifestPlaceholders = [appName: "Wyatt Demo"] - } - staging { - dimension "default" - applicationIdSuffix ".stg" - manifestPlaceholders = [appName: "[STG] Wyatt Demo"] - } - development { - dimension "default" - applicationIdSuffix ".dev" - manifestPlaceholders = [appName: "[DEV] Wyatt Demo"] - } - } - - buildTypes { - release { - signingConfig signingConfigs.release - minifyEnabled true - proguardFiles getDefaultProguardFile('proguard-android.txt') - } - debug { - signingConfig signingConfigs.debug - } - } -} - -flutter { - source '../..' -} - -dependencies { - implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" -} diff --git a/apps/wyatt_clean_code/android/app/src/debug/AndroidManifest.xml b/apps/wyatt_clean_code/android/app/src/debug/AndroidManifest.xml deleted file mode 100644 index 6ce672d..0000000 --- a/apps/wyatt_clean_code/android/app/src/debug/AndroidManifest.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - diff --git a/apps/wyatt_clean_code/android/app/src/main/AndroidManifest.xml b/apps/wyatt_clean_code/android/app/src/main/AndroidManifest.xml deleted file mode 100644 index a940650..0000000 --- a/apps/wyatt_clean_code/android/app/src/main/AndroidManifest.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - - - - - - - diff --git a/apps/wyatt_clean_code/android/app/src/main/kotlin/com/example/wyatt_clean_code/MainActivity.kt b/apps/wyatt_clean_code/android/app/src/main/kotlin/com/example/wyatt_clean_code/MainActivity.kt deleted file mode 100644 index 466b2c9..0000000 --- a/apps/wyatt_clean_code/android/app/src/main/kotlin/com/example/wyatt_clean_code/MainActivity.kt +++ /dev/null @@ -1,6 +0,0 @@ -package com.example.wyatt_clean_code - -import io.flutter.embedding.android.FlutterActivity - -class MainActivity: FlutterActivity() { -} diff --git a/apps/wyatt_clean_code/android/app/src/main/res/drawable-v21/launch_background.xml b/apps/wyatt_clean_code/android/app/src/main/res/drawable-v21/launch_background.xml deleted file mode 100644 index f74085f..0000000 --- a/apps/wyatt_clean_code/android/app/src/main/res/drawable-v21/launch_background.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - diff --git a/apps/wyatt_clean_code/android/app/src/main/res/drawable/launch_background.xml b/apps/wyatt_clean_code/android/app/src/main/res/drawable/launch_background.xml deleted file mode 100644 index 304732f..0000000 --- a/apps/wyatt_clean_code/android/app/src/main/res/drawable/launch_background.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - diff --git a/apps/wyatt_clean_code/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/apps/wyatt_clean_code/android/app/src/main/res/mipmap-hdpi/ic_launcher.png deleted file mode 100644 index db77bb4..0000000 Binary files a/apps/wyatt_clean_code/android/app/src/main/res/mipmap-hdpi/ic_launcher.png and /dev/null differ diff --git a/apps/wyatt_clean_code/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/apps/wyatt_clean_code/android/app/src/main/res/mipmap-mdpi/ic_launcher.png deleted file mode 100644 index 17987b7..0000000 Binary files a/apps/wyatt_clean_code/android/app/src/main/res/mipmap-mdpi/ic_launcher.png and /dev/null differ diff --git a/apps/wyatt_clean_code/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/apps/wyatt_clean_code/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png deleted file mode 100644 index 09d4391..0000000 Binary files a/apps/wyatt_clean_code/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png and /dev/null differ diff --git a/apps/wyatt_clean_code/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/apps/wyatt_clean_code/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png deleted file mode 100644 index d5f1c8d..0000000 Binary files a/apps/wyatt_clean_code/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png and /dev/null differ diff --git a/apps/wyatt_clean_code/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/apps/wyatt_clean_code/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png deleted file mode 100644 index 4d6372e..0000000 Binary files a/apps/wyatt_clean_code/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png and /dev/null differ diff --git a/apps/wyatt_clean_code/android/app/src/main/res/values-night/styles.xml b/apps/wyatt_clean_code/android/app/src/main/res/values-night/styles.xml deleted file mode 100644 index 06952be..0000000 --- a/apps/wyatt_clean_code/android/app/src/main/res/values-night/styles.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - diff --git a/apps/wyatt_clean_code/android/app/src/main/res/values/styles.xml b/apps/wyatt_clean_code/android/app/src/main/res/values/styles.xml deleted file mode 100644 index cb1ef88..0000000 --- a/apps/wyatt_clean_code/android/app/src/main/res/values/styles.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - diff --git a/apps/wyatt_clean_code/android/app/src/profile/AndroidManifest.xml b/apps/wyatt_clean_code/android/app/src/profile/AndroidManifest.xml deleted file mode 100644 index 6ce672d..0000000 --- a/apps/wyatt_clean_code/android/app/src/profile/AndroidManifest.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - diff --git a/apps/wyatt_clean_code/android/build.gradle b/apps/wyatt_clean_code/android/build.gradle deleted file mode 100644 index 83ae220..0000000 --- a/apps/wyatt_clean_code/android/build.gradle +++ /dev/null @@ -1,31 +0,0 @@ -buildscript { - ext.kotlin_version = '1.6.10' - repositories { - google() - mavenCentral() - } - - dependencies { - classpath 'com.android.tools.build:gradle:7.1.2' - classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" - } -} - -allprojects { - repositories { - google() - mavenCentral() - } -} - -rootProject.buildDir = '../build' -subprojects { - project.buildDir = "${rootProject.buildDir}/${project.name}" -} -subprojects { - project.evaluationDependsOn(':app') -} - -task clean(type: Delete) { - delete rootProject.buildDir -} diff --git a/apps/wyatt_clean_code/android/gradle.properties b/apps/wyatt_clean_code/android/gradle.properties deleted file mode 100644 index 94adc3a..0000000 --- a/apps/wyatt_clean_code/android/gradle.properties +++ /dev/null @@ -1,3 +0,0 @@ -org.gradle.jvmargs=-Xmx1536M -android.useAndroidX=true -android.enableJetifier=true diff --git a/apps/wyatt_clean_code/android/gradle/wrapper/gradle-wrapper.properties b/apps/wyatt_clean_code/android/gradle/wrapper/gradle-wrapper.properties deleted file mode 100644 index cc5527d..0000000 --- a/apps/wyatt_clean_code/android/gradle/wrapper/gradle-wrapper.properties +++ /dev/null @@ -1,6 +0,0 @@ -#Fri Jun 23 08:50:38 CEST 2017 -distributionBase=GRADLE_USER_HOME -distributionPath=wrapper/dists -zipStoreBase=GRADLE_USER_HOME -zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-all.zip diff --git a/apps/wyatt_clean_code/android/settings.gradle b/apps/wyatt_clean_code/android/settings.gradle deleted file mode 100644 index 44e62bc..0000000 --- a/apps/wyatt_clean_code/android/settings.gradle +++ /dev/null @@ -1,11 +0,0 @@ -include ':app' - -def localPropertiesFile = new File(rootProject.projectDir, "local.properties") -def properties = new Properties() - -assert localPropertiesFile.exists() -localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) } - -def flutterSdkPath = properties.getProperty("flutter.sdk") -assert flutterSdkPath != null, "flutter.sdk not set in local.properties" -apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle" diff --git a/apps/wyatt_clean_code/assets/colors.xml b/apps/wyatt_clean_code/assets/colors.xml deleted file mode 100644 index f5e9c9a..0000000 --- a/apps/wyatt_clean_code/assets/colors.xml +++ /dev/null @@ -1,61 +0,0 @@ - - - #FF2196F3 - - #FF0061A6 - #FFFFFFFF - #FFD0E4FF - #FF001D36 - - #FF535F70 - #FFFFFFFF - #FFD6E3F7 - #FF101C2B - - #FFBA1B1B - #FFFFFFFF - #FFFFDAD4 - #FF410001 - - #FFFDFCFF - #FF1B1B1B - #FFFDFCFF - #FF1B1B1B - #FFDFE2EB - #FF42474E - #FF73777F - #FF000000 - - #FF2F3033 - #FFF1F0F4 - #FF9CCAFF - - - #FF9CCAFF - #FF00325A - #FF00497F - #FFD0E4FF - - #FFBBC8DB - #FF253140 - #FF3C4858 - #FFD6E3F7 - - #FFFFB4A9 - #FF680003 - #FF930006 - #FFFFB4A9 - - #FF1B1B1B - #FFE2E2E6 - #FF1B1B1B - #FFE2E2E6 - #FF42474E - #FFC3C7D0 - #FF8D9199 - #FF000000 - - #FFE2E2E6 - #FF2F3033 - #FF0061A6 - \ No newline at end of file diff --git a/apps/wyatt_clean_code/assets/fonts/.gitkeep b/apps/wyatt_clean_code/assets/fonts/.gitkeep deleted file mode 100644 index f94cb6f..0000000 --- a/apps/wyatt_clean_code/assets/fonts/.gitkeep +++ /dev/null @@ -1 +0,0 @@ -# just to keep empty folder in brick generation \ No newline at end of file diff --git a/apps/wyatt_clean_code/assets/images/wyatt-studio-logo.png b/apps/wyatt_clean_code/assets/images/wyatt-studio-logo.png deleted file mode 100644 index 322633e..0000000 Binary files a/apps/wyatt_clean_code/assets/images/wyatt-studio-logo.png and /dev/null differ diff --git a/apps/wyatt_clean_code/assets/l10n/intl_fr.arb b/apps/wyatt_clean_code/assets/l10n/intl_fr.arb deleted file mode 100644 index b95f76d..0000000 --- a/apps/wyatt_clean_code/assets/l10n/intl_fr.arb +++ /dev/null @@ -1,20 +0,0 @@ -{ - "@@locale": "fr", - "counterAppBarTitle": "Compteur", - "@counterAppBarTitle": { - "description": "Texte affiché dans l'AppBar de la page Compteur" - }, - "youHavePushed": "Vous avez appuyé {count} fois sur le bouton !", - "@youHavePushed": { - "description": "Message affiché sur la page compteur", - "placeholders": { - "count": { - "type": "int" - } - } - }, - "goToCounter": "Aller au Compteur", - "@goToCounter": { - "description": "Texte affiché dans le bouton ammenant vers la page Compteur" - } -} \ No newline at end of file diff --git a/apps/wyatt_clean_code/generate.sh b/apps/wyatt_clean_code/generate.sh deleted file mode 100755 index ac3f503..0000000 --- a/apps/wyatt_clean_code/generate.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/usr/bin/env sh - -make clean -rm -rf .idea -rm -f wyatt_clean_code.iml -rm .fvm/flutter_sdk -cd ../../ -echo "Brick generator..." -dart tools/brick_generator/bin/brick_generator.dart wyatt_clean_code wyatt_clean_code wyatt-clean-code "Wyatt Demo" com.example.wyatt_clean_code - -echo "Make platforms optional..." -mkdir bricks/wyatt_clean_code/__brick__/{{#enable_android}}android\{\{ -mv -f bricks/wyatt_clean_code/__brick__/android/ bricks/wyatt_clean_code/__brick__/{{#enable_android}}android{{/enable_android}} - -mkdir bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios\{\{ -mv -f bricks/wyatt_clean_code/__brick__/ios/ bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}} - -mkdir bricks/wyatt_clean_code/__brick__/{{#enable_web}}web\{\{ -mv -f bricks/wyatt_clean_code/__brick__/web/ bricks/wyatt_clean_code/__brick__/{{#enable_web}}web{{/enable_web}} - -rm bricks/wyatt_clean_code/__brick__/generate.sh -rm -rf bricks/wyatt_clean_code/__brick__/.fvm/flutter_sdk \ No newline at end of file diff --git a/apps/wyatt_clean_code/ios/.gitignore b/apps/wyatt_clean_code/ios/.gitignore deleted file mode 100644 index 7a7f987..0000000 --- a/apps/wyatt_clean_code/ios/.gitignore +++ /dev/null @@ -1,34 +0,0 @@ -**/dgph -*.mode1v3 -*.mode2v3 -*.moved-aside -*.pbxuser -*.perspectivev3 -**/*sync/ -.sconsign.dblite -.tags* -**/.vagrant/ -**/DerivedData/ -Icon? -**/Pods/ -**/.symlinks/ -profile -xcuserdata -**/.generated/ -Flutter/App.framework -Flutter/Flutter.framework -Flutter/Flutter.podspec -Flutter/Generated.xcconfig -Flutter/ephemeral/ -Flutter/app.flx -Flutter/app.zip -Flutter/flutter_assets/ -Flutter/flutter_export_environment.sh -ServiceDefinitions.json -Runner/GeneratedPluginRegistrant.* - -# Exceptions to above rules. -!default.mode1v3 -!default.mode2v3 -!default.pbxuser -!default.perspectivev3 diff --git a/apps/wyatt_clean_code/ios/Flutter/AppFrameworkInfo.plist b/apps/wyatt_clean_code/ios/Flutter/AppFrameworkInfo.plist deleted file mode 100644 index 8d4492f..0000000 --- a/apps/wyatt_clean_code/ios/Flutter/AppFrameworkInfo.plist +++ /dev/null @@ -1,26 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - App - CFBundleIdentifier - io.flutter.flutter.app - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - App - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1.0 - MinimumOSVersion - 9.0 - - diff --git a/apps/wyatt_clean_code/ios/Flutter/Debug.xcconfig b/apps/wyatt_clean_code/ios/Flutter/Debug.xcconfig deleted file mode 100644 index 592ceee..0000000 --- a/apps/wyatt_clean_code/ios/Flutter/Debug.xcconfig +++ /dev/null @@ -1 +0,0 @@ -#include "Generated.xcconfig" diff --git a/apps/wyatt_clean_code/ios/Flutter/Release.xcconfig b/apps/wyatt_clean_code/ios/Flutter/Release.xcconfig deleted file mode 100644 index 592ceee..0000000 --- a/apps/wyatt_clean_code/ios/Flutter/Release.xcconfig +++ /dev/null @@ -1 +0,0 @@ -#include "Generated.xcconfig" diff --git a/apps/wyatt_clean_code/ios/Runner.xcodeproj/project.pbxproj b/apps/wyatt_clean_code/ios/Runner.xcodeproj/project.pbxproj deleted file mode 100644 index 4e399b8..0000000 --- a/apps/wyatt_clean_code/ios/Runner.xcodeproj/project.pbxproj +++ /dev/null @@ -1,1174 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 50; - objects = { - -/* Begin PBXBuildFile section */ - 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; }; - 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; }; - 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; }; - 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; }; - 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; }; - 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; }; -/* End PBXBuildFile section */ - -/* Begin PBXCopyFilesBuildPhase section */ - 9705A1C41CF9048500538489 /* Embed Frameworks */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 10; - files = ( - ); - name = "Embed Frameworks"; - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXCopyFilesBuildPhase section */ - -/* Begin PBXFileReference section */ - 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; }; - 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; }; - 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; }; - 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; }; - 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; - 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; }; - 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; }; - 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; }; - 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; }; - 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; - 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; - 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; - 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 97C146EB1CF9000F007C117D /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 9740EEB11CF90186004384FC /* Flutter */ = { - isa = PBXGroup; - children = ( - 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */, - 9740EEB21CF90195004384FC /* Debug.xcconfig */, - 7AFA3C8E1D35360C0083082E /* Release.xcconfig */, - 9740EEB31CF90195004384FC /* Generated.xcconfig */, - ); - name = Flutter; - sourceTree = ""; - }; - 97C146E51CF9000F007C117D = { - isa = PBXGroup; - children = ( - 9740EEB11CF90186004384FC /* Flutter */, - 97C146F01CF9000F007C117D /* Runner */, - 97C146EF1CF9000F007C117D /* Products */, - ); - sourceTree = ""; - }; - 97C146EF1CF9000F007C117D /* Products */ = { - isa = PBXGroup; - children = ( - 97C146EE1CF9000F007C117D /* Runner.app */, - ); - name = Products; - sourceTree = ""; - }; - 97C146F01CF9000F007C117D /* Runner */ = { - isa = PBXGroup; - children = ( - 97C146FA1CF9000F007C117D /* Main.storyboard */, - 97C146FD1CF9000F007C117D /* Assets.xcassets */, - 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */, - 97C147021CF9000F007C117D /* Info.plist */, - 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */, - 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */, - 74858FAE1ED2DC5600515810 /* AppDelegate.swift */, - 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */, - ); - path = Runner; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - 97C146ED1CF9000F007C117D /* Runner */ = { - isa = PBXNativeTarget; - buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */; - buildPhases = ( - 9740EEB61CF901F6004384FC /* Run Script */, - 97C146EA1CF9000F007C117D /* Sources */, - 97C146EB1CF9000F007C117D /* Frameworks */, - 97C146EC1CF9000F007C117D /* Resources */, - 9705A1C41CF9048500538489 /* Embed Frameworks */, - 3B06AD1E1E4923F5004D2608 /* Thin Binary */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = Runner; - productName = Runner; - productReference = 97C146EE1CF9000F007C117D /* Runner.app */; - productType = "com.apple.product-type.application"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 97C146E61CF9000F007C117D /* Project object */ = { - isa = PBXProject; - attributes = { - LastUpgradeCheck = 1300; - ORGANIZATIONNAME = ""; - TargetAttributes = { - 97C146ED1CF9000F007C117D = { - CreatedOnToolsVersion = 7.3.1; - LastSwiftMigration = 1100; - }; - }; - }; - buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */; - compatibilityVersion = "Xcode 9.3"; - developmentRegion = en; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = 97C146E51CF9000F007C117D; - productRefGroup = 97C146EF1CF9000F007C117D /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 97C146ED1CF9000F007C117D /* Runner */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 97C146EC1CF9000F007C117D /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */, - 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */, - 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */, - 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXShellScriptBuildPhase section */ - 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "Thin Binary"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin"; - }; - 9740EEB61CF901F6004384FC /* Run Script */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "Run Script"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build"; - }; -/* End PBXShellScriptBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 97C146EA1CF9000F007C117D /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */, - 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXVariantGroup section */ - 97C146FA1CF9000F007C117D /* Main.storyboard */ = { - isa = PBXVariantGroup; - children = ( - 97C146FB1CF9000F007C117D /* Base */, - ); - name = Main.storyboard; - sourceTree = ""; - }; - 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = { - isa = PBXVariantGroup; - children = ( - 97C147001CF9000F007C117D /* Base */, - ); - name = LaunchScreen.storyboard; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - 249021D3217E4FDB00AE95B9 /* Profile */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - SUPPORTED_PLATFORMS = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = Profile; - }; - 249021D4217E4FDB00AE95B9 /* Profile */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - DEVELOPMENT_TEAM = 6Z5P8GG96U; - ENABLE_BITCODE = NO; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = com.example.wyattCleanCode; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_VERSION = 5.0; - VERSIONING_SYSTEM = "apple-generic"; - }; - name = Profile; - }; - 6B497CB72889B0D000E01771 /* Debug-development */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = "Debug-development"; - }; - 6B497CB82889B0D000E01771 /* Debug-development */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - DEVELOPMENT_TEAM = 6Z5P8GG96U; - ENABLE_BITCODE = NO; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = com.example.wyattCleanCode; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 5.0; - VERSIONING_SYSTEM = "apple-generic"; - }; - name = "Debug-development"; - }; - 6B497CB92889B0F300E01771 /* Debug-staging */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = "Debug-staging"; - }; - 6B497CBA2889B0F300E01771 /* Debug-staging */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - DEVELOPMENT_TEAM = 6Z5P8GG96U; - ENABLE_BITCODE = NO; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = com.example.wyattCleanCode; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 5.0; - VERSIONING_SYSTEM = "apple-generic"; - }; - name = "Debug-staging"; - }; - 6B497CBB2889B11500E01771 /* Debug-production */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = "Debug-production"; - }; - 6B497CBC2889B11500E01771 /* Debug-production */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - DEVELOPMENT_TEAM = 6Z5P8GG96U; - ENABLE_BITCODE = NO; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = com.example.wyattCleanCode; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 5.0; - VERSIONING_SYSTEM = "apple-generic"; - }; - name = "Debug-production"; - }; - 6B497CBD2889B12000E01771 /* Profile-development */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - SUPPORTED_PLATFORMS = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = "Profile-development"; - }; - 6B497CBE2889B12000E01771 /* Profile-development */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - DEVELOPMENT_TEAM = 6Z5P8GG96U; - ENABLE_BITCODE = NO; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = com.example.wyattCleanCode; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_VERSION = 5.0; - VERSIONING_SYSTEM = "apple-generic"; - }; - name = "Profile-development"; - }; - 6B497CBF2889B12800E01771 /* Profile-staging */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - SUPPORTED_PLATFORMS = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = "Profile-staging"; - }; - 6B497CC02889B12800E01771 /* Profile-staging */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - DEVELOPMENT_TEAM = 6Z5P8GG96U; - ENABLE_BITCODE = NO; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = com.example.wyattCleanCode; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_VERSION = 5.0; - VERSIONING_SYSTEM = "apple-generic"; - }; - name = "Profile-staging"; - }; - 6B497CC12889B12F00E01771 /* Profile-production */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - SUPPORTED_PLATFORMS = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = "Profile-production"; - }; - 6B497CC22889B12F00E01771 /* Profile-production */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - DEVELOPMENT_TEAM = 6Z5P8GG96U; - ENABLE_BITCODE = NO; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = com.example.wyattCleanCode; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_VERSION = 5.0; - VERSIONING_SYSTEM = "apple-generic"; - }; - name = "Profile-production"; - }; - 6B497CC32889B13A00E01771 /* Release-development */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - SUPPORTED_PLATFORMS = iphoneos; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OPTIMIZATION_LEVEL = "-O"; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = "Release-development"; - }; - 6B497CC42889B13A00E01771 /* Release-development */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - DEVELOPMENT_TEAM = 6Z5P8GG96U; - ENABLE_BITCODE = NO; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = com.example.wyattCleanCode; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_VERSION = 5.0; - VERSIONING_SYSTEM = "apple-generic"; - }; - name = "Release-development"; - }; - 6B497CC52889B14200E01771 /* Release-staging */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - SUPPORTED_PLATFORMS = iphoneos; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OPTIMIZATION_LEVEL = "-O"; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = "Release-staging"; - }; - 6B497CC62889B14200E01771 /* Release-staging */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - DEVELOPMENT_TEAM = 6Z5P8GG96U; - ENABLE_BITCODE = NO; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = com.example.wyattCleanCode; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_VERSION = 5.0; - VERSIONING_SYSTEM = "apple-generic"; - }; - name = "Release-staging"; - }; - 6B497CC72889B14900E01771 /* Release-production */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - SUPPORTED_PLATFORMS = iphoneos; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OPTIMIZATION_LEVEL = "-O"; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = "Release-production"; - }; - 6B497CC82889B14900E01771 /* Release-production */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - DEVELOPMENT_TEAM = 6Z5P8GG96U; - ENABLE_BITCODE = NO; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = com.example.wyattCleanCode; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_VERSION = 5.0; - VERSIONING_SYSTEM = "apple-generic"; - }; - name = "Release-production"; - }; - 97C147031CF9000F007C117D /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - 97C147041CF9000F007C117D /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - SUPPORTED_PLATFORMS = iphoneos; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OPTIMIZATION_LEVEL = "-O"; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - 97C147061CF9000F007C117D /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - DEVELOPMENT_TEAM = 6Z5P8GG96U; - ENABLE_BITCODE = NO; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = com.example.wyattCleanCode; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 5.0; - VERSIONING_SYSTEM = "apple-generic"; - }; - name = Debug; - }; - 97C147071CF9000F007C117D /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - DEVELOPMENT_TEAM = 6Z5P8GG96U; - ENABLE_BITCODE = NO; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = com.example.wyattCleanCode; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_VERSION = 5.0; - VERSIONING_SYSTEM = "apple-generic"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 97C147031CF9000F007C117D /* Debug */, - 6B497CB72889B0D000E01771 /* Debug-development */, - 6B497CB92889B0F300E01771 /* Debug-staging */, - 6B497CBB2889B11500E01771 /* Debug-production */, - 97C147041CF9000F007C117D /* Release */, - 6B497CC32889B13A00E01771 /* Release-development */, - 6B497CC52889B14200E01771 /* Release-staging */, - 6B497CC72889B14900E01771 /* Release-production */, - 249021D3217E4FDB00AE95B9 /* Profile */, - 6B497CBD2889B12000E01771 /* Profile-development */, - 6B497CBF2889B12800E01771 /* Profile-staging */, - 6B497CC12889B12F00E01771 /* Profile-production */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 97C147061CF9000F007C117D /* Debug */, - 6B497CB82889B0D000E01771 /* Debug-development */, - 6B497CBA2889B0F300E01771 /* Debug-staging */, - 6B497CBC2889B11500E01771 /* Debug-production */, - 97C147071CF9000F007C117D /* Release */, - 6B497CC42889B13A00E01771 /* Release-development */, - 6B497CC62889B14200E01771 /* Release-staging */, - 6B497CC82889B14900E01771 /* Release-production */, - 249021D4217E4FDB00AE95B9 /* Profile */, - 6B497CBE2889B12000E01771 /* Profile-development */, - 6B497CC02889B12800E01771 /* Profile-staging */, - 6B497CC22889B12F00E01771 /* Profile-production */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = 97C146E61CF9000F007C117D /* Project object */; -} diff --git a/apps/wyatt_clean_code/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/apps/wyatt_clean_code/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 919434a..0000000 --- a/apps/wyatt_clean_code/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/apps/wyatt_clean_code/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/apps/wyatt_clean_code/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d9810..0000000 --- a/apps/wyatt_clean_code/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - - diff --git a/apps/wyatt_clean_code/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/apps/wyatt_clean_code/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings deleted file mode 100644 index f9b0d7c..0000000 --- a/apps/wyatt_clean_code/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings +++ /dev/null @@ -1,8 +0,0 @@ - - - - - PreviewsEnabled - - - diff --git a/apps/wyatt_clean_code/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/apps/wyatt_clean_code/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme deleted file mode 100644 index c87d15a..0000000 --- a/apps/wyatt_clean_code/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ /dev/null @@ -1,87 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/apps/wyatt_clean_code/ios/Runner.xcodeproj/xcshareddata/xcschemes/development.xcscheme b/apps/wyatt_clean_code/ios/Runner.xcodeproj/xcshareddata/xcschemes/development.xcscheme deleted file mode 100644 index 85c759b..0000000 --- a/apps/wyatt_clean_code/ios/Runner.xcodeproj/xcshareddata/xcschemes/development.xcscheme +++ /dev/null @@ -1,78 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/apps/wyatt_clean_code/ios/Runner.xcodeproj/xcshareddata/xcschemes/production.xcscheme b/apps/wyatt_clean_code/ios/Runner.xcodeproj/xcshareddata/xcschemes/production.xcscheme deleted file mode 100644 index 85c759b..0000000 --- a/apps/wyatt_clean_code/ios/Runner.xcodeproj/xcshareddata/xcschemes/production.xcscheme +++ /dev/null @@ -1,78 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/apps/wyatt_clean_code/ios/Runner.xcodeproj/xcshareddata/xcschemes/staging.xcscheme b/apps/wyatt_clean_code/ios/Runner.xcodeproj/xcshareddata/xcschemes/staging.xcscheme deleted file mode 100644 index 85c759b..0000000 --- a/apps/wyatt_clean_code/ios/Runner.xcodeproj/xcshareddata/xcschemes/staging.xcscheme +++ /dev/null @@ -1,78 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/apps/wyatt_clean_code/ios/Runner.xcworkspace/contents.xcworkspacedata b/apps/wyatt_clean_code/ios/Runner.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 1d526a1..0000000 --- a/apps/wyatt_clean_code/ios/Runner.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/apps/wyatt_clean_code/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/apps/wyatt_clean_code/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d9810..0000000 --- a/apps/wyatt_clean_code/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - - diff --git a/apps/wyatt_clean_code/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/apps/wyatt_clean_code/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings deleted file mode 100644 index f9b0d7c..0000000 --- a/apps/wyatt_clean_code/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings +++ /dev/null @@ -1,8 +0,0 @@ - - - - - PreviewsEnabled - - - diff --git a/apps/wyatt_clean_code/ios/Runner/AppDelegate.swift b/apps/wyatt_clean_code/ios/Runner/AppDelegate.swift deleted file mode 100644 index 70693e4..0000000 --- a/apps/wyatt_clean_code/ios/Runner/AppDelegate.swift +++ /dev/null @@ -1,13 +0,0 @@ -import UIKit -import Flutter - -@UIApplicationMain -@objc class AppDelegate: FlutterAppDelegate { - override func application( - _ application: UIApplication, - didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? - ) -> Bool { - GeneratedPluginRegistrant.register(with: self) - return super.application(application, didFinishLaunchingWithOptions: launchOptions) - } -} diff --git a/apps/wyatt_clean_code/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/apps/wyatt_clean_code/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json deleted file mode 100644 index d36b1fa..0000000 --- a/apps/wyatt_clean_code/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "images" : [ - { - "size" : "20x20", - "idiom" : "iphone", - "filename" : "Icon-App-20x20@2x.png", - "scale" : "2x" - }, - { - "size" : "20x20", - "idiom" : "iphone", - "filename" : "Icon-App-20x20@3x.png", - "scale" : "3x" - }, - { - "size" : "29x29", - "idiom" : "iphone", - "filename" : "Icon-App-29x29@1x.png", - "scale" : "1x" - }, - { - "size" : "29x29", - "idiom" : "iphone", - "filename" : "Icon-App-29x29@2x.png", - "scale" : "2x" - }, - { - "size" : "29x29", - "idiom" : "iphone", - "filename" : "Icon-App-29x29@3x.png", - "scale" : "3x" - }, - { - "size" : "40x40", - "idiom" : "iphone", - "filename" : "Icon-App-40x40@2x.png", - "scale" : "2x" - }, - { - "size" : "40x40", - "idiom" : "iphone", - "filename" : "Icon-App-40x40@3x.png", - "scale" : "3x" - }, - { - "size" : "60x60", - "idiom" : "iphone", - "filename" : "Icon-App-60x60@2x.png", - "scale" : "2x" - }, - { - "size" : "60x60", - "idiom" : "iphone", - "filename" : "Icon-App-60x60@3x.png", - "scale" : "3x" - }, - { - "size" : "20x20", - "idiom" : "ipad", - "filename" : "Icon-App-20x20@1x.png", - "scale" : "1x" - }, - { - "size" : "20x20", - "idiom" : "ipad", - "filename" : "Icon-App-20x20@2x.png", - "scale" : "2x" - }, - { - "size" : "29x29", - "idiom" : "ipad", - "filename" : "Icon-App-29x29@1x.png", - "scale" : "1x" - }, - { - "size" : "29x29", - "idiom" : "ipad", - "filename" : "Icon-App-29x29@2x.png", - "scale" : "2x" - }, - { - "size" : "40x40", - "idiom" : "ipad", - "filename" : "Icon-App-40x40@1x.png", - "scale" : "1x" - }, - { - "size" : "40x40", - "idiom" : "ipad", - "filename" : "Icon-App-40x40@2x.png", - "scale" : "2x" - }, - { - "size" : "76x76", - "idiom" : "ipad", - "filename" : "Icon-App-76x76@1x.png", - "scale" : "1x" - }, - { - "size" : "76x76", - "idiom" : "ipad", - "filename" : "Icon-App-76x76@2x.png", - "scale" : "2x" - }, - { - "size" : "83.5x83.5", - "idiom" : "ipad", - "filename" : "Icon-App-83.5x83.5@2x.png", - "scale" : "2x" - }, - { - "size" : "1024x1024", - "idiom" : "ios-marketing", - "filename" : "Icon-App-1024x1024@1x.png", - "scale" : "1x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} diff --git a/apps/wyatt_clean_code/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png b/apps/wyatt_clean_code/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png deleted file mode 100644 index dc9ada4..0000000 Binary files a/apps/wyatt_clean_code/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png and /dev/null differ diff --git a/apps/wyatt_clean_code/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png b/apps/wyatt_clean_code/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png deleted file mode 100644 index 28c6bf0..0000000 Binary files a/apps/wyatt_clean_code/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png and /dev/null differ diff --git a/apps/wyatt_clean_code/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png b/apps/wyatt_clean_code/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png deleted file mode 100644 index 2ccbfd9..0000000 Binary files a/apps/wyatt_clean_code/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png and /dev/null differ diff --git a/apps/wyatt_clean_code/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png b/apps/wyatt_clean_code/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png deleted file mode 100644 index f091b6b..0000000 Binary files a/apps/wyatt_clean_code/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png and /dev/null differ diff --git a/apps/wyatt_clean_code/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png b/apps/wyatt_clean_code/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png deleted file mode 100644 index 4cde121..0000000 Binary files a/apps/wyatt_clean_code/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png and /dev/null differ diff --git a/apps/wyatt_clean_code/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png b/apps/wyatt_clean_code/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png deleted file mode 100644 index d0ef06e..0000000 Binary files a/apps/wyatt_clean_code/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png and /dev/null differ diff --git a/apps/wyatt_clean_code/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png b/apps/wyatt_clean_code/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png deleted file mode 100644 index dcdc230..0000000 Binary files a/apps/wyatt_clean_code/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png and /dev/null differ diff --git a/apps/wyatt_clean_code/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png b/apps/wyatt_clean_code/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png deleted file mode 100644 index 2ccbfd9..0000000 Binary files a/apps/wyatt_clean_code/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png and /dev/null differ diff --git a/apps/wyatt_clean_code/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png b/apps/wyatt_clean_code/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png deleted file mode 100644 index c8f9ed8..0000000 Binary files a/apps/wyatt_clean_code/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png and /dev/null differ diff --git a/apps/wyatt_clean_code/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png b/apps/wyatt_clean_code/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png deleted file mode 100644 index a6d6b86..0000000 Binary files a/apps/wyatt_clean_code/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png and /dev/null differ diff --git a/apps/wyatt_clean_code/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png b/apps/wyatt_clean_code/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png deleted file mode 100644 index a6d6b86..0000000 Binary files a/apps/wyatt_clean_code/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png and /dev/null differ diff --git a/apps/wyatt_clean_code/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png b/apps/wyatt_clean_code/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png deleted file mode 100644 index 75b2d16..0000000 Binary files a/apps/wyatt_clean_code/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png and /dev/null differ diff --git a/apps/wyatt_clean_code/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png b/apps/wyatt_clean_code/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png deleted file mode 100644 index c4df70d..0000000 Binary files a/apps/wyatt_clean_code/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png and /dev/null differ diff --git a/apps/wyatt_clean_code/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png b/apps/wyatt_clean_code/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png deleted file mode 100644 index 6a84f41..0000000 Binary files a/apps/wyatt_clean_code/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png and /dev/null differ diff --git a/apps/wyatt_clean_code/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png b/apps/wyatt_clean_code/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png deleted file mode 100644 index d0e1f58..0000000 Binary files a/apps/wyatt_clean_code/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png and /dev/null differ diff --git a/apps/wyatt_clean_code/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json b/apps/wyatt_clean_code/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json deleted file mode 100644 index 0bedcf2..0000000 --- a/apps/wyatt_clean_code/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "images" : [ - { - "idiom" : "universal", - "filename" : "LaunchImage.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "filename" : "LaunchImage@2x.png", - "scale" : "2x" - }, - { - "idiom" : "universal", - "filename" : "LaunchImage@3x.png", - "scale" : "3x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} diff --git a/apps/wyatt_clean_code/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png b/apps/wyatt_clean_code/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png deleted file mode 100644 index 9da19ea..0000000 Binary files a/apps/wyatt_clean_code/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png and /dev/null differ diff --git a/apps/wyatt_clean_code/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png b/apps/wyatt_clean_code/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png deleted file mode 100644 index 9da19ea..0000000 Binary files a/apps/wyatt_clean_code/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png and /dev/null differ diff --git a/apps/wyatt_clean_code/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png b/apps/wyatt_clean_code/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png deleted file mode 100644 index 9da19ea..0000000 Binary files a/apps/wyatt_clean_code/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png and /dev/null differ diff --git a/apps/wyatt_clean_code/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md b/apps/wyatt_clean_code/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md deleted file mode 100644 index 89c2725..0000000 --- a/apps/wyatt_clean_code/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# Launch Screen Assets - -You can customize the launch screen with your own desired assets by replacing the image files in this directory. - -You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images. \ No newline at end of file diff --git a/apps/wyatt_clean_code/ios/Runner/Base.lproj/LaunchScreen.storyboard b/apps/wyatt_clean_code/ios/Runner/Base.lproj/LaunchScreen.storyboard deleted file mode 100644 index f2e259c..0000000 --- a/apps/wyatt_clean_code/ios/Runner/Base.lproj/LaunchScreen.storyboard +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/apps/wyatt_clean_code/ios/Runner/Base.lproj/Main.storyboard b/apps/wyatt_clean_code/ios/Runner/Base.lproj/Main.storyboard deleted file mode 100644 index f3c2851..0000000 --- a/apps/wyatt_clean_code/ios/Runner/Base.lproj/Main.storyboard +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/apps/wyatt_clean_code/ios/Runner/Info.plist b/apps/wyatt_clean_code/ios/Runner/Info.plist deleted file mode 100644 index 80488e4..0000000 --- a/apps/wyatt_clean_code/ios/Runner/Info.plist +++ /dev/null @@ -1,49 +0,0 @@ - - - - - CFBundleDevelopmentRegion - $(DEVELOPMENT_LANGUAGE) - CFBundleDisplayName - Wyatt Clean Code - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - wyatt_clean_code - CFBundlePackageType - APPL - CFBundleShortVersionString - $(FLUTTER_BUILD_NAME) - CFBundleSignature - ???? - CFBundleVersion - $(FLUTTER_BUILD_NUMBER) - LSRequiresIPhoneOS - - UILaunchStoryboardName - LaunchScreen - UIMainStoryboardFile - Main - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - UISupportedInterfaceOrientations~ipad - - UIInterfaceOrientationPortrait - UIInterfaceOrientationPortraitUpsideDown - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - UIViewControllerBasedStatusBarAppearance - - CADisableMinimumFrameDurationOnPhone - - - diff --git a/apps/wyatt_clean_code/ios/Runner/Runner-Bridging-Header.h b/apps/wyatt_clean_code/ios/Runner/Runner-Bridging-Header.h deleted file mode 100644 index 308a2a5..0000000 --- a/apps/wyatt_clean_code/ios/Runner/Runner-Bridging-Header.h +++ /dev/null @@ -1 +0,0 @@ -#import "GeneratedPluginRegistrant.h" diff --git a/apps/wyatt_clean_code/l10n.yaml b/apps/wyatt_clean_code/l10n.yaml deleted file mode 100644 index dcb899b..0000000 --- a/apps/wyatt_clean_code/l10n.yaml +++ /dev/null @@ -1,4 +0,0 @@ -arb-dir: assets/l10n -template-arb-file: intl_fr.arb -output-localization-file: app_localizations.dart -nullable-getter: false diff --git a/apps/wyatt_clean_code/lib/bootstrap.dart b/apps/wyatt_clean_code/lib/bootstrap.dart deleted file mode 100644 index 757794e..0000000 --- a/apps/wyatt_clean_code/lib/bootstrap.dart +++ /dev/null @@ -1,46 +0,0 @@ -import 'dart:async'; - -import 'package:flutter/foundation.dart'; -import 'package:flutter/widgets.dart'; -import 'package:flutter_bloc/flutter_bloc.dart'; -import 'package:go_router/go_router.dart'; -import 'package:wyatt_clean_code/core/dependency_injection/get_it.dart'; -import 'package:wyatt_clean_code/core/flavors/flavor_settings.dart'; -import 'package:wyatt_clean_code/core/utils/app_bloc_observer.dart'; -import 'package:wyatt_clean_code/core/utils/wyatt_printer.dart'; - -Future bootstrap(FutureOr Function() builder) async { - await runZonedGuarded( - () async { - WidgetsFlutterBinding.ensureInitialized(); - - FlutterError.onError = (details) { - WyattPrinter.get().e( - '', - details, - details.stack, - ); - }; - - FlavorSettings.init(); - GetItInitializer.run(); - - GoRouter.setUrlPathStrategy(UrlPathStrategy.path); - - if (!kReleaseMode) { - final env = FlavorSettings.get(); - WyattPrinter.get().i('Flavor : ${env.flavor.name}'); - } - - await BlocOverrides.runZoned( - () async => runApp(await builder()), - blocObserver: AppBlocObserver(), - ); - }, - (error, stackTrace) => WyattPrinter.get().e( - '', - error, - stackTrace, - ), - ); -} diff --git a/apps/wyatt_clean_code/lib/core/constants/.gitkeep b/apps/wyatt_clean_code/lib/core/constants/.gitkeep deleted file mode 100644 index f94cb6f..0000000 --- a/apps/wyatt_clean_code/lib/core/constants/.gitkeep +++ /dev/null @@ -1 +0,0 @@ -# just to keep empty folder in brick generation \ No newline at end of file diff --git a/apps/wyatt_clean_code/lib/core/dependency_injection/get_it.dart b/apps/wyatt_clean_code/lib/core/dependency_injection/get_it.dart deleted file mode 100644 index 7180ebb..0000000 --- a/apps/wyatt_clean_code/lib/core/dependency_injection/get_it.dart +++ /dev/null @@ -1,15 +0,0 @@ -import 'dart:async'; - -import 'package:get_it/get_it.dart'; - -final getIt = GetIt.I; - -abstract class GetItInitializer { - static Future init() async { - // Here, register data sources - } - - static void run() { - unawaited(init()); - } -} diff --git a/apps/wyatt_clean_code/lib/core/design_system/colors.dart b/apps/wyatt_clean_code/lib/core/design_system/colors.dart deleted file mode 100644 index b48f3f8..0000000 --- a/apps/wyatt_clean_code/lib/core/design_system/colors.dart +++ /dev/null @@ -1,2 +0,0 @@ -/// Generate colors with `flutter pub run build_runner build` -export 'package:wyatt_clean_code/gen/colors.gen.dart'; diff --git a/apps/wyatt_clean_code/lib/core/design_system/sizing.dart b/apps/wyatt_clean_code/lib/core/design_system/sizing.dart deleted file mode 100644 index 1c4fdc0..0000000 --- a/apps/wyatt_clean_code/lib/core/design_system/sizing.dart +++ /dev/null @@ -1,235 +0,0 @@ -import 'package:flutter/material.dart'; -import 'package:gap/gap.dart'; - -/// Geometric progression. -abstract class AppSizing { - /// Default to 1 - static const double factor = 1; - - /// SizedBox.shrink(); - static const SizedBox empty = SizedBox.shrink(); - - /// xxs = factor * 2 - static const double xxs = factor * 2; - - /// xs = factor * 4 - static const double xs = factor * 4; - - /// s = factor * 8 - static const double s = factor * 8; - - /// m = factor * 16 - static const double m = factor * 16; - - /// l = factor * 32 - static const double l = factor * 32; - - /// xl = factor * 64 - static const double xl = factor * 64; - - /// xxl = factor * 128 - static const double xxl = factor * 128; - - /// xxs = factor * 2 - static const Gap xxsGap = Gap(xxs); - - /// xs = factor * 4 - static const Gap xsGap = Gap(xs); - - /// s = factor * 8 - static const Gap sGap = Gap(s); - - /// m = factor * 16 - static const Gap mGap = Gap(m); - - /// l = factor * 32 - static const Gap lGap = Gap(l); - - /// xl = factor * 64 - static const Gap xlGap = Gap(xl); - - /// xxl = factor * 128 - static const Gap xxlGap = Gap(xxl); - - /// xxs = factor * 2 - static const Radius xxsRadius = Radius.circular(xxs); - - /// xs = factor * 4 - static const Radius xsRadius = Radius.circular(xs); - - /// s = factor * 8 - static const Radius sRadius = Radius.circular(s); - - /// m = factor * 16 - static const Radius mRadius = Radius.circular(m); - - /// l = factor * 32 - static const Radius lRadius = Radius.circular(l); - - /// xl = factor * 64 - static const Radius xlRadius = Radius.circular(xl); - - /// xxl = factor * 128 - static const Radius xxlRadius = Radius.circular(xxl); - - /// xxs = factor * 2 - /// - /// A square inset offers indents content on all four sides. - /// - /// *e.g [EdgeInsets.all(value)]* - static const EdgeInsets xxsSquareInset = EdgeInsets.all(xxs); - - /// xs = factor * 4 - /// - /// A square inset offers indents content on all four sides. - /// - /// *e.g [EdgeInsets.all(value)]* - static const EdgeInsets xsSquareInset = EdgeInsets.all(xs); - - /// s = factor * 8 - /// - /// A square inset offers indents content on all four sides. - /// - /// *e.g [EdgeInsets.all(value)]* - static const EdgeInsets sSquareInset = EdgeInsets.all(s); - - /// m = factor * 16 - /// - /// A square inset offers indents content on all four sides. - /// - /// *e.g [EdgeInsets.all(value)]* - static const EdgeInsets mSquareInset = EdgeInsets.all(m); - - /// l = factor * 32 - /// - /// A square inset offers indents content on all four sides. - /// - /// *e.g [EdgeInsets.all(value)]* - static const EdgeInsets lSquareInset = EdgeInsets.all(l); - - /// xl = factor * 64 - /// - /// A square inset offers indents content on all four sides. - /// - /// *e.g [EdgeInsets.all(value)]* - static const EdgeInsets xlSquareInset = EdgeInsets.all(xl); - - /// xxl = factor * 128 - /// - /// A square inset offers indents content on all four sides. - /// - /// *e.g [EdgeInsets.all(value)]* - static const EdgeInsets xxlSquareInset = EdgeInsets.all(xxl); - - /// xxs = factor * 2 - /// - /// A squished inset reduces space top and bottom by 50%. - /// - /// *e.g [EdgeInsets.symmetric(horizontal: value, vertical: value / 2)]* - static const EdgeInsets xxsSquishInset = - EdgeInsets.symmetric(horizontal: xxs, vertical: xxs / 2); - - /// xs = factor * 4 - /// - /// A squished inset reduces space top and bottom by 50%. - /// - /// *e.g [EdgeInsets.symmetric(horizontal: value, vertical: value / 2)]* - static const EdgeInsets xsSquishInset = - EdgeInsets.symmetric(horizontal: xs, vertical: xs / 2); - - /// s = factor * 8 - /// - /// A squished inset reduces space top and bottom by 50%. - /// - /// *e.g [EdgeInsets.symmetric(horizontal: value, vertical: value / 2)]* - static const EdgeInsets sSquishInset = - EdgeInsets.symmetric(horizontal: s, vertical: s / 2); - - /// m = factor * 16 - /// - /// A squished inset reduces space top and bottom by 50%. - /// - /// *e.g [EdgeInsets.symmetric(horizontal: value, vertical: value / 2)]* - static const EdgeInsets mSquishInset = - EdgeInsets.symmetric(horizontal: m, vertical: m / 2); - - /// l = factor * 32 - /// - /// A squished inset reduces space top and bottom by 50%. - /// - /// *e.g [EdgeInsets.symmetric(horizontal: value, vertical: value / 2)]* - static const EdgeInsets lSquishInset = - EdgeInsets.symmetric(horizontal: l, vertical: l / 2); - - /// xl = factor * 64 - /// - /// A squished inset reduces space top and bottom by 50%. - /// - /// *e.g [EdgeInsets.symmetric(horizontal: value, vertical: value / 2)]* - static const EdgeInsets xlSquishInset = - EdgeInsets.symmetric(horizontal: xl, vertical: xl / 2); - - /// xxl = factor * 128 - /// - /// A squished inset reduces space top and bottom by 50%. - /// - /// *e.g [EdgeInsets.symmetric(horizontal: value, vertical: value / 2)]* - static const EdgeInsets xxlSquishInset = - EdgeInsets.symmetric(horizontal: xxl, vertical: xxl / 2); - - /// xxs = factor * 2 - /// - /// A stretched inset reduces space left and right by 50%. - /// - /// *e.g [EdgeInsets.symmetric(vertical: value, horizontal: value / 2)]* - static const EdgeInsets xxsStretchInset = - EdgeInsets.symmetric(vertical: xxs, horizontal: xxs / 2); - - /// xs = factor * 4 - /// - /// A stretched inset reduces space left and right by 50%. - /// - /// *e.g [EdgeInsets.symmetric(vertical: value, horizontal: value / 2)]* - static const EdgeInsets xsStretchInset = - EdgeInsets.symmetric(vertical: xs, horizontal: xs / 2); - - /// s = factor * 8 - /// - /// A stretched inset reduces space left and right by 50%. - /// - /// *e.g [EdgeInsets.symmetric(vertical: value, horizontal: value / 2)]* - static const EdgeInsets sStretchInset = - EdgeInsets.symmetric(vertical: s, horizontal: s / 2); - - /// m = factor * 16 - /// - /// A stretched inset reduces space left and right by 50%. - /// - /// *e.g [EdgeInsets.symmetric(vertical: value, horizontal: value / 2)]* - static const EdgeInsets mStretchInset = - EdgeInsets.symmetric(vertical: m, horizontal: m / 2); - - /// l = factor * 32 - /// - /// A stretched inset reduces space left and right by 50%. - /// - /// *e.g [EdgeInsets.symmetric(vertical: value, horizontal: value / 2)]* - static const EdgeInsets lStretchInset = - EdgeInsets.symmetric(vertical: l, horizontal: l / 2); - - /// xl = factor * 64 - /// - /// A stretched inset reduces space left and right by 50%. - /// - /// *e.g [EdgeInsets.symmetric(vertical: value, horizontal: value / 2)]* - static const EdgeInsets xlStretchInset = - EdgeInsets.symmetric(vertical: xl, horizontal: xl / 2); - - /// xxl = factor * 128 - /// - /// A stretched inset reduces space left and right by 50%. - /// - /// *e.g [EdgeInsets.symmetric(vertical: value, horizontal: value / 2)]* - static const EdgeInsets xxlStretchInset = - EdgeInsets.symmetric(vertical: xxl, horizontal: xxl / 2); -} diff --git a/apps/wyatt_clean_code/lib/core/design_system/theme.dart b/apps/wyatt_clean_code/lib/core/design_system/theme.dart deleted file mode 100644 index 1f079c0..0000000 --- a/apps/wyatt_clean_code/lib/core/design_system/theme.dart +++ /dev/null @@ -1,240 +0,0 @@ -import 'package:flutter/material.dart'; -import 'package:wyatt_clean_code/core/design_system/colors.dart'; -import 'package:wyatt_clean_code/core/design_system/typography.dart'; - -const _smallTextScaleFactor = 0.80; -const _largeTextScaleFactor = 1.20; - -/// Namespace for the [ThemeData]. -class AppTheme { - /// Light `ThemeData` for UI. - static ThemeData get light => ThemeData( - colorScheme: ColorScheme.fromSwatch( - primarySwatch: ColorName.seedColor, - accentColor: ColorName.seedColorAccent, - cardColor: ColorName.lightBackground, - backgroundColor: ColorName.lightBackground, - errorColor: ColorName.lightError, - ), - appBarTheme: _appBarLightTheme, - elevatedButtonTheme: _elevatedButtonLightTheme, - outlinedButtonTheme: _outlinedButtonLightTheme, - textTheme: _textTheme(), - dialogTheme: _dialogLightTheme, - tooltipTheme: _tooltipLightTheme, - bottomSheetTheme: _bottomSheetLightTheme, - tabBarTheme: _tabBarLightTheme, - dividerTheme: _dividerLightTheme, - backgroundColor: ColorName.lightBackground, - ); - - /// dark `ThemeData` for UI. - static ThemeData get dark => ThemeData( - colorScheme: ColorScheme.fromSwatch( - primarySwatch: ColorName.seedColor, - accentColor: ColorName.darkSecondary, - cardColor: ColorName.darkBackground, - backgroundColor: ColorName.darkBackground, - errorColor: ColorName.darkError, - brightness: Brightness.dark, - ), - appBarTheme: _appBarDarkTheme, - elevatedButtonTheme: _elevatedButtonDarkTheme, - outlinedButtonTheme: _outlinedButtonDarkTheme, - textTheme: _textTheme(isDark: true), - dialogTheme: _dialogDarkTheme, - tooltipTheme: _tooltipDarkTheme, - bottomSheetTheme: _bottomSheetDarkTheme, - tabBarTheme: _tabBarDarkTheme, - dividerTheme: _dividerDarkTheme, - backgroundColor: ColorName.darkBackground, - canvasColor: ColorName.darkBackground, - ); - - /// `ThemeData` for UI for small screens. - static ThemeData get lightSmall => - light.copyWith(textTheme: _smallTextTheme()); - - /// `ThemeData` for UI for medium screens. - static ThemeData get lightMedium => - light.copyWith(textTheme: _smallTextTheme()); - - /// `ThemeData` for UI for large screens. - static ThemeData get lightLarge => - light.copyWith(textTheme: _largeTextTheme()); - - /// `ThemeData` for UI for small screens. - static ThemeData get darkSmall => - dark.copyWith(textTheme: _smallTextTheme(isDark: true)); - - /// `ThemeData` for UI for medium screens. - static ThemeData get darkMedium => - dark.copyWith(textTheme: _smallTextTheme(isDark: true)); - - /// `ThemeData` for UI for large screens. - static ThemeData get darkLarge => - dark.copyWith(textTheme: _largeTextTheme(isDark: true)); - - static TextTheme _textTheme({bool isDark = false}) => TextTheme( - headline1: AppTypography.headline1, - headline2: AppTypography.headline2, - headline3: AppTypography.headline3, - headline4: AppTypography.headline4, - headline5: AppTypography.headline5, - headline6: AppTypography.headline6, - subtitle1: AppTypography.subtitle1, - subtitle2: AppTypography.subtitle2, - bodyText1: AppTypography.bodyText1, - bodyText2: AppTypography.bodyText2, - caption: AppTypography.caption, - overline: AppTypography.overline, - button: AppTypography.button, - ).apply( - bodyColor: - isDark ? ColorName.darkOnBackground : ColorName.lightOnBackground, - displayColor: - isDark ? ColorName.darkOnBackground : ColorName.lightOnBackground, - ); - - static TextTheme _smallTextTheme({bool isDark = false}) => - _textTheme(isDark: isDark).apply(fontSizeFactor: _smallTextScaleFactor); - - static TextTheme _largeTextTheme({bool isDark = false}) => - _textTheme(isDark: isDark).apply(fontSizeFactor: _largeTextScaleFactor); - - static AppBarTheme get _appBarLightTheme => - const AppBarTheme(color: ColorName.lightPrimary); - - static AppBarTheme get _appBarDarkTheme => - const AppBarTheme(color: ColorName.darkSurfaceVariant); - - static ElevatedButtonThemeData get _elevatedButtonLightTheme => - ElevatedButtonThemeData( - style: ElevatedButton.styleFrom( - elevation: 0, - shape: const RoundedRectangleBorder( - borderRadius: BorderRadius.all(Radius.circular(30)), - ), - primary: ColorName.lightPrimary, - fixedSize: const Size(208, 54), - ), - ); - - static ElevatedButtonThemeData get _elevatedButtonDarkTheme => - ElevatedButtonThemeData( - style: ElevatedButton.styleFrom( - elevation: 0, - shape: const RoundedRectangleBorder( - borderRadius: BorderRadius.all(Radius.circular(30)), - ), - primary: ColorName.darkPrimary, - fixedSize: const Size(208, 54), - ), - ); - - static OutlinedButtonThemeData get _outlinedButtonLightTheme => - OutlinedButtonThemeData( - style: OutlinedButton.styleFrom( - shape: const RoundedRectangleBorder( - borderRadius: BorderRadius.all(Radius.circular(30)), - ), - side: const BorderSide(color: ColorName.lightOutline, width: 2), - primary: ColorName.lightPrimary, - fixedSize: const Size(208, 54), - ), - ); - - static OutlinedButtonThemeData get _outlinedButtonDarkTheme => - OutlinedButtonThemeData( - style: OutlinedButton.styleFrom( - shape: const RoundedRectangleBorder( - borderRadius: BorderRadius.all(Radius.circular(30)), - ), - side: const BorderSide(color: ColorName.darkOutline, width: 2), - primary: ColorName.darkPrimary, - fixedSize: const Size(208, 54), - ), - ); - - static TooltipThemeData get _tooltipLightTheme => const TooltipThemeData( - decoration: BoxDecoration( - color: ColorName.lightInverseSurface, - borderRadius: BorderRadius.all(Radius.circular(5)), - ), - padding: EdgeInsets.all(10), - textStyle: TextStyle(color: ColorName.lightOnInverseSurface), - ); - - static TooltipThemeData get _tooltipDarkTheme => const TooltipThemeData( - decoration: BoxDecoration( - color: ColorName.darkInverseSurface, - borderRadius: BorderRadius.all(Radius.circular(5)), - ), - padding: EdgeInsets.all(10), - textStyle: TextStyle(color: ColorName.darkOnInverseSurface), - ); - - static DialogTheme get _dialogLightTheme => DialogTheme( - shape: RoundedRectangleBorder( - borderRadius: BorderRadius.circular(12), - ), - ); - - static DialogTheme get _dialogDarkTheme => DialogTheme( - shape: RoundedRectangleBorder( - borderRadius: BorderRadius.circular(12), - ), - ); - - static BottomSheetThemeData get _bottomSheetLightTheme => - const BottomSheetThemeData( - backgroundColor: ColorName.lightBackground, - shape: RoundedRectangleBorder( - borderRadius: BorderRadius.vertical(top: Radius.circular(12)), - ), - ); - - static BottomSheetThemeData get _bottomSheetDarkTheme => - const BottomSheetThemeData( - backgroundColor: ColorName.darkBackground, - shape: RoundedRectangleBorder( - borderRadius: BorderRadius.vertical(top: Radius.circular(12)), - ), - ); - - static TabBarTheme get _tabBarLightTheme => const TabBarTheme( - indicator: UnderlineTabIndicator( - borderSide: BorderSide( - width: 2, - color: ColorName.lightPrimary, - ), - ), - labelColor: ColorName.lightPrimary, - unselectedLabelColor: ColorName.lightOutline, - indicatorSize: TabBarIndicatorSize.tab, - ); - - static TabBarTheme get _tabBarDarkTheme => const TabBarTheme( - indicator: UnderlineTabIndicator( - borderSide: BorderSide( - width: 2, - color: ColorName.darkPrimary, - ), - ), - labelColor: ColorName.darkPrimary, - unselectedLabelColor: ColorName.darkOutline, - indicatorSize: TabBarIndicatorSize.tab, - ); - - static DividerThemeData get _dividerLightTheme => const DividerThemeData( - space: 0, - thickness: 1, - color: ColorName.lightOutline, - ); - - static DividerThemeData get _dividerDarkTheme => const DividerThemeData( - space: 0, - thickness: 1, - color: ColorName.darkOutline, - ); -} diff --git a/apps/wyatt_clean_code/lib/core/design_system/typography.dart b/apps/wyatt_clean_code/lib/core/design_system/typography.dart deleted file mode 100644 index ce1b241..0000000 --- a/apps/wyatt_clean_code/lib/core/design_system/typography.dart +++ /dev/null @@ -1,115 +0,0 @@ -import 'package:flutter/material.dart'; - -abstract class AppFontWeight { - /// FontWeight value of `w900` - static const FontWeight black = FontWeight.w900; - - /// FontWeight value of `w800` - static const FontWeight extraBold = FontWeight.w800; - - /// FontWeight value of `w700` - static const FontWeight bold = FontWeight.w700; - - /// FontWeight value of `w600` - static const FontWeight semiBold = FontWeight.w600; - - /// FontWeight value of `w500` - static const FontWeight medium = FontWeight.w500; - - /// FontWeight value of `w400` - static const FontWeight regular = FontWeight.w400; - - /// FontWeight value of `w300` - static const FontWeight light = FontWeight.w300; - - /// FontWeight value of `w200` - static const FontWeight extraLight = FontWeight.w200; - - /// FontWeight value of `w100` - static const FontWeight thin = FontWeight.w100; -} - -class AppTypography { - static const TextStyle _base = TextStyle( - color: Colors.black, - fontWeight: AppFontWeight.regular, - ); - - /// Headline 1 Text Style - static TextStyle get headline1 => _base.copyWith( - fontSize: 56, - fontWeight: AppFontWeight.medium, - ); - - /// Headline 2 Text Style - static TextStyle get headline2 => _base.copyWith( - fontSize: 30, - fontWeight: AppFontWeight.regular, - ); - - /// Headline 3 Text Style - static TextStyle get headline3 => _base.copyWith( - fontSize: 28, - fontWeight: AppFontWeight.regular, - ); - - /// Headline 4 Text Style - static TextStyle get headline4 => _base.copyWith( - fontSize: 22, - fontWeight: AppFontWeight.bold, - ); - - /// Headline 5 Text Style - static TextStyle get headline5 => _base.copyWith( - fontSize: 20, - fontWeight: AppFontWeight.medium, - ); - - /// Headline 6 Text Style - static TextStyle get headline6 => _base.copyWith( - fontSize: 22, - fontWeight: AppFontWeight.bold, - ); - - /// Subtitle 1 Text Style - static TextStyle get subtitle1 => _base.copyWith( - fontSize: 16, - fontWeight: AppFontWeight.bold, - ); - - /// Subtitle 2 Text Style - static TextStyle get subtitle2 => _base.copyWith( - fontSize: 14, - fontWeight: AppFontWeight.bold, - ); - - /// Body Text 1 Text Style - static TextStyle get bodyText1 => _base.copyWith( - fontSize: 18, - fontWeight: AppFontWeight.medium, - ); - - /// Body Text 2 Text Style (the default) - static TextStyle get bodyText2 => _base.copyWith( - fontSize: 16, - fontWeight: AppFontWeight.regular, - ); - - /// Caption Text Style - static TextStyle get caption => _base.copyWith( - fontSize: 14, - fontWeight: AppFontWeight.regular, - ); - - /// Overline Text Style - static TextStyle get overline => _base.copyWith( - fontSize: 16, - fontWeight: AppFontWeight.regular, - ); - - /// Button Text Style - static TextStyle get button => _base.copyWith( - fontSize: 18, - fontWeight: AppFontWeight.medium, - ); -} diff --git a/apps/wyatt_clean_code/lib/core/enums/exception_type.dart b/apps/wyatt_clean_code/lib/core/enums/exception_type.dart deleted file mode 100644 index decb960..0000000 --- a/apps/wyatt_clean_code/lib/core/enums/exception_type.dart +++ /dev/null @@ -1,7 +0,0 @@ -enum AppExceptionType { - network, - api, - database, - cache, - assertion, -} diff --git a/apps/wyatt_clean_code/lib/core/enums/flavor.dart b/apps/wyatt_clean_code/lib/core/enums/flavor.dart deleted file mode 100644 index 2cec6bb..0000000 --- a/apps/wyatt_clean_code/lib/core/enums/flavor.dart +++ /dev/null @@ -1,12 +0,0 @@ -import 'package:flutter/material.dart'; - -enum Flavor { - development('dev', Colors.red), - staging('stg', Colors.blue), - production('prod', Colors.green); - - final String short; - final Color color; - - const Flavor(this.short, this.color); -} diff --git a/apps/wyatt_clean_code/lib/core/errors/exceptions.dart b/apps/wyatt_clean_code/lib/core/errors/exceptions.dart deleted file mode 100644 index 48d84be..0000000 --- a/apps/wyatt_clean_code/lib/core/errors/exceptions.dart +++ /dev/null @@ -1,29 +0,0 @@ -import 'package:equatable/equatable.dart'; -import 'package:wyatt_clean_code/core/enums/exception_type.dart'; - -abstract class AppException extends Equatable implements Exception { - final String message; - final AppExceptionType type; - - AppException(this.type, [String? message]) : message = message ?? type.name; - - @override - List get props => [message, type]; - - @override - String toString() => message; -} - -class ClientException extends AppException { - ClientException(super.type, [super.message]); - - @override - String toString() => 'ClientException: ${super.toString()}'; -} - -class ServerException extends AppException { - ServerException(super.type, [super.message]); - - @override - String toString() => 'ServerException: ${super.toString()}'; -} diff --git a/apps/wyatt_clean_code/lib/core/extensions/build_context_extension.dart b/apps/wyatt_clean_code/lib/core/extensions/build_context_extension.dart deleted file mode 100644 index df68dfe..0000000 --- a/apps/wyatt_clean_code/lib/core/extensions/build_context_extension.dart +++ /dev/null @@ -1,8 +0,0 @@ -import 'package:flutter/widgets.dart'; -import 'package:flutter_gen/gen_l10n/app_localizations.dart'; - -export 'package:flutter_gen/gen_l10n/app_localizations.dart'; - -extension BuildContextX on BuildContext { - AppLocalizations get l10n => AppLocalizations.of(this); -} diff --git a/apps/wyatt_clean_code/lib/core/extensions/num_extension.dart b/apps/wyatt_clean_code/lib/core/extensions/num_extension.dart deleted file mode 100644 index d02178a..0000000 --- a/apps/wyatt_clean_code/lib/core/extensions/num_extension.dart +++ /dev/null @@ -1,9 +0,0 @@ -import 'package:wyatt_clean_code/core/utils/screen_util.dart'; - -extension NumX on num { - double get w => ScreenUtil().setWidth(this); - - double get h => ScreenUtil().setHeight(this); - - double get sp => ScreenUtil().setSp(this); -} diff --git a/apps/wyatt_clean_code/lib/core/extensions/object_extension.dart b/apps/wyatt_clean_code/lib/core/extensions/object_extension.dart deleted file mode 100644 index 0dfcd1f..0000000 --- a/apps/wyatt_clean_code/lib/core/extensions/object_extension.dart +++ /dev/null @@ -1,32 +0,0 @@ -import 'package:logger/logger.dart'; -import 'package:wyatt_clean_code/core/utils/wyatt_printer.dart'; - -extension ObjectX on Object { - void log({Level level = Level.debug, String Function(Object obj)? wrap}) { - final msg = wrap != null ? wrap(this) : this; - WyattPrinter.get().log(level, msg); - } - - /// Log a message at level [Level.verbose]. - void v({String Function(Object obj)? wrap}) => - log(level: Level.verbose, wrap: wrap); - - /// Log a message at level [Level.debug]. - void d({String Function(Object obj)? wrap}) => log(wrap: wrap); - - /// Log a message at level [Level.info]. - void i({String Function(Object obj)? wrap}) => - log(level: Level.info, wrap: wrap); - - /// Log a message at level [Level.warning]. - void w({String Function(Object obj)? wrap}) => - log(level: Level.warning, wrap: wrap); - - /// Log a message at level [Level.error]. - void e({String Function(Object obj)? wrap}) => - log(level: Level.error, wrap: wrap); - - /// Log a message at level [Level.wtf]. - void wtf({String Function(Object obj)? wrap}) => - log(level: Level.wtf, wrap: wrap); -} diff --git a/apps/wyatt_clean_code/lib/core/flavors/flavor_settings.dart b/apps/wyatt_clean_code/lib/core/flavors/flavor_settings.dart deleted file mode 100644 index 986eeee..0000000 --- a/apps/wyatt_clean_code/lib/core/flavors/flavor_settings.dart +++ /dev/null @@ -1,64 +0,0 @@ -import 'package:wyatt_clean_code/core/enums/flavor.dart'; - -class FlavorSettings { - static FlavorSettings? _instance; - - final Flavor flavor; - - // Per flavor settings - String apiKey = ''; - - /// Banner are not display in release mode, whatever this value - bool displayBanner = true; - - FlavorSettings._(this.flavor); - - factory FlavorSettings.development() { - _instance ??= FlavorSettings._(Flavor.development); - if (_instance!.flavor != Flavor.development) { - throw Exception('Flavor already initialized in: ${_instance!.flavor}'); - } - return _instance!; - } - - factory FlavorSettings.staging() { - _instance ??= FlavorSettings._(Flavor.staging); - if (_instance!.flavor != Flavor.staging) { - throw Exception('Flavor already initialized in: ${_instance!.flavor}'); - } - return _instance!; - } - - factory FlavorSettings.production() { - _instance ??= FlavorSettings._(Flavor.production); - if (_instance!.flavor != Flavor.production) { - throw Exception('Flavor already initialized in: ${_instance!.flavor}'); - } - return _instance!; - } - - /// Returns initialized [FlavorSettings], may throw if not initialized. - static FlavorSettings get() { - if (_instance == null) { - throw Exception('Flavor not initialized!'); - } - return _instance!; - } - - /// To call after `WidgetsFlutterBinding.ensureInitialized()` - /// - /// Here you can config all the settings attributes. - static void init() { - switch (get().flavor) { - case Flavor.development: - _instance!.apiKey = 'example-dev'; - break; - case Flavor.staging: - _instance!.apiKey = 'example-stg'; - break; - case Flavor.production: - _instance!.apiKey = 'example-prod'; - break; - } - } -} diff --git a/apps/wyatt_clean_code/lib/core/mixins/local_data_source.dart b/apps/wyatt_clean_code/lib/core/mixins/local_data_source.dart deleted file mode 100644 index 355011f..0000000 --- a/apps/wyatt_clean_code/lib/core/mixins/local_data_source.dart +++ /dev/null @@ -1,6 +0,0 @@ -import 'package:wyatt_clean_code/domain/data_sources/local/base_local_data_source.dart'; - -mixin LocalDataSource { - /// Offline data source, for debug or cache - Local get localDataSource; -} diff --git a/apps/wyatt_clean_code/lib/core/mixins/remote_data_source.dart b/apps/wyatt_clean_code/lib/core/mixins/remote_data_source.dart deleted file mode 100644 index ce2211f..0000000 --- a/apps/wyatt_clean_code/lib/core/mixins/remote_data_source.dart +++ /dev/null @@ -1,6 +0,0 @@ -import 'package:wyatt_clean_code/domain/data_sources/remote/base_remote_data_source.dart'; - -mixin RemoteDataSource { - /// Online data source, to provide data through API - Remote get remoteDataSource; -} diff --git a/apps/wyatt_clean_code/lib/core/routes/router.dart b/apps/wyatt_clean_code/lib/core/routes/router.dart deleted file mode 100644 index d908c25..0000000 --- a/apps/wyatt_clean_code/lib/core/routes/router.dart +++ /dev/null @@ -1,37 +0,0 @@ -import 'package:flutter/material.dart'; -import 'package:go_router/go_router.dart'; -import 'package:wyatt_clean_code/presentation/features/counter/counter_page.dart'; -import 'package:wyatt_clean_code/presentation/features/initial/initial_page.dart'; - -abstract class AppRouter { - static Page defaultTransition( - BuildContext context, - GoRouterState state, - Widget child, - ) => - MaterialPage( - key: state.pageKey, - child: child, - ); - - static final List routes = [ - GoRoute( - name: InitialPage.pageName, - path: '/', - pageBuilder: (context, state) => defaultTransition( - context, - state, - const InitialPage(), - ), - ), - GoRoute( - path: '/counter', - name: CounterPage.pageName, - pageBuilder: (context, state) => defaultTransition( - context, - state, - const CounterPage(), - ), - ), - ]; -} diff --git a/apps/wyatt_clean_code/lib/core/usecases/usecase.dart b/apps/wyatt_clean_code/lib/core/usecases/usecase.dart deleted file mode 100644 index 565f51f..0000000 --- a/apps/wyatt_clean_code/lib/core/usecases/usecase.dart +++ /dev/null @@ -1,13 +0,0 @@ -import 'package:equatable/equatable.dart'; -import 'package:wyatt_clean_code/core/errors/exceptions.dart'; -import 'package:wyatt_type_utils/wyatt_type_utils.dart'; - -// ignore: one_member_abstracts -abstract class UseCase { - Future> call(Params params); -} - -class NoParams extends Equatable { - @override - List get props => []; -} diff --git a/apps/wyatt_clean_code/lib/core/utils/app_bloc_observer.dart b/apps/wyatt_clean_code/lib/core/utils/app_bloc_observer.dart deleted file mode 100644 index 9867e6c..0000000 --- a/apps/wyatt_clean_code/lib/core/utils/app_bloc_observer.dart +++ /dev/null @@ -1,56 +0,0 @@ -import 'package:flutter_bloc/flutter_bloc.dart'; -import 'package:logger/logger.dart'; -import 'package:wyatt_clean_code/core/extensions/object_extension.dart'; - -class AppBlocObserver extends BlocObserver { - final bool printEvent; - final bool printError; - final bool printChange; - final bool printTransition; - - final Logger logger = Logger(printer: SimplePrinter()); - - AppBlocObserver({ - this.printEvent = true, - this.printError = true, - this.printTransition = true, - this.printChange = true, - }); - - @override - void onEvent(Bloc bloc, Object? event) { - super.onEvent(bloc, event); - if (printEvent) { - event?.d(wrap: (obj) => 'onEvent $event'); - } - } - - @override - void onError(BlocBase bloc, Object error, StackTrace stackTrace) { - if (printError) { - error.e( - wrap: (obj) => 'onError(${bloc.runtimeType}, $obj, $stackTrace)', - ); - } - super.onError(bloc, error, stackTrace); - } - - @override - void onChange(BlocBase bloc, Change change) { - super.onChange(bloc, change); - if (printChange) { - change.d(wrap: (obj) => 'onChange(${bloc.runtimeType}, $obj)'); - } - } - - @override - void onTransition( - Bloc bloc, - Transition transition, - ) { - super.onTransition(bloc, transition); - if (printTransition) { - transition.d(wrap: (obj) => 'onTransition $obj'); - } - } -} diff --git a/apps/wyatt_clean_code/lib/core/utils/screen_util.dart b/apps/wyatt_clean_code/lib/core/utils/screen_util.dart deleted file mode 100644 index 8f5656a..0000000 --- a/apps/wyatt_clean_code/lib/core/utils/screen_util.dart +++ /dev/null @@ -1,107 +0,0 @@ -import 'dart:ui'; - -class ScreenUtil { - static late ScreenUtil _instance; - static const int defaultWidth = 414; - static const int defaultHeight = 896; - - /// Size of the phone in UI Design ,px - late num uiWidthPx; - late num uiHeightPx; - - /// allowFontScaling Specifies whether fonts should scale to respect Text - /// Size accessibility settings. The default is false. - late bool allowFontScaling; - - static late double _screenWidth; - static late double _screenHeight; - static late double _pixelRatio; - static late double _statusBarHeight; - static late double _bottomBarHeight; - static late double _textScaleFactor; - - factory ScreenUtil() => _instance; - - ScreenUtil._(); - - static void init({ - num width = defaultWidth, - num height = defaultHeight, - bool allowFontScaling = false, - }) { - _instance = ScreenUtil._(); - _instance.uiWidthPx = width; - _instance.uiHeightPx = height; - _instance.allowFontScaling = allowFontScaling; - _pixelRatio = window.devicePixelRatio; - _screenWidth = window.physicalSize.width; - _screenHeight = window.physicalSize.height; - _statusBarHeight = window.padding.top; - _bottomBarHeight = window.padding.bottom; - _textScaleFactor = window.textScaleFactor; - } - - /// The number of font pixels for each logical pixel. - static double get textScaleFactor => _textScaleFactor; - - /// The size of the media in logical pixels (e.g, the size of the screen). - static double get pixelRatio => _pixelRatio; - - /// The horizontal extent of this size. - static double get screenWidth => _screenWidth / _pixelRatio; - - ///The vertical extent of this size. dp - static double get screenHeight => _screenHeight / _pixelRatio; - - /// The vertical extent of this size. px - static double get screenWidthPx => _screenWidth; - - /// The vertical extent of this size. px - static double get screenHeightPx => _screenHeight; - - /// The offset from the top - static double get statusBarHeight => _statusBarHeight / _pixelRatio; - - /// The offset from the top - static double get statusBarHeightPx => _statusBarHeight; - - /// The offset from the bottom. - static double get bottomBarHeight => _bottomBarHeight; - - /// The ratio of the actual dp to the design draft px - double get scaleWidth => screenWidth / uiWidthPx; - - double get scaleHeight => - (_screenHeight - _statusBarHeight - _bottomBarHeight) / uiHeightPx; - - double get scaleText => scaleWidth; - - /// Width function - /// - /// Adapted to the device width of the UI Design. - /// Height can also be adapted according to this to ensure no deformation , - /// if you want a square - double setWidth(num width) => width * scaleWidth; - - /// Height function - /// - /// Highly adaptable to the device according to UI Design - /// It is recommended to use this method to achieve a high degree - /// of adaptation when it is found that one screen in the UI design - /// does not match the current style effect, or if there is a difference - /// in shape. - double setHeight(num height) => height * scaleHeight; - - /// FontSize function - /// - /// [fontSize] The size of the font on the UI design, in px. - /// [allowFontScaling] - double setSp(num fontSize, {bool allowFontScalingSelf = false}) => - allowFontScalingSelf - ? (allowFontScalingSelf - ? (fontSize * scaleText) - : ((fontSize * scaleText) / _textScaleFactor)) - : (allowFontScaling - ? (fontSize * scaleText) - : ((fontSize * scaleText) / _textScaleFactor)); -} diff --git a/apps/wyatt_clean_code/lib/core/utils/wyatt_printer.dart b/apps/wyatt_clean_code/lib/core/utils/wyatt_printer.dart deleted file mode 100644 index 9ceeb38..0000000 --- a/apps/wyatt_clean_code/lib/core/utils/wyatt_printer.dart +++ /dev/null @@ -1,43 +0,0 @@ -import 'dart:convert'; - -import 'package:logger/logger.dart'; - -class WyattPrinter extends LogPrinter { - WyattPrinter({this.colors = true}); - - final bool colors; - - static Logger? _instance; - - /// Returns [Logger] instance or create it if not. - static Logger get({bool colors = true}) { - _instance ??= Logger(printer: WyattPrinter(colors: colors)); - return _instance!; - } - - @override - List log(LogEvent event) { - // final classNameStr = (className != null) ? '$className ' : ''; - final messageStr = _stringifyMessage(event.message); - final errorStr = event.error != null ? 'ERROR: ${event.error}' : ''; - return ['${_labelFor(event.level)} $messageStr$errorStr']; - } - - String _labelFor(Level level) { - final prefix = PrettyPrinter.levelEmojis[level]!; - final color = PrettyPrinter.levelColors[level]!; - - return colors ? color(prefix) : prefix; - } - - String _stringifyMessage(dynamic message) { - // ignore: avoid_dynamic_calls - final finalMessage = message is Function ? message() : message; - if (finalMessage is Map || finalMessage is Iterable) { - const encoder = JsonEncoder.withIndent(null); - return encoder.convert(finalMessage); - } else { - return finalMessage.toString(); - } - } -} diff --git a/apps/wyatt_clean_code/lib/data/data_sources/local/.gitkeep b/apps/wyatt_clean_code/lib/data/data_sources/local/.gitkeep deleted file mode 100644 index f94cb6f..0000000 --- a/apps/wyatt_clean_code/lib/data/data_sources/local/.gitkeep +++ /dev/null @@ -1 +0,0 @@ -# just to keep empty folder in brick generation \ No newline at end of file diff --git a/apps/wyatt_clean_code/lib/data/data_sources/remote/.gitkeep b/apps/wyatt_clean_code/lib/data/data_sources/remote/.gitkeep deleted file mode 100644 index f94cb6f..0000000 --- a/apps/wyatt_clean_code/lib/data/data_sources/remote/.gitkeep +++ /dev/null @@ -1 +0,0 @@ -# just to keep empty folder in brick generation \ No newline at end of file diff --git a/apps/wyatt_clean_code/lib/data/models/.gitkeep b/apps/wyatt_clean_code/lib/data/models/.gitkeep deleted file mode 100644 index f94cb6f..0000000 --- a/apps/wyatt_clean_code/lib/data/models/.gitkeep +++ /dev/null @@ -1 +0,0 @@ -# just to keep empty folder in brick generation \ No newline at end of file diff --git a/apps/wyatt_clean_code/lib/data/repositories/counter_repository_impl.dart b/apps/wyatt_clean_code/lib/data/repositories/counter_repository_impl.dart deleted file mode 100644 index b255175..0000000 --- a/apps/wyatt_clean_code/lib/data/repositories/counter_repository_impl.dart +++ /dev/null @@ -1,24 +0,0 @@ -import 'package:wyatt_clean_code/core/enums/exception_type.dart'; -import 'package:wyatt_clean_code/core/errors/exceptions.dart'; -import 'package:wyatt_clean_code/domain/repositories/counter_repository.dart'; -import 'package:wyatt_type_utils/wyatt_type_utils.dart'; - -class CounterRepositoryImpl implements CounterRepository { - Result _check(int value) => - Result.conditionalLazy( - value >= 0, - () => value, - () => ClientException( - AppExceptionType.assertion, - "Counter can't be negative!", - ), - ); - - @override - Future> decrement(int newState) async => - _check(newState); - - @override - Future> increment(int newState) async => - _check(newState); -} diff --git a/apps/wyatt_clean_code/lib/domain/data_sources/base_data_source.dart b/apps/wyatt_clean_code/lib/domain/data_sources/base_data_source.dart deleted file mode 100644 index 05f1202..0000000 --- a/apps/wyatt_clean_code/lib/domain/data_sources/base_data_source.dart +++ /dev/null @@ -1 +0,0 @@ -abstract class BaseDataSource {} diff --git a/apps/wyatt_clean_code/lib/domain/data_sources/local/base_local_data_source.dart b/apps/wyatt_clean_code/lib/domain/data_sources/local/base_local_data_source.dart deleted file mode 100644 index 175c70b..0000000 --- a/apps/wyatt_clean_code/lib/domain/data_sources/local/base_local_data_source.dart +++ /dev/null @@ -1,3 +0,0 @@ -import 'package:wyatt_clean_code/domain/data_sources/base_data_source.dart'; - -abstract class BaseLocalDataSource extends BaseDataSource {} diff --git a/apps/wyatt_clean_code/lib/domain/data_sources/remote/base_remote_data_source.dart b/apps/wyatt_clean_code/lib/domain/data_sources/remote/base_remote_data_source.dart deleted file mode 100644 index ef4acf0..0000000 --- a/apps/wyatt_clean_code/lib/domain/data_sources/remote/base_remote_data_source.dart +++ /dev/null @@ -1,3 +0,0 @@ -import 'package:wyatt_clean_code/domain/data_sources/base_data_source.dart'; - -abstract class BaseRemoteDataSource extends BaseDataSource {} diff --git a/apps/wyatt_clean_code/lib/domain/entities/.gitkeep b/apps/wyatt_clean_code/lib/domain/entities/.gitkeep deleted file mode 100644 index f94cb6f..0000000 --- a/apps/wyatt_clean_code/lib/domain/entities/.gitkeep +++ /dev/null @@ -1 +0,0 @@ -# just to keep empty folder in brick generation \ No newline at end of file diff --git a/apps/wyatt_clean_code/lib/domain/repositories/base_repository.dart b/apps/wyatt_clean_code/lib/domain/repositories/base_repository.dart deleted file mode 100644 index 2b88f48..0000000 --- a/apps/wyatt_clean_code/lib/domain/repositories/base_repository.dart +++ /dev/null @@ -1 +0,0 @@ -abstract class BaseRepository {} diff --git a/apps/wyatt_clean_code/lib/domain/repositories/counter_repository.dart b/apps/wyatt_clean_code/lib/domain/repositories/counter_repository.dart deleted file mode 100644 index 171e77f..0000000 --- a/apps/wyatt_clean_code/lib/domain/repositories/counter_repository.dart +++ /dev/null @@ -1,8 +0,0 @@ -import 'package:wyatt_clean_code/core/errors/exceptions.dart'; -import 'package:wyatt_clean_code/domain/repositories/base_repository.dart'; -import 'package:wyatt_type_utils/wyatt_type_utils.dart'; - -abstract class CounterRepository extends BaseRepository { - Future> increment(int newState); - Future> decrement(int newState); -} diff --git a/apps/wyatt_clean_code/lib/domain/usecases/counter/decrement_counter.dart b/apps/wyatt_clean_code/lib/domain/usecases/counter/decrement_counter.dart deleted file mode 100644 index b1034b9..0000000 --- a/apps/wyatt_clean_code/lib/domain/usecases/counter/decrement_counter.dart +++ /dev/null @@ -1,16 +0,0 @@ -import 'package:wyatt_clean_code/core/errors/exceptions.dart'; -import 'package:wyatt_clean_code/core/usecases/usecase.dart'; -import 'package:wyatt_clean_code/domain/repositories/counter_repository.dart'; -import 'package:wyatt_type_utils/wyatt_type_utils.dart'; - -class DecrementCounter extends UseCase { - final CounterRepository counterRepository; - - DecrementCounter({ - required this.counterRepository, - }); - - @override - Future> call(int params) async => - counterRepository.decrement(params); -} diff --git a/apps/wyatt_clean_code/lib/domain/usecases/counter/increment_counter.dart b/apps/wyatt_clean_code/lib/domain/usecases/counter/increment_counter.dart deleted file mode 100644 index fd98d08..0000000 --- a/apps/wyatt_clean_code/lib/domain/usecases/counter/increment_counter.dart +++ /dev/null @@ -1,16 +0,0 @@ -import 'package:wyatt_clean_code/core/errors/exceptions.dart'; -import 'package:wyatt_clean_code/core/usecases/usecase.dart'; -import 'package:wyatt_clean_code/domain/repositories/counter_repository.dart'; -import 'package:wyatt_type_utils/wyatt_type_utils.dart'; - -class IncrementCounter extends UseCase { - final CounterRepository counterRepository; - - IncrementCounter({ - required this.counterRepository, - }); - - @override - Future> call(int params) async => - counterRepository.increment(params); -} diff --git a/apps/wyatt_clean_code/lib/gen/assets.gen.dart b/apps/wyatt_clean_code/lib/gen/assets.gen.dart deleted file mode 100644 index 00c169e..0000000 --- a/apps/wyatt_clean_code/lib/gen/assets.gen.dart +++ /dev/null @@ -1,87 +0,0 @@ -/// GENERATED CODE - DO NOT MODIFY BY HAND -/// ***************************************************** -/// FlutterGen -/// ***************************************************** - -// coverage:ignore-file -// ignore_for_file: type=lint -// ignore_for_file: directives_ordering,unnecessary_import - -import 'package:flutter/widgets.dart'; - -class $AssetsImagesGen { - const $AssetsImagesGen(); - - /// File path: assets/images/wyatt-studio-logo.png - AssetGenImage get wyattStudioLogo => - const AssetGenImage('assets/images/wyatt-studio-logo.png'); -} - -class Assets { - Assets._(); - - static const $AssetsImagesGen images = $AssetsImagesGen(); -} - -class AssetGenImage { - const AssetGenImage(this._assetName); - - final String _assetName; - - Image image({ - Key? key, - AssetBundle? bundle, - ImageFrameBuilder? frameBuilder, - ImageErrorWidgetBuilder? errorBuilder, - String? semanticLabel, - bool excludeFromSemantics = false, - double? scale, - double? width, - double? height, - Color? color, - Animation? opacity, - BlendMode? colorBlendMode, - BoxFit? fit, - AlignmentGeometry alignment = Alignment.center, - ImageRepeat repeat = ImageRepeat.noRepeat, - Rect? centerSlice, - bool matchTextDirection = false, - bool gaplessPlayback = false, - bool isAntiAlias = false, - String? package, - FilterQuality filterQuality = FilterQuality.low, - int? cacheWidth, - int? cacheHeight, - }) { - return Image.asset( - _assetName, - key: key, - bundle: bundle, - frameBuilder: frameBuilder, - errorBuilder: errorBuilder, - semanticLabel: semanticLabel, - excludeFromSemantics: excludeFromSemantics, - scale: scale, - width: width, - height: height, - color: color, - opacity: opacity, - colorBlendMode: colorBlendMode, - fit: fit, - alignment: alignment, - repeat: repeat, - centerSlice: centerSlice, - matchTextDirection: matchTextDirection, - gaplessPlayback: gaplessPlayback, - isAntiAlias: isAntiAlias, - package: package, - filterQuality: filterQuality, - cacheWidth: cacheWidth, - cacheHeight: cacheHeight, - ); - } - - String get path => _assetName; - - String get keyName => _assetName; -} diff --git a/apps/wyatt_clean_code/lib/gen/colors.gen.dart b/apps/wyatt_clean_code/lib/gen/colors.gen.dart deleted file mode 100644 index 5693c5c..0000000 --- a/apps/wyatt_clean_code/lib/gen/colors.gen.dart +++ /dev/null @@ -1,195 +0,0 @@ -/// GENERATED CODE - DO NOT MODIFY BY HAND -/// ***************************************************** -/// FlutterGen -/// ***************************************************** - -// coverage:ignore-file -// ignore_for_file: type=lint -// ignore_for_file: directives_ordering,unnecessary_import - -import 'package:flutter/painting.dart'; -import 'package:flutter/material.dart'; - -class ColorName { - ColorName._(); - - /// Color: #FF1B1B1B - static const Color darkBackground = Color(0xFF1B1B1B); - - /// Color: #FFFFB4A9 - static const Color darkError = Color(0xFFFFB4A9); - - /// Color: #FF930006 - static const Color darkErrorContainer = Color(0xFF930006); - - /// Color: #FF0061A6 - static const Color darkInversePrimary = Color(0xFF0061A6); - - /// Color: #FFE2E2E6 - static const Color darkInverseSurface = Color(0xFFE2E2E6); - - /// Color: #FFE2E2E6 - static const Color darkOnBackground = Color(0xFFE2E2E6); - - /// Color: #FF680003 - static const Color darkOnError = Color(0xFF680003); - - /// Color: #FFFFB4A9 - static const Color darkOnErrorContainer = Color(0xFFFFB4A9); - - /// Color: #FF2F3033 - static const Color darkOnInverseSurface = Color(0xFF2F3033); - - /// Color: #FF00325A - static const Color darkOnPrimary = Color(0xFF00325A); - - /// Color: #FFD0E4FF - static const Color darkOnPrimaryContainer = Color(0xFFD0E4FF); - - /// Color: #FF253140 - static const Color darkOnSecondary = Color(0xFF253140); - - /// Color: #FFD6E3F7 - static const Color darkOnSecondaryContainer = Color(0xFFD6E3F7); - - /// Color: #FFE2E2E6 - static const Color darkOnSurface = Color(0xFFE2E2E6); - - /// Color: #FFC3C7D0 - static const Color darkOnSurfaceVariant = Color(0xFFC3C7D0); - - /// Color: #FF8D9199 - static const Color darkOutline = Color(0xFF8D9199); - - /// Color: #FF9CCAFF - static const Color darkPrimary = Color(0xFF9CCAFF); - - /// Color: #FF00497F - static const Color darkPrimaryContainer = Color(0xFF00497F); - - /// Color: #FFBBC8DB - static const Color darkSecondary = Color(0xFFBBC8DB); - - /// Color: #FF3C4858 - static const Color darkSecondaryContainer = Color(0xFF3C4858); - - /// Color: #FF000000 - static const Color darkShadow = Color(0xFF000000); - - /// Color: #FF1B1B1B - static const Color darkSurface = Color(0xFF1B1B1B); - - /// Color: #FF42474E - static const Color darkSurfaceVariant = Color(0xFF42474E); - - /// Color: #FFFDFCFF - static const Color lightBackground = Color(0xFFFDFCFF); - - /// Color: #FFBA1B1B - static const Color lightError = Color(0xFFBA1B1B); - - /// Color: #FFFFDAD4 - static const Color lightErrorContainer = Color(0xFFFFDAD4); - - /// Color: #FF9CCAFF - static const Color lightInversePrimary = Color(0xFF9CCAFF); - - /// Color: #FF2F3033 - static const Color lightInverseSurface = Color(0xFF2F3033); - - /// Color: #FF1B1B1B - static const Color lightOnBackground = Color(0xFF1B1B1B); - - /// Color: #FFFFFFFF - static const Color lightOnError = Color(0xFFFFFFFF); - - /// Color: #FF410001 - static const Color lightOnErrorContainer = Color(0xFF410001); - - /// Color: #FFF1F0F4 - static const Color lightOnInverseSurface = Color(0xFFF1F0F4); - - /// Color: #FFFFFFFF - static const Color lightOnPrimary = Color(0xFFFFFFFF); - - /// Color: #FF001D36 - static const Color lightOnPrimaryContainer = Color(0xFF001D36); - - /// Color: #FFFFFFFF - static const Color lightOnSecondary = Color(0xFFFFFFFF); - - /// Color: #FF101C2B - static const Color lightOnSecondaryContainer = Color(0xFF101C2B); - - /// Color: #FF1B1B1B - static const Color lightOnSurface = Color(0xFF1B1B1B); - - /// Color: #FF42474E - static const Color lightOnSurfaceVariant = Color(0xFF42474E); - - /// Color: #FF73777F - static const Color lightOutline = Color(0xFF73777F); - - /// Color: #FF0061A6 - static const Color lightPrimary = Color(0xFF0061A6); - - /// Color: #FFD0E4FF - static const Color lightPrimaryContainer = Color(0xFFD0E4FF); - - /// Color: #FF535F70 - static const Color lightSecondary = Color(0xFF535F70); - - /// Color: #FFD6E3F7 - static const Color lightSecondaryContainer = Color(0xFFD6E3F7); - - /// Color: #FF000000 - static const Color lightShadow = Color(0xFF000000); - - /// Color: #FFFDFCFF - static const Color lightSurface = Color(0xFFFDFCFF); - - /// Color: #FFDFE2EB - static const Color lightSurfaceVariant = Color(0xFFDFE2EB); - - /// MaterialColor: - /// 50: #FFFFE412FE - /// 100: #FFFFBC2DFB - /// 200: #FFFF904BF9 - /// 300: #FFFF6469F7 - /// 400: #FFFF428075 - /// 500: #FFFF2196F3 - /// 600: #FFFF1DC2114 - /// 700: #FFFF181B382C - /// 800: #FFFF14296C06 - /// 900: #FFFF0B432A01 - static const MaterialColor seedColor = MaterialColor( - 0xFFFF2196F3, - { - 50: Color(0xFFFFE412FE), - 100: Color(0xFFFFBC2DFB), - 200: Color(0xFFFF904BF9), - 300: Color(0xFFFF6469F7), - 400: Color(0xFFFF428075), - 500: Color(0xFFFF2196F3), - 600: Color(0xFFFF1DC2114), - 700: Color(0xFFFF181B382C), - 800: Color(0xFFFF14296C06), - 900: Color(0xFFFF0B432A01), - }, - ); - - /// MaterialAccentColor: - /// 100: #FFFFFFFF - /// 200: #FFFFFFFF - /// 400: #FFFFFFFF - /// 700: #FFFFFFFF - static const MaterialAccentColor seedColorAccent = MaterialAccentColor( - 0xFFFFFFFF, - { - 100: Color(0xFFFFFFFF), - 200: Color(0xFFFFFFFF), - 400: Color(0xFFFFFFFF), - 700: Color(0xFFFFFFFF), - }, - ); -} diff --git a/apps/wyatt_clean_code/lib/main_development.dart b/apps/wyatt_clean_code/lib/main_development.dart deleted file mode 100644 index 8567ad1..0000000 --- a/apps/wyatt_clean_code/lib/main_development.dart +++ /dev/null @@ -1,8 +0,0 @@ -import 'package:wyatt_clean_code/bootstrap.dart'; -import 'package:wyatt_clean_code/core/flavors/flavor_settings.dart'; -import 'package:wyatt_clean_code/presentation/features/app/app.dart'; - -void main(List args) { - FlavorSettings.development(); - bootstrap(App.new); -} diff --git a/apps/wyatt_clean_code/lib/main_production.dart b/apps/wyatt_clean_code/lib/main_production.dart deleted file mode 100644 index f863311..0000000 --- a/apps/wyatt_clean_code/lib/main_production.dart +++ /dev/null @@ -1,8 +0,0 @@ -import 'package:wyatt_clean_code/bootstrap.dart'; -import 'package:wyatt_clean_code/core/flavors/flavor_settings.dart'; -import 'package:wyatt_clean_code/presentation/features/app/app.dart'; - -void main(List args) { - FlavorSettings.production(); - bootstrap(App.new); -} diff --git a/apps/wyatt_clean_code/lib/main_staging.dart b/apps/wyatt_clean_code/lib/main_staging.dart deleted file mode 100644 index d8c2eba..0000000 --- a/apps/wyatt_clean_code/lib/main_staging.dart +++ /dev/null @@ -1,8 +0,0 @@ -import 'package:wyatt_clean_code/bootstrap.dart'; -import 'package:wyatt_clean_code/core/flavors/flavor_settings.dart'; -import 'package:wyatt_clean_code/presentation/features/app/app.dart'; - -void main(List args) { - FlavorSettings.staging(); - bootstrap(App.new); -} diff --git a/apps/wyatt_clean_code/lib/presentation/features/app/app.dart b/apps/wyatt_clean_code/lib/presentation/features/app/app.dart deleted file mode 100644 index bc4e4d2..0000000 --- a/apps/wyatt_clean_code/lib/presentation/features/app/app.dart +++ /dev/null @@ -1,71 +0,0 @@ -import 'package:flutter/foundation.dart'; -import 'package:flutter/material.dart'; -import 'package:flutter_bloc/flutter_bloc.dart'; -import 'package:flutter_localizations/flutter_localizations.dart'; -import 'package:go_router/go_router.dart'; -import 'package:wyatt_clean_code/core/design_system/theme.dart'; -import 'package:wyatt_clean_code/core/extensions/build_context_extension.dart'; -import 'package:wyatt_clean_code/core/flavors/flavor_settings.dart'; -import 'package:wyatt_clean_code/core/routes/router.dart'; -import 'package:wyatt_clean_code/core/utils/screen_util.dart'; -import 'package:wyatt_clean_code/data/repositories/counter_repository_impl.dart'; -import 'package:wyatt_clean_code/domain/repositories/counter_repository.dart'; - -class App extends StatelessWidget { - App({super.key}); - - final GoRouter _router = GoRouter( - initialLocation: '/', - routes: AppRouter.routes, - debugLogDiagnostics: true, - errorBuilder: (_, __) => const ColoredBox( - color: Colors.red, - ), - ); - - Widget _bannerFlavor(Widget child) { - final flavorInstance = FlavorSettings.get(); - if (flavorInstance.displayBanner && !kReleaseMode) { - return Directionality( - textDirection: TextDirection.ltr, - child: Banner( - location: BannerLocation.topEnd, - message: flavorInstance.flavor.short, - color: flavorInstance.flavor.color, - child: child, - ), - ); - } - return child; - } - - @override - Widget build(BuildContext context) { - ScreenUtil.init(); - return MultiRepositoryProvider( - providers: [ - RepositoryProvider( - lazy: true, - create: (context) => CounterRepositoryImpl(), - ), - ], - child: _bannerFlavor( - MaterialApp.router( - title: 'Wyatt Demo', - theme: AppTheme.light, - debugShowCheckedModeBanner: false, - routerDelegate: _router.routerDelegate, - routeInformationParser: _router.routeInformationParser, - routeInformationProvider: _router.routeInformationProvider, - localizationsDelegates: const [ - AppLocalizations.delegate, - GlobalMaterialLocalizations.delegate, - GlobalWidgetsLocalizations.delegate, - GlobalCupertinoLocalizations.delegate, - ], - supportedLocales: AppLocalizations.supportedLocales, - ), - ), - ); - } -} diff --git a/apps/wyatt_clean_code/lib/presentation/features/counter/blocs/counter_cubit.dart b/apps/wyatt_clean_code/lib/presentation/features/counter/blocs/counter_cubit.dart deleted file mode 100644 index 105530f..0000000 --- a/apps/wyatt_clean_code/lib/presentation/features/counter/blocs/counter_cubit.dart +++ /dev/null @@ -1,39 +0,0 @@ -import 'package:flutter_bloc/flutter_bloc.dart'; -import 'package:wyatt_clean_code/domain/usecases/counter/decrement_counter.dart'; -import 'package:wyatt_clean_code/domain/usecases/counter/increment_counter.dart'; - -class CounterCubit extends Cubit { - final IncrementCounter _incrementCounter; - final DecrementCounter _decrementCounter; - - CounterCubit({ - required IncrementCounter incrementCounter, - required DecrementCounter decrementCounter, - }) : _incrementCounter = incrementCounter, - _decrementCounter = decrementCounter, - super(0); - - Future increment({int by = 1}) async { - // Use `.call(...)` to get documentation, but we can - // also directly use `(...)` - final response = await _incrementCounter.call(state + by); - emit( - response.fold( - (value) => value, - (error) => state, - ), - ); - } - - Future decrement({int by = 1}) async { - // Use `.call(...)` to get documentation, but we can - // also directly use `(...)` - final response = await _decrementCounter.call(state - by); - emit( - response.fold( - (value) => value, - (error) => state, - ), - ); - } -} diff --git a/apps/wyatt_clean_code/lib/presentation/features/counter/counter_page.dart b/apps/wyatt_clean_code/lib/presentation/features/counter/counter_page.dart deleted file mode 100644 index 91a3d66..0000000 --- a/apps/wyatt_clean_code/lib/presentation/features/counter/counter_page.dart +++ /dev/null @@ -1,11 +0,0 @@ -import 'package:flutter/material.dart'; -import 'package:wyatt_clean_code/presentation/features/counter/state_management/counter_page_provider.dart'; - -class CounterPage extends StatelessWidget { - const CounterPage({super.key}); - - static const String pageName = 'counter'; - - @override - Widget build(BuildContext context) => const CounterPageProvider(); -} diff --git a/apps/wyatt_clean_code/lib/presentation/features/counter/state_management/counter_page_provider.dart b/apps/wyatt_clean_code/lib/presentation/features/counter/state_management/counter_page_provider.dart deleted file mode 100644 index 0a31844..0000000 --- a/apps/wyatt_clean_code/lib/presentation/features/counter/state_management/counter_page_provider.dart +++ /dev/null @@ -1,31 +0,0 @@ -import 'package:flutter/material.dart'; -import 'package:wyatt_bloc_helper/wyatt_bloc_helper.dart'; -import 'package:wyatt_clean_code/domain/repositories/counter_repository.dart'; -import 'package:wyatt_clean_code/domain/usecases/counter/decrement_counter.dart'; -import 'package:wyatt_clean_code/domain/usecases/counter/increment_counter.dart'; -import 'package:wyatt_clean_code/presentation/features/counter/blocs/counter_cubit.dart'; -import 'package:wyatt_clean_code/presentation/features/counter/state_management/counter_text_consumer.dart'; -import 'package:wyatt_clean_code/presentation/features/counter/widgets/counter_base.dart'; - -class CounterPageProvider extends CubitProviderScreen { - const CounterPageProvider({super.key}); - - @override - CounterCubit create(BuildContext context) => CounterCubit( - decrementCounter: DecrementCounter( - counterRepository: repo(context), - ), - incrementCounter: IncrementCounter( - counterRepository: repo(context), - ), - ); - - @override - Widget builder(BuildContext context) => CounterBase( - fabIncrement: () => bloc(context).increment(), - fabIncrementBy10: () => bloc(context).increment(by: 10), - fabDecrement: () => bloc(context).decrement(), - fabDecrementBy10: () => bloc(context).decrement(by: 10), - child: const CounterTextConsumer(), - ); -} diff --git a/apps/wyatt_clean_code/lib/presentation/features/counter/state_management/counter_text_consumer.dart b/apps/wyatt_clean_code/lib/presentation/features/counter/state_management/counter_text_consumer.dart deleted file mode 100644 index 614916f..0000000 --- a/apps/wyatt_clean_code/lib/presentation/features/counter/state_management/counter_text_consumer.dart +++ /dev/null @@ -1,11 +0,0 @@ -import 'package:flutter/widgets.dart'; -import 'package:wyatt_bloc_helper/wyatt_bloc_helper.dart'; -import 'package:wyatt_clean_code/presentation/features/counter/blocs/counter_cubit.dart'; -import 'package:wyatt_clean_code/presentation/features/counter/widgets/counter_text.dart'; - -class CounterTextConsumer extends CubitConsumerScreen { - const CounterTextConsumer({super.key}); - - @override - Widget onBuild(BuildContext context, int state) => CounterText(count: state); -} diff --git a/apps/wyatt_clean_code/lib/presentation/features/counter/widgets/counter_base.dart b/apps/wyatt_clean_code/lib/presentation/features/counter/widgets/counter_base.dart deleted file mode 100644 index dac58f1..0000000 --- a/apps/wyatt_clean_code/lib/presentation/features/counter/widgets/counter_base.dart +++ /dev/null @@ -1,54 +0,0 @@ -import 'package:flutter/material.dart'; -import 'package:wyatt_clean_code/core/extensions/build_context_extension.dart'; -import 'package:wyatt_clean_code/presentation/shared/layouts/app_default_scaffold.dart'; - -class CounterBase extends StatelessWidget { - const CounterBase({ - required this.child, - this.fabIncrement, - this.fabIncrementBy10, - this.fabDecrement, - this.fabDecrementBy10, - super.key, - }); - - final void Function()? fabIncrement; - final void Function()? fabIncrementBy10; - final void Function()? fabDecrement; - final void Function()? fabDecrementBy10; - - final Widget child; - - @override - Widget build(BuildContext context) => AppDefaultScaffold( - title: Text(context.l10n.counterAppBarTitle), - body: Center( - child: child, - ), - fabChildren: [ - FloatingActionButton( - heroTag: 'increment_tag', - onPressed: fabIncrement, - child: const Icon(Icons.add), - ), - const SizedBox(height: 8), - FloatingActionButton( - heroTag: 'increment_10_tag', - onPressed: fabIncrementBy10, - child: const Text('+10'), - ), - const SizedBox(height: 8), - FloatingActionButton( - heroTag: 'decrement_tag', - onPressed: fabDecrement, - child: const Icon(Icons.remove), - ), - const SizedBox(height: 8), - FloatingActionButton( - heroTag: 'decrement_10_tag', - onPressed: fabDecrementBy10, - child: const Text('-10'), - ), - ], - ); -} diff --git a/apps/wyatt_clean_code/lib/presentation/features/counter/widgets/counter_text.dart b/apps/wyatt_clean_code/lib/presentation/features/counter/widgets/counter_text.dart deleted file mode 100644 index 29c0b9d..0000000 --- a/apps/wyatt_clean_code/lib/presentation/features/counter/widgets/counter_text.dart +++ /dev/null @@ -1,18 +0,0 @@ -import 'package:flutter/material.dart'; -import 'package:wyatt_clean_code/core/extensions/build_context_extension.dart'; - -class CounterText extends StatelessWidget { - const CounterText({ - required this.count, - super.key, - }); - - final int count; - - @override - Widget build(BuildContext context) => Text( - context.l10n.youHavePushed(count), - textAlign: TextAlign.center, - style: Theme.of(context).textTheme.headline3, - ); -} diff --git a/apps/wyatt_clean_code/lib/presentation/features/initial/initial_page.dart b/apps/wyatt_clean_code/lib/presentation/features/initial/initial_page.dart deleted file mode 100644 index 65096ef..0000000 --- a/apps/wyatt_clean_code/lib/presentation/features/initial/initial_page.dart +++ /dev/null @@ -1,32 +0,0 @@ -import 'package:flutter/material.dart'; -import 'package:go_router/go_router.dart'; -import 'package:wyatt_clean_code/core/design_system/sizing.dart'; -import 'package:wyatt_clean_code/core/extensions/build_context_extension.dart'; -import 'package:wyatt_clean_code/core/extensions/num_extension.dart'; -import 'package:wyatt_clean_code/gen/assets.gen.dart'; -import 'package:wyatt_clean_code/presentation/features/counter/counter_page.dart'; -import 'package:wyatt_clean_code/presentation/shared/layouts/app_default_scaffold.dart'; - -class InitialPage extends StatelessWidget { - const InitialPage({super.key}); - - static const String pageName = 'initial'; - - @override - Widget build(BuildContext context) => AppDefaultScaffold( - title: const Text('Wyatt Demo'), - body: Center( - child: Column( - mainAxisAlignment: MainAxisAlignment.center, - children: [ - Assets.images.wyattStudioLogo.image(width: 150.w), - AppSizing.lGap, - ElevatedButton( - child: Text(context.l10n.goToCounter), - onPressed: () => context.pushNamed(CounterPage.pageName), - ), - ], - ), - ), - ); -} diff --git a/apps/wyatt_clean_code/lib/presentation/shared/layouts/app_default_scaffold.dart b/apps/wyatt_clean_code/lib/presentation/shared/layouts/app_default_scaffold.dart deleted file mode 100644 index 1d21aa1..0000000 --- a/apps/wyatt_clean_code/lib/presentation/shared/layouts/app_default_scaffold.dart +++ /dev/null @@ -1,27 +0,0 @@ -import 'package:flutter/material.dart'; - -class AppDefaultScaffold extends StatelessWidget { - const AppDefaultScaffold({ - required this.body, - this.title, - this.fabChildren, - super.key, - }); - - final Widget? title; - final Widget body; - final List? fabChildren; - - @override - Widget build(BuildContext context) => Scaffold( - appBar: AppBar(title: title), - body: body, - floatingActionButton: (fabChildren?.isNotEmpty ?? false) - ? Column( - mainAxisAlignment: MainAxisAlignment.end, - crossAxisAlignment: CrossAxisAlignment.end, - children: fabChildren!, - ) - : null, - ); -} diff --git a/apps/wyatt_clean_code/lib/presentation/shared/state_management/.gitkeep b/apps/wyatt_clean_code/lib/presentation/shared/state_management/.gitkeep deleted file mode 100644 index f94cb6f..0000000 --- a/apps/wyatt_clean_code/lib/presentation/shared/state_management/.gitkeep +++ /dev/null @@ -1 +0,0 @@ -# just to keep empty folder in brick generation \ No newline at end of file diff --git a/apps/wyatt_clean_code/pubspec.yaml b/apps/wyatt_clean_code/pubspec.yaml deleted file mode 100644 index ed40dde..0000000 --- a/apps/wyatt_clean_code/pubspec.yaml +++ /dev/null @@ -1,125 +0,0 @@ -name: wyatt_clean_code -description: A new Flutter project. - -# The following line prevents the package from being accidentally published to -# pub.dev using `flutter pub publish`. This is preferred for private packages. -publish_to: "none" - -# The following defines the version and build number for your application. -# A version number is three numbers separated by dots, like 1.2.43 -# followed by an optional build number separated by a +. -# Both the version and the builder number may be overridden in flutter -# build by specifying --build-name and --build-number, respectively. -# In Android, build-name is used as versionName while build-number used as versionCode. -# Read more about Android versioning at https://developer.android.com/studio/publish/versioning -# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. -# Read more about iOS versioning at -# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html -version: 1.0.0+1 - -environment: - sdk: ">=2.17.0 <3.0.0" - flutter: ">=3.0.0" - -# Dependencies specify other packages that your package needs in order to work. -# To automatically upgrade your package dependencies to the latest versions -# consider running `flutter pub upgrade --major-versions`. Alternatively, -# dependencies can be manually updated by changing the version numbers below to -# the latest version available on pub.dev. To see which dependencies have newer -# versions available, run `flutter pub outdated`. -dependencies: - flutter: - sdk: flutter - flutter_localizations: - sdk: flutter - intl: ^0.17.0 - go_router: ^4.1.1 - equatable: ^2.0.3 - freezed_annotation: ^2.1.0 - json_annotation: ^4.6.0 - cupertino_icons: ^1.0.5 - get_it: ^7.2.0 - logger: ^1.1.0 - gap: ^2.0.0 - flutter_bloc: ^8.0.1 - wyatt_bloc_helper: - git: - url: https://git.wyatt-studio.fr/Wyatt-FOSS/wyatt-packages - ref: bloc/feature/fix_and_repo - path: packages/wyatt_bloc_helper - wyatt_type_utils: - git: - url: https://git.wyatt-studio.fr/Wyatt-FOSS/wyatt-packages - ref: wyatt_type_utils-v0.0.2 - path: packages/wyatt_type_utils - - -dev_dependencies: - flutter_test: - sdk: flutter - - dependency_validator: ^3.2.2 - - build_runner: ^2.2.0 - flutter_gen_runner: ^4.3.0 - freezed: ^2.1.0+1 - json_serializable: ^6.3.1 - - # The "wyatt_analysis" package below contains a set of recommended lints to - # encourage good coding practices. The lint set provided by the package is - # activated in the `analysis_options.yaml` file located at the root of your - # package. See that file for information about deactivating specific lint - # rules and activating additional ones. - wyatt_analysis: - git: - url: https://git.wyatt-studio.fr/Wyatt-FOSS/wyatt-packages - ref: wyatt_analysis-v2.2.1 - path: packages/wyatt_analysis - -# For information on the generic Dart part of this file, see the -# following page: https://dart.dev/tools/pub/pubspec - -# The following secion is specific to FlutterGen -flutter_gen: - colors: - inputs: - - assets/colors.xml - -# The following section is specific to Flutter packages. -flutter: - # The following line ensures that the Material Icons font is - # included with your application, so that you can use the icons in - # the material Icons class. - uses-material-design: true - - generate: true - - # To add assets to your application, add an assets section, like this: - assets: - - assets/images/ - - # An image asset can refer to one or more resolution-specific "variants", see - # https://flutter.dev/assets-and-images/#resolution-aware - - # For details regarding adding assets from package dependencies, see - # https://flutter.dev/assets-and-images/#from-packages - - # To add custom fonts to your application, add a fonts section here, - # in this "flutter" section. Each entry in this list should have a - # "family" key with the font family name, and a "fonts" key with a - # list giving the asset and other descriptors for the font. For - # example: - # fonts: - # - family: Schyler - # fonts: - # - asset: fonts/Schyler-Regular.ttf - # - asset: fonts/Schyler-Italic.ttf - # style: italic - # - family: Trajan Pro - # fonts: - # - asset: fonts/TrajanPro.ttf - # - asset: fonts/TrajanPro_Bold.ttf - # weight: 700 - # - # For details regarding fonts from package dependencies, - # see https://flutter.dev/custom-fonts/#from-packages diff --git a/apps/wyatt_clean_code/web/favicon.png b/apps/wyatt_clean_code/web/favicon.png deleted file mode 100644 index 8aaa46a..0000000 Binary files a/apps/wyatt_clean_code/web/favicon.png and /dev/null differ diff --git a/apps/wyatt_clean_code/web/icons/Icon-192.png b/apps/wyatt_clean_code/web/icons/Icon-192.png deleted file mode 100644 index b749bfe..0000000 Binary files a/apps/wyatt_clean_code/web/icons/Icon-192.png and /dev/null differ diff --git a/apps/wyatt_clean_code/web/icons/Icon-512.png b/apps/wyatt_clean_code/web/icons/Icon-512.png deleted file mode 100644 index 88cfd48..0000000 Binary files a/apps/wyatt_clean_code/web/icons/Icon-512.png and /dev/null differ diff --git a/apps/wyatt_clean_code/web/icons/Icon-maskable-192.png b/apps/wyatt_clean_code/web/icons/Icon-maskable-192.png deleted file mode 100644 index eb9b4d7..0000000 Binary files a/apps/wyatt_clean_code/web/icons/Icon-maskable-192.png and /dev/null differ diff --git a/apps/wyatt_clean_code/web/icons/Icon-maskable-512.png b/apps/wyatt_clean_code/web/icons/Icon-maskable-512.png deleted file mode 100644 index d69c566..0000000 Binary files a/apps/wyatt_clean_code/web/icons/Icon-maskable-512.png and /dev/null differ diff --git a/apps/wyatt_clean_code/web/index.html b/apps/wyatt_clean_code/web/index.html deleted file mode 100644 index c6b51fa..0000000 --- a/apps/wyatt_clean_code/web/index.html +++ /dev/null @@ -1,58 +0,0 @@ - - - - - - - - - - - - - - - - - - - - Wyatt Demo - - - - - - - - - - diff --git a/apps/wyatt_clean_code/web/manifest.json b/apps/wyatt_clean_code/web/manifest.json deleted file mode 100644 index 62f5eb0..0000000 --- a/apps/wyatt_clean_code/web/manifest.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "name": "Wyatt Demo", - "short_name": "Wyatt Demo", - "start_url": ".", - "display": "standalone", - "background_color": "#0175C2", - "theme_color": "#0175C2", - "description": "A new Flutter project.", - "orientation": "portrait-primary", - "prefer_related_applications": false, - "icons": [ - { - "src": "icons/Icon-192.png", - "sizes": "192x192", - "type": "image/png" - }, - { - "src": "icons/Icon-512.png", - "sizes": "512x512", - "type": "image/png" - }, - { - "src": "icons/Icon-maskable-192.png", - "sizes": "192x192", - "type": "image/png", - "purpose": "maskable" - }, - { - "src": "icons/Icon-maskable-512.png", - "sizes": "512x512", - "type": "image/png", - "purpose": "maskable" - } - ] -} diff --git a/bricks/core_app_brick/CHANGELOG.md b/bricks/core_app_brick/CHANGELOG.md deleted file mode 100644 index f5bad08..0000000 --- a/bricks/core_app_brick/CHANGELOG.md +++ /dev/null @@ -1,3 +0,0 @@ -# 0.0.1 - -- Initial release! diff --git a/bricks/core_app_brick/LICENSE b/bricks/core_app_brick/LICENSE deleted file mode 100644 index e72bfdd..0000000 --- a/bricks/core_app_brick/LICENSE +++ /dev/null @@ -1,674 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they -know their rights. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - - Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . - -Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - Copyright (C) - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -. - - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you -may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read -. \ No newline at end of file diff --git a/bricks/core_app_brick/README.md b/bricks/core_app_brick/README.md deleted file mode 100644 index 2349cf1..0000000 --- a/bricks/core_app_brick/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# Core App Brick -Create clean new project from scratch with. - -## Prerequisite -No prerequisites needed. \ No newline at end of file diff --git a/bricks/core_app_brick/__brick__/.gitignore b/bricks/core_app_brick/__brick__/.gitignore deleted file mode 100644 index bd315f7..0000000 --- a/bricks/core_app_brick/__brick__/.gitignore +++ /dev/null @@ -1,127 +0,0 @@ -# Miscellaneous -*.class -*.lock -*.log -*.pyc -*.swp -.DS_Store -.atom/ -.buildlog/ -.history -.svn/ - -# IntelliJ related -*.iml -*.ipr -*.iws -.idea/* - -# Visual Studio Code related -.classpath -.project -.settings/ -.vscode/* - -# Flutter repo-specific -/bin/cache/ -/bin/mingit/ -/dev/benchmarks/mega_gallery/ -/dev/bots/.recipe_deps -/dev/bots/android_tools/ -/dev/docs/doc/ -/dev/docs/flutter.docs.zip -/dev/docs/lib/ -/dev/docs/pubspec.yaml -/dev/integration_tests/**/xcuserdata -/dev/integration_tests/**/Pods -/packages/flutter/coverage/ -version - -# packages file containing multi-root paths -.packages.generated - -# Flutter/Dart/Pub related -**/doc/api/ -**/ios/Flutter/.last_build_id -.dart_tool/ -.flutter-plugins -.flutter-plugins-dependencies -.packages -.pub-cache/ -.pub/ -build/ -flutter_*.png -linked_*.ds -unlinked.ds -unlinked_spec.ds -.fvm/ - -# Android related -**/android/**/gradle-wrapper.jar -**/android/.gradle -**/android/captures/ -**/android/gradlew -**/android/gradlew.bat -**/android/local.properties -**/android/**/GeneratedPluginRegistrant.java -**/android/key.properties -**/android/.idea/ -*.jks - -# iOS/XCode related -**/ios/**/*.mode1v3 -**/ios/**/*.mode2v3 -**/ios/**/*.moved-aside -**/ios/**/*.pbxuser -**/ios/**/*.perspectivev3 -**/ios/**/*sync/ -**/ios/**/.sconsign.dblite -**/ios/**/.tags* -**/ios/**/.vagrant/ -**/ios/**/DerivedData/ -**/ios/**/Icon? -**/ios/**/Pods/ -**/ios/**/.symlinks/ -**/ios/**/profile -**/ios/**/xcuserdata -**/ios/.generated/ -**/ios/Flutter/App.framework -**/ios/Flutter/Flutter.framework -**/ios/Flutter/Flutter.podspec -**/ios/Flutter/Generated.xcconfig -**/ios/Flutter/app.flx -**/ios/Flutter/app.zip -**/ios/Flutter/.last_build_id -**/ios/Flutter/flutter_assets/ -**/ios/Flutter/flutter_export_environment.sh -**/ios/ServiceDefinitions.json -**/ios/Runner/GeneratedPluginRegistrant.* - -# Coverage -coverage/ - -# Submodules -!pubspec.lock -packages/**/pubspec.lock - -# Web related -lib/generated_plugin_registrant.dart - -# Symbolication related -app.*.symbols - -# Obfuscation related -app.*.map.json - -# Exceptions to the above rules. -!**/ios/**/default.mode1v3 -!**/ios/**/default.mode2v3 -!**/ios/**/default.pbxuser -!**/ios/**/default.perspectivev3 -!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages -!/dev/ci/**/Gemfile.lock -!.vscode/extensions.json -!.vscode/launch.json -!.idea/codeStyles/ -!.idea/dictionaries/ -!.idea/runConfigurations/ diff --git a/bricks/core_app_brick/__brick__/.metadata b/bricks/core_app_brick/__brick__/.metadata deleted file mode 100644 index cd984dd..0000000 --- a/bricks/core_app_brick/__brick__/.metadata +++ /dev/null @@ -1,10 +0,0 @@ -# This file tracks properties of this Flutter project. -# Used by Flutter tool to assess capabilities and perform upgrades etc. -# -# This file should be version controlled and should not be manually edited. - -version: - revision: 9b2d32b605630f28625709ebd9d78ab3016b2bf6 - channel: stable - -project_type: app diff --git a/bricks/core_app_brick/__brick__/.vscode/launch.json b/bricks/core_app_brick/__brick__/.vscode/launch.json deleted file mode 100644 index e64da66..0000000 --- a/bricks/core_app_brick/__brick__/.vscode/launch.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - // Use IntelliSense to learn about possible attributes. - // Hover to view descriptions of existing attributes. - // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 - "version": "0.2.0", - "configurations": [ - { - "name": "Launch App", - "request": "launch", - "type": "dart", - "program": "lib/main.dart", - "args": [ - "--target", - "lib/main.dart" - ] - }, - ] -} \ No newline at end of file diff --git a/bricks/core_app_brick/__brick__/LICENSE b/bricks/core_app_brick/__brick__/LICENSE deleted file mode 100644 index e72bfdd..0000000 --- a/bricks/core_app_brick/__brick__/LICENSE +++ /dev/null @@ -1,674 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they -know their rights. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - - Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . - -Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - Copyright (C) - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -. - - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you -may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read -. \ No newline at end of file diff --git a/bricks/core_app_brick/__brick__/Makefile b/bricks/core_app_brick/__brick__/Makefile deleted file mode 100644 index aa65b3e..0000000 --- a/bricks/core_app_brick/__brick__/Makefile +++ /dev/null @@ -1,50 +0,0 @@ -.PHONY: help clean get upgrade format lint intl build_web docker run_debug_web run_release_web - -# Adding a help file: https://gist.github.com/prwhite/8168133#gistcomment-1313022 -help: ## This help dialog. - @IFS=$$'\n' ; \ - help_lines=(`fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//'`); \ - for help_line in $${help_lines[@]}; do \ - IFS=$$'#' ; \ - help_split=($$help_line) ; \ - help_command=`echo $${help_split[0]} | sed -e 's/^ *//' -e 's/ *$$//'` ; \ - help_info=`echo $${help_split[2]} | sed -e 's/^ *//' -e 's/ *$$//'` ; \ - printf "%-30s %s\n" $$help_command $$help_info ; \ - done - -clean: ## Cleans the environment. - @echo "• Cleaning the project..." - @rm -rf pubspec.lock - @flutter clean - -get: ## Gets the dependencies. - @echo "• Getting the dependencies..." - @flutter pub get - -upgrade: clean ## Upgrades dependencies. - @echo "• Upgrading dependencies..." - @flutter pub upgrade - -format: ## Formats the code. - @echo "• Formatting the code" - @dart format . - -lint: ## Lints the code. - @echo "• Verifying code..." - @dart analyze . || (echo "Error in project"; exit 1) - -intl: get ## Generates the intl files. - @echo "• Generating the intl files" - @flutter pub run intl_utils:generate - -build_web: clean ## Builds the web application - @echo "• Building the app" - @flutter build web - -run_debug_web: ## Runs the application in debug mode - @echo "• Running the app (web:debug)" - @flutter run - - - - diff --git a/bricks/core_app_brick/__brick__/README.md b/bricks/core_app_brick/__brick__/README.md deleted file mode 100644 index c37cfbc..0000000 --- a/bricks/core_app_brick/__brick__/README.md +++ /dev/null @@ -1,148 +0,0 @@ -# {{#titleCase}}{{project_name}}{{/titleCase}} - -![coverage][coverage_badge] -[![style: very good analysis][very_good_analysis_badge]][very_good_analysis_link] -[![License: MIT][license_badge]][license_link] - -{{{description}}} - ---- - -## Getting Started 🚀 - -To run the app, either use the launch configuration in VSCode/Android Studio or use the following command: - -```sh -$ flutter run --target lib/main.dart -``` - -_\*{{#titleCase}}{{project_name}}{{/titleCase}} works on iOS, Android, Web, and Windows._ - ---- - -## Running Tests 🧪 - -To run all unit and widget tests use the following command: - -```sh -$ flutter test --coverage --test-randomize-ordering-seed random -``` - -To view the generated coverage report you can use [lcov](https://github.com/linux-test-project/lcov). - -```sh -# Generate Coverage Report -$ genhtml coverage/lcov.info -o coverage/ - -# Open Coverage Report -$ open coverage/index.html -``` - ---- - -## Working with Translations 🌐 - -This project relies on [flutter_localizations][flutter_localizations_link] and follows the [official internationalization guide for Flutter][internationalization_link]. - -### Adding Strings - -1. To add a new localizable string, open the `app_en.arb` file at `lib/l10n/arb/app_en.arb`. - -```arb -{ - "@@locale": "en", - "counterAppBarTitle": "Counter", - "@counterAppBarTitle": { - "description": "Text shown in the AppBar of the Counter Page" - } -} -``` - -2. Then add a new key/value and description - -```arb -{ - "@@locale": "en", - "counterAppBarTitle": "Counter", - "@counterAppBarTitle": { - "description": "Text shown in the AppBar of the Counter Page" - }, - "helloWorld": "Hello World", - "@helloWorld": { - "description": "Hello World Text" - } -} -``` - -3. Use the new string - -```dart -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/l10n/l10n.dart'; - -@override -Widget build(BuildContext context) { - final l10n = context.l10n; - return Text(l10n.helloWorld); -} -``` - -### Adding Supported Locales - -Update the `CFBundleLocalizations` array in the `Info.plist` at `ios/Runner/Info.plist` to include the new locale. - -```xml - ... - - CFBundleLocalizations - - en - es - - - ... -``` - -### Adding Translations - -1. For each supported locale, add a new ARB file in `lib/l10n/arb`. - -``` -├── l10n -│ ├── arb -│ │ ├── app_en.arb -│ │ └── app_es.arb -``` - -2. Add the translated strings to each `.arb` file: - -`app_en.arb` - -```arb -{ - "@@locale": "en", - "counterAppBarTitle": "Counter", - "@counterAppBarTitle": { - "description": "Text shown in the AppBar of the Counter Page" - } -} -``` - -`app_es.arb` - -```arb -{ - "@@locale": "es", - "counterAppBarTitle": "Contador", - "@counterAppBarTitle": { - "description": "Texto mostrado en la AppBar de la página del contador" - } -} -``` - -[coverage_badge]: coverage_badge.svg -[flutter_localizations_link]: https://api.flutter.dev/flutter/flutter_localizations/flutter_localizations-library.html -[internationalization_link]: https://flutter.dev/docs/development/accessibility-and-localization/internationalization -[license_badge]: https://img.shields.io/badge/license-MIT-blue.svg -[license_link]: https://opensource.org/licenses/MIT -[very_good_analysis_badge]: https://img.shields.io/badge/style-very_good_analysis-B22C89.svg -[very_good_analysis_link]: https://pub.dev/packages/very_good_analysis \ No newline at end of file diff --git a/bricks/core_app_brick/__brick__/analysis_options.yaml b/bricks/core_app_brick/__brick__/analysis_options.yaml deleted file mode 100644 index aef5136..0000000 --- a/bricks/core_app_brick/__brick__/analysis_options.yaml +++ /dev/null @@ -1,5 +0,0 @@ -include: package:wyatt_analysis/analysis_options.flutter.experimental.yaml - -analyzer: - strong-mode: - implicit-dynamic: true \ No newline at end of file diff --git a/bricks/core_app_brick/__brick__/assets/l10n/arb/app_fr.arb b/bricks/core_app_brick/__brick__/assets/l10n/arb/app_fr.arb deleted file mode 100644 index a0e2820..0000000 --- a/bricks/core_app_brick/__brick__/assets/l10n/arb/app_fr.arb +++ /dev/null @@ -1,7 +0,0 @@ -{ - "@@locale": "fr_FR", - "counterAppBarTitle": "Compteur", - "@counterAppBarTitle": { - "description": "Texte affiché dans l'AppBar de la page Compteur" - } -} \ No newline at end of file diff --git a/bricks/core_app_brick/__brick__/assets/l10n/l10n.dart b/bricks/core_app_brick/__brick__/assets/l10n/l10n.dart deleted file mode 100644 index 17c891b..0000000 --- a/bricks/core_app_brick/__brick__/assets/l10n/l10n.dart +++ /dev/null @@ -1,8 +0,0 @@ -import 'package:flutter/widgets.dart'; -import 'package:flutter_gen/gen_l10n/app_localizations.dart'; - -export 'package:flutter_gen/gen_l10n/app_localizations.dart'; - -extension AppLocalizationsX on BuildContext { - AppLocalizations get l10n => AppLocalizations.of(this); -} diff --git a/bricks/core_app_brick/__brick__/l10n.yaml b/bricks/core_app_brick/__brick__/l10n.yaml deleted file mode 100644 index e3e8ed1..0000000 --- a/bricks/core_app_brick/__brick__/l10n.yaml +++ /dev/null @@ -1,4 +0,0 @@ -arb-dir: assets/l10n/arb -template-arb-file: app_fr.arb -output-localization-file: app_localizations.dart -nullable-getter: false diff --git a/bricks/core_app_brick/__brick__/lib/app/app.dart b/bricks/core_app_brick/__brick__/lib/app/app.dart deleted file mode 100644 index f23ab3c..0000000 --- a/bricks/core_app_brick/__brick__/lib/app/app.dart +++ /dev/null @@ -1 +0,0 @@ -export 'view/app.dart'; diff --git a/bricks/core_app_brick/__brick__/lib/app/view/app.dart b/bricks/core_app_brick/__brick__/lib/app/view/app.dart deleted file mode 100644 index 3d8ffab..0000000 --- a/bricks/core_app_brick/__brick__/lib/app/view/app.dart +++ /dev/null @@ -1,26 +0,0 @@ -import 'package:flutter/material.dart'; -import 'package:flutter_localizations/flutter_localizations.dart'; -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/counter/counter.dart'; -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/l10n/l10n.dart'; - -class App extends StatelessWidget { - const App({super.key}); - - @override - Widget build(BuildContext context) { - return MaterialApp( - theme: ThemeData( - appBarTheme: const AppBarTheme(color: Color(0xFF13B9FF)), - colorScheme: ColorScheme.fromSwatch( - accentColor: const Color(0xFF13B9FF), - ), - ), - localizationsDelegates: const [ - AppLocalizations.delegate, - GlobalMaterialLocalizations.delegate, - ], - supportedLocales: AppLocalizations.supportedLocales, - home: const CounterPage(), - ); - } -} diff --git a/bricks/core_app_brick/__brick__/lib/bootstrap.dart b/bricks/core_app_brick/__brick__/lib/bootstrap.dart deleted file mode 100644 index c237eea..0000000 --- a/bricks/core_app_brick/__brick__/lib/bootstrap.dart +++ /dev/null @@ -1,35 +0,0 @@ -import 'dart:async'; -import 'dart:developer'; - -import 'package:bloc/bloc.dart'; -import 'package:flutter/widgets.dart'; - -class AppBlocObserver extends BlocObserver { - @override - void onChange(BlocBase bloc, Change change) { - super.onChange(bloc, change); - log('onChange(${bloc.runtimeType}, $change)'); - } - - @override - void onError(BlocBase bloc, Object error, StackTrace stackTrace) { - log('onError(${bloc.runtimeType}, $error, $stackTrace)'); - super.onError(bloc, error, stackTrace); - } -} - -Future bootstrap(FutureOr Function() builder) async { - FlutterError.onError = (details) { - log(details.exceptionAsString(), stackTrace: details.stack); - }; - - await runZonedGuarded( - () async { - await BlocOverrides.runZoned( - () async => runApp(await builder()), - blocObserver: AppBlocObserver(), - ); - }, - (error, stackTrace) => log(error.toString(), stackTrace: stackTrace), - ); -} diff --git a/bricks/core_app_brick/__brick__/lib/counter/counter.dart b/bricks/core_app_brick/__brick__/lib/counter/counter.dart deleted file mode 100644 index cc3f0c5..0000000 --- a/bricks/core_app_brick/__brick__/lib/counter/counter.dart +++ /dev/null @@ -1,2 +0,0 @@ -export 'cubit/counter_cubit.dart'; -export 'view/counter_page.dart'; diff --git a/bricks/core_app_brick/__brick__/lib/counter/cubit/counter_cubit.dart b/bricks/core_app_brick/__brick__/lib/counter/cubit/counter_cubit.dart deleted file mode 100644 index 70bd952..0000000 --- a/bricks/core_app_brick/__brick__/lib/counter/cubit/counter_cubit.dart +++ /dev/null @@ -1,8 +0,0 @@ -import 'package:bloc/bloc.dart'; - -class CounterCubit extends Cubit { - CounterCubit() : super(0); - - void increment() => emit(state + 1); - void decrement() => emit(state - 1); -} diff --git a/bricks/core_app_brick/__brick__/lib/counter/view/counter_page.dart b/bricks/core_app_brick/__brick__/lib/counter/view/counter_page.dart deleted file mode 100644 index ecab7e8..0000000 --- a/bricks/core_app_brick/__brick__/lib/counter/view/counter_page.dart +++ /dev/null @@ -1,55 +0,0 @@ -import 'package:flutter/material.dart'; -import 'package:flutter_bloc/flutter_bloc.dart'; -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/counter/counter.dart'; -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/l10n/l10n.dart'; - -class CounterPage extends StatelessWidget { - const CounterPage({super.key}); - - @override - Widget build(BuildContext context) { - return BlocProvider( - create: (_) => CounterCubit(), - child: const CounterView(), - ); - } -} - -class CounterView extends StatelessWidget { - const CounterView({super.key}); - - @override - Widget build(BuildContext context) { - final l10n = context.l10n; - return Scaffold( - appBar: AppBar(title: Text(l10n.counterAppBarTitle)), - body: const Center(child: CounterText()), - floatingActionButton: Column( - mainAxisAlignment: MainAxisAlignment.end, - crossAxisAlignment: CrossAxisAlignment.end, - children: [ - FloatingActionButton( - onPressed: () => context.read().increment(), - child: const Icon(Icons.add), - ), - const SizedBox(height: 8), - FloatingActionButton( - onPressed: () => context.read().decrement(), - child: const Icon(Icons.remove), - ), - ], - ), - ); - } -} - -class CounterText extends StatelessWidget { - const CounterText({super.key}); - - @override - Widget build(BuildContext context) { - final theme = Theme.of(context); - final count = context.select((CounterCubit cubit) => cubit.state); - return Text('$count', style: theme.textTheme.headline1); - } -} diff --git a/bricks/core_app_brick/__brick__/lib/main.dart b/bricks/core_app_brick/__brick__/lib/main.dart deleted file mode 100644 index 20d544a..0000000 --- a/bricks/core_app_brick/__brick__/lib/main.dart +++ /dev/null @@ -1,6 +0,0 @@ -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/app/app.dart'; -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/bootstrap.dart'; - -void main() { - bootstrap(() => const App()); -} diff --git a/bricks/core_app_brick/__brick__/pubspec.yaml b/bricks/core_app_brick/__brick__/pubspec.yaml deleted file mode 100644 index 761260b..0000000 --- a/bricks/core_app_brick/__brick__/pubspec.yaml +++ /dev/null @@ -1,45 +0,0 @@ -name: {{#snakeCase}}{{project_name}}{{/snakeCase}} -description: {{{description}}} -version: 1.0.0+1 -publish_to: none - -environment: - sdk: ">=2.17.0 <3.0.0" - -dependencies: - bloc: ^8.0.3 - flutter: - sdk: flutter - flutter_bloc: ^8.0.1 - flutter_localizations: - sdk: flutter - intl: ^0.17.0 - - wyatt_bloc_helper: - git: - url: https://git.wyatt-studio.fr/Wyatt-FOSS/wyatt-packages - ref: wyatt_bloc_helper-v1.1.0 - path: packages/wyatt_bloc_helper - -dev_dependencies: - bloc_test: ^9.0.3 - flutter_test: - sdk: flutter - mocktail: ^0.3.0 - intl_utils: ^2.6.1 - dependency_validator: ^3.2.0 - - wyatt_analysis: - git: - url: https://git.wyatt-studio.fr/Wyatt-FOSS/wyatt-packages - ref: wyatt_analysis-v2.1.0 - path: packages/wyatt_analysis - -flutter: - uses-material-design: true - generate: true - -flutter_intl: - enabled: true - main_locale: fr - arb_dir: assets/l10n diff --git a/bricks/core_app_brick/__brick__/test/app/view/app_test.dart b/bricks/core_app_brick/__brick__/test/app/view/app_test.dart deleted file mode 100644 index cba0b88..0000000 --- a/bricks/core_app_brick/__brick__/test/app/view/app_test.dart +++ /dev/null @@ -1,12 +0,0 @@ -import 'package:flutter_test/flutter_test.dart'; -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/app/app.dart'; -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/counter/counter.dart'; - -void main() { - group('App', () { - testWidgets('renders CounterPage', (tester) async { - await tester.pumpWidget(const App()); - expect(find.byType(CounterPage), findsOneWidget); - }); - }); -} diff --git a/bricks/core_app_brick/__brick__/test/counter/cubit/counter_cubit_test.dart b/bricks/core_app_brick/__brick__/test/counter/cubit/counter_cubit_test.dart deleted file mode 100644 index c30bb11..0000000 --- a/bricks/core_app_brick/__brick__/test/counter/cubit/counter_cubit_test.dart +++ /dev/null @@ -1,26 +0,0 @@ -import 'package:bloc_test/bloc_test.dart'; -import 'package:flutter_test/flutter_test.dart'; - -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/counter/counter.dart'; - -void main() { - group('CounterCubit', () { - test('initial state is 0', () { - expect(CounterCubit().state, equals(0)); - }); - - blocTest( - 'emits [1] when increment is called', - build: CounterCubit.new, - act: (cubit) => cubit.increment(), - expect: () => [equals(1)], - ); - - blocTest( - 'emits [-1] when decrement is called', - build: CounterCubit.new, - act: (cubit) => cubit.decrement(), - expect: () => [equals(-1)], - ); - }); -} diff --git a/bricks/core_app_brick/__brick__/test/counter/view/counter_page_test.dart b/bricks/core_app_brick/__brick__/test/counter/view/counter_page_test.dart deleted file mode 100644 index e7c5690..0000000 --- a/bricks/core_app_brick/__brick__/test/counter/view/counter_page_test.dart +++ /dev/null @@ -1,68 +0,0 @@ -import 'package:bloc_test/bloc_test.dart'; -import 'package:flutter/material.dart'; -import 'package:flutter_bloc/flutter_bloc.dart'; -import 'package:flutter_test/flutter_test.dart'; -import 'package:mocktail/mocktail.dart'; - -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/counter/counter.dart'; - -import '../../helpers/helpers.dart'; - -class MockCounterCubit extends MockCubit implements CounterCubit {} - -void main() { - group('CounterPage', () { - testWidgets('renders CounterView', (tester) async { - await tester.pumpApp(const CounterPage()); - expect(find.byType(CounterView), findsOneWidget); - }); - }); - - group('CounterView', () { - late CounterCubit counterCubit; - - setUp(() { - counterCubit = MockCounterCubit(); - }); - - testWidgets('renders current count', (tester) async { - const state = 42; - when(() => counterCubit.state).thenReturn(state); - await tester.pumpApp( - BlocProvider.value( - value: counterCubit, - child: const CounterView(), - ), - ); - expect(find.text('$state'), findsOneWidget); - }); - - testWidgets('calls increment when increment button is tapped', - (tester) async { - when(() => counterCubit.state).thenReturn(0); - when(() => counterCubit.increment()).thenReturn(null); - await tester.pumpApp( - BlocProvider.value( - value: counterCubit, - child: const CounterView(), - ), - ); - await tester.tap(find.byIcon(Icons.add)); - verify(() => counterCubit.increment()).called(1); - }); - - testWidgets('calls decrement when decrement button is tapped', - (tester) async { - when(() => counterCubit.state).thenReturn(0); - when(() => counterCubit.decrement()).thenReturn(null); - await tester.pumpApp( - BlocProvider.value( - value: counterCubit, - child: const CounterView(), - ), - ); - await tester.tap(find.byIcon(Icons.remove)); - verify(() => counterCubit.decrement()).called(1); - }); - }); -} diff --git a/bricks/core_app_brick/__brick__/test/helpers/helpers.dart b/bricks/core_app_brick/__brick__/test/helpers/helpers.dart deleted file mode 100644 index b15fe65..0000000 --- a/bricks/core_app_brick/__brick__/test/helpers/helpers.dart +++ /dev/null @@ -1 +0,0 @@ -export 'pump_app.dart'; diff --git a/bricks/core_app_brick/__brick__/test/helpers/pump_app.dart b/bricks/core_app_brick/__brick__/test/helpers/pump_app.dart deleted file mode 100644 index ca5df63..0000000 --- a/bricks/core_app_brick/__brick__/test/helpers/pump_app.dart +++ /dev/null @@ -1,19 +0,0 @@ -import 'package:flutter/material.dart'; -import 'package:flutter_localizations/flutter_localizations.dart'; -import 'package:flutter_test/flutter_test.dart'; -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/l10n/l10n.dart'; - -extension PumpApp on WidgetTester { - Future pumpApp(Widget widget) { - return pumpWidget( - MaterialApp( - localizationsDelegates: const [ - AppLocalizations.delegate, - GlobalMaterialLocalizations.delegate, - ], - supportedLocales: AppLocalizations.supportedLocales, - home: widget, - ), - ); - } -} diff --git a/bricks/core_app_brick/brick.yaml b/bricks/core_app_brick/brick.yaml deleted file mode 100644 index 8f68ad1..0000000 --- a/bricks/core_app_brick/brick.yaml +++ /dev/null @@ -1,22 +0,0 @@ -name: core_app_brick -description: A fork of the Core Very Good Flutter App without multiple environments. -repository: https://git.wyatt-studio.fr/Wyatt-FOSS/wyatt-bricks -version: 0.0.1 -environment: - mason: any -vars: - project_name: - type: string - description: The project name - default: my_app - prompt: "What is the project name?" - org_name: - type: string - description: The organization name - default: com.example.app - prompt: "What is the organization name?" - description: - type: string - description: A short project description - default: A Pretty Good App - prompt: "What is the project description?" \ No newline at end of file diff --git a/bricks/wyatt_clean_code/CHANGELOG.md b/bricks/wyatt_clean_code/CHANGELOG.md deleted file mode 100644 index f0640d6..0000000 --- a/bricks/wyatt_clean_code/CHANGELOG.md +++ /dev/null @@ -1,3 +0,0 @@ -# 0.1.0+1 - -- TODO: Describe initial release. diff --git a/bricks/wyatt_clean_code/LICENSE b/bricks/wyatt_clean_code/LICENSE deleted file mode 100644 index e72bfdd..0000000 --- a/bricks/wyatt_clean_code/LICENSE +++ /dev/null @@ -1,674 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they -know their rights. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - - Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . - -Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - Copyright (C) - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -. - - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you -may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read -. \ No newline at end of file diff --git a/bricks/wyatt_clean_code/README.md b/bricks/wyatt_clean_code/README.md deleted file mode 100644 index f2f4d3f..0000000 --- a/bricks/wyatt_clean_code/README.md +++ /dev/null @@ -1,89 +0,0 @@ -# Wyatt - Clean Code - -[![Powered by Mason](https://img.shields.io/endpoint?url=https%3A%2F%2Ftinyurl.com%2Fmason-badge)](https://github.com/felangel/mason) - -Create clean new **Flutter** project from scratch following Clean Code Architecture. - -## Usage 🚀 - -```sh -mason make wyatt_clean_code --project_name app --org_name fr.wyattstudio.app --description A new Wyatt Studio project. --platforms=android,ios --features=analysis,localization -``` - -## Variables ✨ - -| variable | description | default | type | -| ------------------ | ---------------------------- | ------- | --------- | -| `project_name` | Project name | app | `string` | -| `org_name` | Organization name | fr.wyattstudio.app | `string` | -| `description` | A short project description | A new Wyatt Studio project. | `string` | -| `platforms` | Supported platforms | [android, ios] | `array` | -| `features` | Enabled features | [analysis, localization] | `array` | - -## Output 📦 - -``` ---project_name app --org_name fr.wyattstudio.app --description A new Wyatt Studio project. --platforms=android,ios,web --features=analysis,localization,router -├── .vscode/ -| ├── launch.json -| └── settings.json -├── android -| └── ... -├── assets -| ├── l10n -| | └── intl_fr.arb -| ├── colors -| | └── dark.xml -| ├── fonts -| └── images -├── ios -| └── ... -├── lib -| ├── core -| | ├── enums -| | ├── errors -| | ├── extensions -| | | └── l10n.dart -| | ├── resources -| | | ├── app_router.dart -| | | └── app_theme.dart -| | └── utils -| | └── app_bloc_observer.dart -| ├── data -| | ├── models -| | ├── providers -| | └── repositories -| ├── domain -| | ├── entities -| | └── repositories -| ├── presentation -| | ├── bloc -| | | └── counter_cubit -| | | └── counter_cubit.dart -| | ├── pages -| | | ├── counter -| | | | ├── widgets -| | | | | └── counter_text.dart -| | | | └── counter_page.dart -| | | └── initial -| | | | └── initial_page.dart -| | └── shared -| | | ├── layouts -| | | ├── state_management -| | | | └── counter_state_management.dart -| | | └── widgets -| ├── app.dart -| ├── main.dart -| └── widget_tree.dart -├── scripts -├── web -| └── ... -├── l10n.yaml -├── Makefile -├── pubspec.yaml -└── analysis_options.yaml -``` - - -## Prerequisite -No prerequisites needed. diff --git a/bricks/wyatt_clean_code/__brick__/.gitignore b/bricks/wyatt_clean_code/__brick__/.gitignore deleted file mode 100644 index a8e938c..0000000 --- a/bricks/wyatt_clean_code/__brick__/.gitignore +++ /dev/null @@ -1,47 +0,0 @@ -# Miscellaneous -*.class -*.log -*.pyc -*.swp -.DS_Store -.atom/ -.buildlog/ -.history -.svn/ -migrate_working_dir/ - -# IntelliJ related -*.iml -*.ipr -*.iws -.idea/ - -# The .vscode folder contains launch configuration and tasks you configure in -# VS Code which you may wish to be included in version control, so this line -# is commented out by default. -#.vscode/ - -# Flutter/Dart/Pub related -**/doc/api/ -**/ios/Flutter/.last_build_id -.dart_tool/ -.flutter-plugins -.flutter-plugins-dependencies -.packages -.pub-cache/ -.pub/ -/build/ - -# Web related -lib/generated_plugin_registrant.dart - -# Symbolication related -app.*.symbols - -# Obfuscation related -app.*.map.json - -# Android Studio will place build artifacts here -/android/app/debug -/android/app/profile -/android/app/release diff --git a/bricks/wyatt_clean_code/__brick__/.metadata b/bricks/wyatt_clean_code/__brick__/.metadata deleted file mode 100644 index 2112298..0000000 --- a/bricks/wyatt_clean_code/__brick__/.metadata +++ /dev/null @@ -1,30 +0,0 @@ -# This file tracks properties of this Flutter project. -# Used by Flutter tool to assess capabilities and perform upgrades etc. -# -# This file should be version controlled. - -version: - revision: f1875d570e39de09040c8f79aa13cc56baab8db1 - channel: stable - -project_type: app - -# Tracks metadata for the flutter migrate command -migration: - platforms: - - platform: root - create_revision: f1875d570e39de09040c8f79aa13cc56baab8db1 - base_revision: f1875d570e39de09040c8f79aa13cc56baab8db1 - - platform: web - create_revision: f1875d570e39de09040c8f79aa13cc56baab8db1 - base_revision: f1875d570e39de09040c8f79aa13cc56baab8db1 - - # User provided section - - # List of Local paths (relative to this file) that should be - # ignored by the migrate tool. - # - # Files that are not part of the templates will be ignored by default. - unmanaged_files: - - 'lib/main.dart' - - 'ios/Runner.xcodeproj/project.pbxproj' diff --git a/bricks/wyatt_clean_code/__brick__/.vscode/launch.json b/bricks/wyatt_clean_code/__brick__/.vscode/launch.json deleted file mode 100644 index 40a2104..0000000 --- a/bricks/wyatt_clean_code/__brick__/.vscode/launch.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - // Use IntelliSense to learn about possible attributes. - // Hover to view descriptions of existing attributes. - // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 - "version": "0.2.0", - "configurations": [ - { - "name": "Launch development", - "request": "launch", - "type": "dart", - "program": "lib/main_development.dart", - "args": [ - "--flavor", - "development", - "--target", - "lib/main_development.dart" - ], - "flutterMode": "debug" - }, - { - "name": "Launch development in profile mode", - "request": "launch", - "type": "dart", - "program": "lib/main_development.dart", - "args": [ - "--flavor", - "development", - "--target", - "lib/main_development.dart" - ], - "flutterMode": "profile" - }, - { - "name": "Launch development in release mode", - "request": "launch", - "type": "dart", - "program": "lib/main_development.dart", - "args": [ - "--flavor", - "development", - "--target", - "lib/main_development.dart" - ], - "flutterMode": "release" - }, - { - "name": "Launch staging", - "request": "launch", - "type": "dart", - "program": "lib/main_staging.dart", - "args": [ - "--flavor", - "staging", - "--target", - "lib/main_staging.dart" - ], - "flutterMode": "debug" - }, - { - "name": "Launch staging in profile mode", - "request": "launch", - "type": "dart", - "program": "lib/main_staging.dart", - "args": [ - "--flavor", - "staging", - "--target", - "lib/main_staging.dart" - ], - "flutterMode": "profile" - }, - { - "name": "Launch staging in release mode", - "request": "launch", - "type": "dart", - "program": "lib/main_staging.dart", - "args": [ - "--flavor", - "staging", - "--target", - "lib/main_staging.dart" - ], - "flutterMode": "release" - }, - { - "name": "Launch production", - "request": "launch", - "type": "dart", - "program": "lib/main_production.dart", - "args": [ - "--flavor", - "production", - "--target", - "lib/main_production.dart" - ], - "flutterMode": "debug" - }, - { - "name": "Launch production in profile mode", - "request": "launch", - "type": "dart", - "program": "lib/main_production.dart", - "args": [ - "--flavor", - "production", - "--target", - "lib/main_production.dart" - ], - "flutterMode": "profile" - }, - { - "name": "Launch production in release mode", - "request": "launch", - "type": "dart", - "program": "lib/main_production.dart", - "args": [ - "--flavor", - "production", - "--target", - "lib/main_production.dart" - ], - "flutterMode": "release" - }, - ] -} \ No newline at end of file diff --git a/bricks/wyatt_clean_code/__brick__/.vscode/settings.json b/bricks/wyatt_clean_code/__brick__/.vscode/settings.json deleted file mode 100644 index fa6f612..0000000 --- a/bricks/wyatt_clean_code/__brick__/.vscode/settings.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "dart.flutterSdkPath": ".fvm/flutter_sdk", - "bloc.newCubitTemplate.type": "equatable", - "psi-header.config": { - "blankLinesAfter": 0, - "forceToTop": true, - }, - "psi-header.templates": [ - { - "language": "*", - "template": [], - // disabled, - } - ], -} \ No newline at end of file diff --git a/bricks/wyatt_clean_code/__brick__/Makefile b/bricks/wyatt_clean_code/__brick__/Makefile deleted file mode 100644 index a9a3ef9..0000000 --- a/bricks/wyatt_clean_code/__brick__/Makefile +++ /dev/null @@ -1,54 +0,0 @@ -.PHONY: help clean get upgrade format lint gen watch run-dev run-stg run-prod - -# Adding a help file: https://gist.github.com/prwhite/8168133#gistcomment-1313022 -help: ## This help dialog. - @IFS=$$'\n' ; \ - help_lines=(`fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//'`); \ - for help_line in $${help_lines[@]}; do \ - IFS=$$'#' ; \ - help_split=($$help_line) ; \ - help_command=`echo $${help_split[0]} | sed -e 's/^ *//' -e 's/ *$$//'` ; \ - help_info=`echo $${help_split[2]} | sed -e 's/^ *//' -e 's/ *$$//'` ; \ - printf "%-30s %s\n" $$help_command $$help_info ; \ - done - -clean: ## Cleans the environment. - @echo "• Cleaning the project..." - @rm -rf pubspec.lock - @flutter clean - -get: ## Gets the dependencies. - @echo "• Getting the dependencies..." - @flutter pub get - -upgrade: clean ## Upgrades dependencies. - @echo "• Upgrading dependencies..." - @flutter pub upgrade - -format: ## Formats the code. - @echo "• Formatting the code" - @dart format . --fix - -lint: ## Lints the code. - @echo "• Verifying code..." - @dart analyze . || (echo "Error in project"; exit 1) - -gen: get ## Run build_runner build (Freezed, Fluttergen, Hive etc...) - @echo "• build_runner build" - @flutter pub run build_runner build - -watch: get ## Run build_runner watch (Freezed, Fluttergen, Hive etc...) - @echo "• build_runner watch" - @flutter pub run build_runner watch - -run-dev: ## Run app in development mode - @echo "• Running the app (development)" - @flutter run --flavor development --target lib/main_development.dart - -run-stg: ## Run app in staging mode - @echo "• Running the app (staging)" - @flutter run --flavor staging --target lib/main_staging.dart - -run-prod: ## Run app in production mode - @echo "• Running the app (production)" - @flutter run --flavor production --target lib/main_production.dart \ No newline at end of file diff --git a/bricks/wyatt_clean_code/__brick__/README.md b/bricks/wyatt_clean_code/__brick__/README.md deleted file mode 100644 index 4136204..0000000 --- a/bricks/wyatt_clean_code/__brick__/README.md +++ /dev/null @@ -1,16 +0,0 @@ -# {{#snakeCase}}{{project_name}}{{/snakeCase}} - -{{{description}}} - -## Getting Started - -This project is a starting point for a Flutter application. - -A few resources to get you started if this is your first Flutter project: - -- [Lab: Write your first Flutter app](https://docs.flutter.dev/get-started/codelab) -- [Cookbook: Useful Flutter samples](https://docs.flutter.dev/cookbook) - -For help getting started with Flutter development, view the -[online documentation](https://docs.flutter.dev/), which offers tutorials, -samples, guidance on mobile development, and a full API reference. diff --git a/bricks/wyatt_clean_code/__brick__/analysis_options.yaml b/bricks/wyatt_clean_code/__brick__/analysis_options.yaml deleted file mode 100644 index 9bdb566..0000000 --- a/bricks/wyatt_clean_code/__brick__/analysis_options.yaml +++ /dev/null @@ -1,35 +0,0 @@ -# This file configures the analyzer, which statically analyzes Dart code to -# check for errors, warnings, and lints. -# -# The issues identified by the analyzer are surfaced in the UI of Dart-enabled -# IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be -# invoked from the command line by running `flutter analyze`. - -# The following line activates a set of recommended lints for Flutter by -# Wyatt Studio, for apps packages, and plugins designed to -# encourage good coding practices. -include: package:wyatt_analysis/analysis_options.flutter.yaml - -analyzer: - exclude: - - '**/*.g.dart' - - '**/*.freezed.dart' - -linter: - # The lint rules applied to this project can be customized in the - # section below to disable rules from the `package:flutter_lints/flutter.yaml` - # included above or to enable additional rules. A list of all available lints - # and their documentation is published at - # https://dart-lang.github.io/linter/lints/index.html. - # - # Instead of disabling a lint rule for the entire project in the - # section below, it can also be suppressed for a single line of code - # or a specific dart file by using the `// ignore: name_of_lint` and - # `// ignore_for_file: name_of_lint` syntax on the line or in the file - # producing the lint. - rules: - # avoid_print: false # Uncomment to disable the `avoid_print` rule - # prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule - -# Additional information about this file can be found at -# https://dart.dev/guides/language/analysis-options diff --git a/bricks/wyatt_clean_code/__brick__/assets/colors.xml b/bricks/wyatt_clean_code/__brick__/assets/colors.xml deleted file mode 100644 index f5e9c9a..0000000 --- a/bricks/wyatt_clean_code/__brick__/assets/colors.xml +++ /dev/null @@ -1,61 +0,0 @@ - - - #FF2196F3 - - #FF0061A6 - #FFFFFFFF - #FFD0E4FF - #FF001D36 - - #FF535F70 - #FFFFFFFF - #FFD6E3F7 - #FF101C2B - - #FFBA1B1B - #FFFFFFFF - #FFFFDAD4 - #FF410001 - - #FFFDFCFF - #FF1B1B1B - #FFFDFCFF - #FF1B1B1B - #FFDFE2EB - #FF42474E - #FF73777F - #FF000000 - - #FF2F3033 - #FFF1F0F4 - #FF9CCAFF - - - #FF9CCAFF - #FF00325A - #FF00497F - #FFD0E4FF - - #FFBBC8DB - #FF253140 - #FF3C4858 - #FFD6E3F7 - - #FFFFB4A9 - #FF680003 - #FF930006 - #FFFFB4A9 - - #FF1B1B1B - #FFE2E2E6 - #FF1B1B1B - #FFE2E2E6 - #FF42474E - #FFC3C7D0 - #FF8D9199 - #FF000000 - - #FFE2E2E6 - #FF2F3033 - #FF0061A6 - \ No newline at end of file diff --git a/bricks/wyatt_clean_code/__brick__/assets/fonts/.gitkeep b/bricks/wyatt_clean_code/__brick__/assets/fonts/.gitkeep deleted file mode 100644 index f94cb6f..0000000 --- a/bricks/wyatt_clean_code/__brick__/assets/fonts/.gitkeep +++ /dev/null @@ -1 +0,0 @@ -# just to keep empty folder in brick generation \ No newline at end of file diff --git a/bricks/wyatt_clean_code/__brick__/assets/images/wyatt-studio-logo.png b/bricks/wyatt_clean_code/__brick__/assets/images/wyatt-studio-logo.png deleted file mode 100644 index 322633e..0000000 Binary files a/bricks/wyatt_clean_code/__brick__/assets/images/wyatt-studio-logo.png and /dev/null differ diff --git a/bricks/wyatt_clean_code/__brick__/assets/l10n/intl_fr.arb b/bricks/wyatt_clean_code/__brick__/assets/l10n/intl_fr.arb deleted file mode 100644 index b95f76d..0000000 --- a/bricks/wyatt_clean_code/__brick__/assets/l10n/intl_fr.arb +++ /dev/null @@ -1,20 +0,0 @@ -{ - "@@locale": "fr", - "counterAppBarTitle": "Compteur", - "@counterAppBarTitle": { - "description": "Texte affiché dans l'AppBar de la page Compteur" - }, - "youHavePushed": "Vous avez appuyé {count} fois sur le bouton !", - "@youHavePushed": { - "description": "Message affiché sur la page compteur", - "placeholders": { - "count": { - "type": "int" - } - } - }, - "goToCounter": "Aller au Compteur", - "@goToCounter": { - "description": "Texte affiché dans le bouton ammenant vers la page Compteur" - } -} \ No newline at end of file diff --git a/bricks/wyatt_clean_code/__brick__/l10n.yaml b/bricks/wyatt_clean_code/__brick__/l10n.yaml deleted file mode 100644 index dcb899b..0000000 --- a/bricks/wyatt_clean_code/__brick__/l10n.yaml +++ /dev/null @@ -1,4 +0,0 @@ -arb-dir: assets/l10n -template-arb-file: intl_fr.arb -output-localization-file: app_localizations.dart -nullable-getter: false diff --git a/bricks/wyatt_clean_code/__brick__/lib/bootstrap.dart b/bricks/wyatt_clean_code/__brick__/lib/bootstrap.dart deleted file mode 100644 index 55dec5e..0000000 --- a/bricks/wyatt_clean_code/__brick__/lib/bootstrap.dart +++ /dev/null @@ -1,46 +0,0 @@ -import 'dart:async'; - -import 'package:flutter/foundation.dart'; -import 'package:flutter/widgets.dart'; -import 'package:flutter_bloc/flutter_bloc.dart'; -import 'package:go_router/go_router.dart'; -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/core/dependency_injection/get_it.dart'; -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/core/flavors/flavor_settings.dart'; -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/core/utils/app_bloc_observer.dart'; -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/core/utils/wyatt_printer.dart'; - -Future bootstrap(FutureOr Function() builder) async { - await runZonedGuarded( - () async { - WidgetsFlutterBinding.ensureInitialized(); - - FlutterError.onError = (details) { - WyattPrinter.get().e( - '', - details, - details.stack, - ); - }; - - FlavorSettings.init(); - GetItInitializer.run(); - - GoRouter.setUrlPathStrategy(UrlPathStrategy.path); - - if (!kReleaseMode) { - final env = FlavorSettings.get(); - WyattPrinter.get().i('Flavor : ${env.flavor.name}'); - } - - await BlocOverrides.runZoned( - () async => runApp(await builder()), - blocObserver: AppBlocObserver(), - ); - }, - (error, stackTrace) => WyattPrinter.get().e( - '', - error, - stackTrace, - ), - ); -} diff --git a/bricks/wyatt_clean_code/__brick__/lib/core/constants/.gitkeep b/bricks/wyatt_clean_code/__brick__/lib/core/constants/.gitkeep deleted file mode 100644 index f94cb6f..0000000 --- a/bricks/wyatt_clean_code/__brick__/lib/core/constants/.gitkeep +++ /dev/null @@ -1 +0,0 @@ -# just to keep empty folder in brick generation \ No newline at end of file diff --git a/bricks/wyatt_clean_code/__brick__/lib/core/dependency_injection/get_it.dart b/bricks/wyatt_clean_code/__brick__/lib/core/dependency_injection/get_it.dart deleted file mode 100644 index 7180ebb..0000000 --- a/bricks/wyatt_clean_code/__brick__/lib/core/dependency_injection/get_it.dart +++ /dev/null @@ -1,15 +0,0 @@ -import 'dart:async'; - -import 'package:get_it/get_it.dart'; - -final getIt = GetIt.I; - -abstract class GetItInitializer { - static Future init() async { - // Here, register data sources - } - - static void run() { - unawaited(init()); - } -} diff --git a/bricks/wyatt_clean_code/__brick__/lib/core/design_system/colors.dart b/bricks/wyatt_clean_code/__brick__/lib/core/design_system/colors.dart deleted file mode 100644 index a4ea53c..0000000 --- a/bricks/wyatt_clean_code/__brick__/lib/core/design_system/colors.dart +++ /dev/null @@ -1,2 +0,0 @@ -/// Generate colors with `flutter pub run build_runner build` -export 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/gen/colors.gen.dart'; diff --git a/bricks/wyatt_clean_code/__brick__/lib/core/design_system/sizing.dart b/bricks/wyatt_clean_code/__brick__/lib/core/design_system/sizing.dart deleted file mode 100644 index 1c4fdc0..0000000 --- a/bricks/wyatt_clean_code/__brick__/lib/core/design_system/sizing.dart +++ /dev/null @@ -1,235 +0,0 @@ -import 'package:flutter/material.dart'; -import 'package:gap/gap.dart'; - -/// Geometric progression. -abstract class AppSizing { - /// Default to 1 - static const double factor = 1; - - /// SizedBox.shrink(); - static const SizedBox empty = SizedBox.shrink(); - - /// xxs = factor * 2 - static const double xxs = factor * 2; - - /// xs = factor * 4 - static const double xs = factor * 4; - - /// s = factor * 8 - static const double s = factor * 8; - - /// m = factor * 16 - static const double m = factor * 16; - - /// l = factor * 32 - static const double l = factor * 32; - - /// xl = factor * 64 - static const double xl = factor * 64; - - /// xxl = factor * 128 - static const double xxl = factor * 128; - - /// xxs = factor * 2 - static const Gap xxsGap = Gap(xxs); - - /// xs = factor * 4 - static const Gap xsGap = Gap(xs); - - /// s = factor * 8 - static const Gap sGap = Gap(s); - - /// m = factor * 16 - static const Gap mGap = Gap(m); - - /// l = factor * 32 - static const Gap lGap = Gap(l); - - /// xl = factor * 64 - static const Gap xlGap = Gap(xl); - - /// xxl = factor * 128 - static const Gap xxlGap = Gap(xxl); - - /// xxs = factor * 2 - static const Radius xxsRadius = Radius.circular(xxs); - - /// xs = factor * 4 - static const Radius xsRadius = Radius.circular(xs); - - /// s = factor * 8 - static const Radius sRadius = Radius.circular(s); - - /// m = factor * 16 - static const Radius mRadius = Radius.circular(m); - - /// l = factor * 32 - static const Radius lRadius = Radius.circular(l); - - /// xl = factor * 64 - static const Radius xlRadius = Radius.circular(xl); - - /// xxl = factor * 128 - static const Radius xxlRadius = Radius.circular(xxl); - - /// xxs = factor * 2 - /// - /// A square inset offers indents content on all four sides. - /// - /// *e.g [EdgeInsets.all(value)]* - static const EdgeInsets xxsSquareInset = EdgeInsets.all(xxs); - - /// xs = factor * 4 - /// - /// A square inset offers indents content on all four sides. - /// - /// *e.g [EdgeInsets.all(value)]* - static const EdgeInsets xsSquareInset = EdgeInsets.all(xs); - - /// s = factor * 8 - /// - /// A square inset offers indents content on all four sides. - /// - /// *e.g [EdgeInsets.all(value)]* - static const EdgeInsets sSquareInset = EdgeInsets.all(s); - - /// m = factor * 16 - /// - /// A square inset offers indents content on all four sides. - /// - /// *e.g [EdgeInsets.all(value)]* - static const EdgeInsets mSquareInset = EdgeInsets.all(m); - - /// l = factor * 32 - /// - /// A square inset offers indents content on all four sides. - /// - /// *e.g [EdgeInsets.all(value)]* - static const EdgeInsets lSquareInset = EdgeInsets.all(l); - - /// xl = factor * 64 - /// - /// A square inset offers indents content on all four sides. - /// - /// *e.g [EdgeInsets.all(value)]* - static const EdgeInsets xlSquareInset = EdgeInsets.all(xl); - - /// xxl = factor * 128 - /// - /// A square inset offers indents content on all four sides. - /// - /// *e.g [EdgeInsets.all(value)]* - static const EdgeInsets xxlSquareInset = EdgeInsets.all(xxl); - - /// xxs = factor * 2 - /// - /// A squished inset reduces space top and bottom by 50%. - /// - /// *e.g [EdgeInsets.symmetric(horizontal: value, vertical: value / 2)]* - static const EdgeInsets xxsSquishInset = - EdgeInsets.symmetric(horizontal: xxs, vertical: xxs / 2); - - /// xs = factor * 4 - /// - /// A squished inset reduces space top and bottom by 50%. - /// - /// *e.g [EdgeInsets.symmetric(horizontal: value, vertical: value / 2)]* - static const EdgeInsets xsSquishInset = - EdgeInsets.symmetric(horizontal: xs, vertical: xs / 2); - - /// s = factor * 8 - /// - /// A squished inset reduces space top and bottom by 50%. - /// - /// *e.g [EdgeInsets.symmetric(horizontal: value, vertical: value / 2)]* - static const EdgeInsets sSquishInset = - EdgeInsets.symmetric(horizontal: s, vertical: s / 2); - - /// m = factor * 16 - /// - /// A squished inset reduces space top and bottom by 50%. - /// - /// *e.g [EdgeInsets.symmetric(horizontal: value, vertical: value / 2)]* - static const EdgeInsets mSquishInset = - EdgeInsets.symmetric(horizontal: m, vertical: m / 2); - - /// l = factor * 32 - /// - /// A squished inset reduces space top and bottom by 50%. - /// - /// *e.g [EdgeInsets.symmetric(horizontal: value, vertical: value / 2)]* - static const EdgeInsets lSquishInset = - EdgeInsets.symmetric(horizontal: l, vertical: l / 2); - - /// xl = factor * 64 - /// - /// A squished inset reduces space top and bottom by 50%. - /// - /// *e.g [EdgeInsets.symmetric(horizontal: value, vertical: value / 2)]* - static const EdgeInsets xlSquishInset = - EdgeInsets.symmetric(horizontal: xl, vertical: xl / 2); - - /// xxl = factor * 128 - /// - /// A squished inset reduces space top and bottom by 50%. - /// - /// *e.g [EdgeInsets.symmetric(horizontal: value, vertical: value / 2)]* - static const EdgeInsets xxlSquishInset = - EdgeInsets.symmetric(horizontal: xxl, vertical: xxl / 2); - - /// xxs = factor * 2 - /// - /// A stretched inset reduces space left and right by 50%. - /// - /// *e.g [EdgeInsets.symmetric(vertical: value, horizontal: value / 2)]* - static const EdgeInsets xxsStretchInset = - EdgeInsets.symmetric(vertical: xxs, horizontal: xxs / 2); - - /// xs = factor * 4 - /// - /// A stretched inset reduces space left and right by 50%. - /// - /// *e.g [EdgeInsets.symmetric(vertical: value, horizontal: value / 2)]* - static const EdgeInsets xsStretchInset = - EdgeInsets.symmetric(vertical: xs, horizontal: xs / 2); - - /// s = factor * 8 - /// - /// A stretched inset reduces space left and right by 50%. - /// - /// *e.g [EdgeInsets.symmetric(vertical: value, horizontal: value / 2)]* - static const EdgeInsets sStretchInset = - EdgeInsets.symmetric(vertical: s, horizontal: s / 2); - - /// m = factor * 16 - /// - /// A stretched inset reduces space left and right by 50%. - /// - /// *e.g [EdgeInsets.symmetric(vertical: value, horizontal: value / 2)]* - static const EdgeInsets mStretchInset = - EdgeInsets.symmetric(vertical: m, horizontal: m / 2); - - /// l = factor * 32 - /// - /// A stretched inset reduces space left and right by 50%. - /// - /// *e.g [EdgeInsets.symmetric(vertical: value, horizontal: value / 2)]* - static const EdgeInsets lStretchInset = - EdgeInsets.symmetric(vertical: l, horizontal: l / 2); - - /// xl = factor * 64 - /// - /// A stretched inset reduces space left and right by 50%. - /// - /// *e.g [EdgeInsets.symmetric(vertical: value, horizontal: value / 2)]* - static const EdgeInsets xlStretchInset = - EdgeInsets.symmetric(vertical: xl, horizontal: xl / 2); - - /// xxl = factor * 128 - /// - /// A stretched inset reduces space left and right by 50%. - /// - /// *e.g [EdgeInsets.symmetric(vertical: value, horizontal: value / 2)]* - static const EdgeInsets xxlStretchInset = - EdgeInsets.symmetric(vertical: xxl, horizontal: xxl / 2); -} diff --git a/bricks/wyatt_clean_code/__brick__/lib/core/design_system/theme.dart b/bricks/wyatt_clean_code/__brick__/lib/core/design_system/theme.dart deleted file mode 100644 index 4903272..0000000 --- a/bricks/wyatt_clean_code/__brick__/lib/core/design_system/theme.dart +++ /dev/null @@ -1,240 +0,0 @@ -import 'package:flutter/material.dart'; -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/core/design_system/colors.dart'; -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/core/design_system/typography.dart'; - -const _smallTextScaleFactor = 0.80; -const _largeTextScaleFactor = 1.20; - -/// Namespace for the [ThemeData]. -class AppTheme { - /// Light `ThemeData` for UI. - static ThemeData get light => ThemeData( - colorScheme: ColorScheme.fromSwatch( - primarySwatch: ColorName.seedColor, - accentColor: ColorName.seedColorAccent, - cardColor: ColorName.lightBackground, - backgroundColor: ColorName.lightBackground, - errorColor: ColorName.lightError, - ), - appBarTheme: _appBarLightTheme, - elevatedButtonTheme: _elevatedButtonLightTheme, - outlinedButtonTheme: _outlinedButtonLightTheme, - textTheme: _textTheme(), - dialogTheme: _dialogLightTheme, - tooltipTheme: _tooltipLightTheme, - bottomSheetTheme: _bottomSheetLightTheme, - tabBarTheme: _tabBarLightTheme, - dividerTheme: _dividerLightTheme, - backgroundColor: ColorName.lightBackground, - ); - - /// dark `ThemeData` for UI. - static ThemeData get dark => ThemeData( - colorScheme: ColorScheme.fromSwatch( - primarySwatch: ColorName.seedColor, - accentColor: ColorName.darkSecondary, - cardColor: ColorName.darkBackground, - backgroundColor: ColorName.darkBackground, - errorColor: ColorName.darkError, - brightness: Brightness.dark, - ), - appBarTheme: _appBarDarkTheme, - elevatedButtonTheme: _elevatedButtonDarkTheme, - outlinedButtonTheme: _outlinedButtonDarkTheme, - textTheme: _textTheme(isDark: true), - dialogTheme: _dialogDarkTheme, - tooltipTheme: _tooltipDarkTheme, - bottomSheetTheme: _bottomSheetDarkTheme, - tabBarTheme: _tabBarDarkTheme, - dividerTheme: _dividerDarkTheme, - backgroundColor: ColorName.darkBackground, - canvasColor: ColorName.darkBackground, - ); - - /// `ThemeData` for UI for small screens. - static ThemeData get lightSmall => - light.copyWith(textTheme: _smallTextTheme()); - - /// `ThemeData` for UI for medium screens. - static ThemeData get lightMedium => - light.copyWith(textTheme: _smallTextTheme()); - - /// `ThemeData` for UI for large screens. - static ThemeData get lightLarge => - light.copyWith(textTheme: _largeTextTheme()); - - /// `ThemeData` for UI for small screens. - static ThemeData get darkSmall => - dark.copyWith(textTheme: _smallTextTheme(isDark: true)); - - /// `ThemeData` for UI for medium screens. - static ThemeData get darkMedium => - dark.copyWith(textTheme: _smallTextTheme(isDark: true)); - - /// `ThemeData` for UI for large screens. - static ThemeData get darkLarge => - dark.copyWith(textTheme: _largeTextTheme(isDark: true)); - - static TextTheme _textTheme({bool isDark = false}) => TextTheme( - headline1: AppTypography.headline1, - headline2: AppTypography.headline2, - headline3: AppTypography.headline3, - headline4: AppTypography.headline4, - headline5: AppTypography.headline5, - headline6: AppTypography.headline6, - subtitle1: AppTypography.subtitle1, - subtitle2: AppTypography.subtitle2, - bodyText1: AppTypography.bodyText1, - bodyText2: AppTypography.bodyText2, - caption: AppTypography.caption, - overline: AppTypography.overline, - button: AppTypography.button, - ).apply( - bodyColor: - isDark ? ColorName.darkOnBackground : ColorName.lightOnBackground, - displayColor: - isDark ? ColorName.darkOnBackground : ColorName.lightOnBackground, - ); - - static TextTheme _smallTextTheme({bool isDark = false}) => - _textTheme(isDark: isDark).apply(fontSizeFactor: _smallTextScaleFactor); - - static TextTheme _largeTextTheme({bool isDark = false}) => - _textTheme(isDark: isDark).apply(fontSizeFactor: _largeTextScaleFactor); - - static AppBarTheme get _appBarLightTheme => - const AppBarTheme(color: ColorName.lightPrimary); - - static AppBarTheme get _appBarDarkTheme => - const AppBarTheme(color: ColorName.darkSurfaceVariant); - - static ElevatedButtonThemeData get _elevatedButtonLightTheme => - ElevatedButtonThemeData( - style: ElevatedButton.styleFrom( - elevation: 0, - shape: const RoundedRectangleBorder( - borderRadius: BorderRadius.all(Radius.circular(30)), - ), - primary: ColorName.lightPrimary, - fixedSize: const Size(208, 54), - ), - ); - - static ElevatedButtonThemeData get _elevatedButtonDarkTheme => - ElevatedButtonThemeData( - style: ElevatedButton.styleFrom( - elevation: 0, - shape: const RoundedRectangleBorder( - borderRadius: BorderRadius.all(Radius.circular(30)), - ), - primary: ColorName.darkPrimary, - fixedSize: const Size(208, 54), - ), - ); - - static OutlinedButtonThemeData get _outlinedButtonLightTheme => - OutlinedButtonThemeData( - style: OutlinedButton.styleFrom( - shape: const RoundedRectangleBorder( - borderRadius: BorderRadius.all(Radius.circular(30)), - ), - side: const BorderSide(color: ColorName.lightOutline, width: 2), - primary: ColorName.lightPrimary, - fixedSize: const Size(208, 54), - ), - ); - - static OutlinedButtonThemeData get _outlinedButtonDarkTheme => - OutlinedButtonThemeData( - style: OutlinedButton.styleFrom( - shape: const RoundedRectangleBorder( - borderRadius: BorderRadius.all(Radius.circular(30)), - ), - side: const BorderSide(color: ColorName.darkOutline, width: 2), - primary: ColorName.darkPrimary, - fixedSize: const Size(208, 54), - ), - ); - - static TooltipThemeData get _tooltipLightTheme => const TooltipThemeData( - decoration: BoxDecoration( - color: ColorName.lightInverseSurface, - borderRadius: BorderRadius.all(Radius.circular(5)), - ), - padding: EdgeInsets.all(10), - textStyle: TextStyle(color: ColorName.lightOnInverseSurface), - ); - - static TooltipThemeData get _tooltipDarkTheme => const TooltipThemeData( - decoration: BoxDecoration( - color: ColorName.darkInverseSurface, - borderRadius: BorderRadius.all(Radius.circular(5)), - ), - padding: EdgeInsets.all(10), - textStyle: TextStyle(color: ColorName.darkOnInverseSurface), - ); - - static DialogTheme get _dialogLightTheme => DialogTheme( - shape: RoundedRectangleBorder( - borderRadius: BorderRadius.circular(12), - ), - ); - - static DialogTheme get _dialogDarkTheme => DialogTheme( - shape: RoundedRectangleBorder( - borderRadius: BorderRadius.circular(12), - ), - ); - - static BottomSheetThemeData get _bottomSheetLightTheme => - const BottomSheetThemeData( - backgroundColor: ColorName.lightBackground, - shape: RoundedRectangleBorder( - borderRadius: BorderRadius.vertical(top: Radius.circular(12)), - ), - ); - - static BottomSheetThemeData get _bottomSheetDarkTheme => - const BottomSheetThemeData( - backgroundColor: ColorName.darkBackground, - shape: RoundedRectangleBorder( - borderRadius: BorderRadius.vertical(top: Radius.circular(12)), - ), - ); - - static TabBarTheme get _tabBarLightTheme => const TabBarTheme( - indicator: UnderlineTabIndicator( - borderSide: BorderSide( - width: 2, - color: ColorName.lightPrimary, - ), - ), - labelColor: ColorName.lightPrimary, - unselectedLabelColor: ColorName.lightOutline, - indicatorSize: TabBarIndicatorSize.tab, - ); - - static TabBarTheme get _tabBarDarkTheme => const TabBarTheme( - indicator: UnderlineTabIndicator( - borderSide: BorderSide( - width: 2, - color: ColorName.darkPrimary, - ), - ), - labelColor: ColorName.darkPrimary, - unselectedLabelColor: ColorName.darkOutline, - indicatorSize: TabBarIndicatorSize.tab, - ); - - static DividerThemeData get _dividerLightTheme => const DividerThemeData( - space: 0, - thickness: 1, - color: ColorName.lightOutline, - ); - - static DividerThemeData get _dividerDarkTheme => const DividerThemeData( - space: 0, - thickness: 1, - color: ColorName.darkOutline, - ); -} diff --git a/bricks/wyatt_clean_code/__brick__/lib/core/design_system/typography.dart b/bricks/wyatt_clean_code/__brick__/lib/core/design_system/typography.dart deleted file mode 100644 index ce1b241..0000000 --- a/bricks/wyatt_clean_code/__brick__/lib/core/design_system/typography.dart +++ /dev/null @@ -1,115 +0,0 @@ -import 'package:flutter/material.dart'; - -abstract class AppFontWeight { - /// FontWeight value of `w900` - static const FontWeight black = FontWeight.w900; - - /// FontWeight value of `w800` - static const FontWeight extraBold = FontWeight.w800; - - /// FontWeight value of `w700` - static const FontWeight bold = FontWeight.w700; - - /// FontWeight value of `w600` - static const FontWeight semiBold = FontWeight.w600; - - /// FontWeight value of `w500` - static const FontWeight medium = FontWeight.w500; - - /// FontWeight value of `w400` - static const FontWeight regular = FontWeight.w400; - - /// FontWeight value of `w300` - static const FontWeight light = FontWeight.w300; - - /// FontWeight value of `w200` - static const FontWeight extraLight = FontWeight.w200; - - /// FontWeight value of `w100` - static const FontWeight thin = FontWeight.w100; -} - -class AppTypography { - static const TextStyle _base = TextStyle( - color: Colors.black, - fontWeight: AppFontWeight.regular, - ); - - /// Headline 1 Text Style - static TextStyle get headline1 => _base.copyWith( - fontSize: 56, - fontWeight: AppFontWeight.medium, - ); - - /// Headline 2 Text Style - static TextStyle get headline2 => _base.copyWith( - fontSize: 30, - fontWeight: AppFontWeight.regular, - ); - - /// Headline 3 Text Style - static TextStyle get headline3 => _base.copyWith( - fontSize: 28, - fontWeight: AppFontWeight.regular, - ); - - /// Headline 4 Text Style - static TextStyle get headline4 => _base.copyWith( - fontSize: 22, - fontWeight: AppFontWeight.bold, - ); - - /// Headline 5 Text Style - static TextStyle get headline5 => _base.copyWith( - fontSize: 20, - fontWeight: AppFontWeight.medium, - ); - - /// Headline 6 Text Style - static TextStyle get headline6 => _base.copyWith( - fontSize: 22, - fontWeight: AppFontWeight.bold, - ); - - /// Subtitle 1 Text Style - static TextStyle get subtitle1 => _base.copyWith( - fontSize: 16, - fontWeight: AppFontWeight.bold, - ); - - /// Subtitle 2 Text Style - static TextStyle get subtitle2 => _base.copyWith( - fontSize: 14, - fontWeight: AppFontWeight.bold, - ); - - /// Body Text 1 Text Style - static TextStyle get bodyText1 => _base.copyWith( - fontSize: 18, - fontWeight: AppFontWeight.medium, - ); - - /// Body Text 2 Text Style (the default) - static TextStyle get bodyText2 => _base.copyWith( - fontSize: 16, - fontWeight: AppFontWeight.regular, - ); - - /// Caption Text Style - static TextStyle get caption => _base.copyWith( - fontSize: 14, - fontWeight: AppFontWeight.regular, - ); - - /// Overline Text Style - static TextStyle get overline => _base.copyWith( - fontSize: 16, - fontWeight: AppFontWeight.regular, - ); - - /// Button Text Style - static TextStyle get button => _base.copyWith( - fontSize: 18, - fontWeight: AppFontWeight.medium, - ); -} diff --git a/bricks/wyatt_clean_code/__brick__/lib/core/enums/exception_type.dart b/bricks/wyatt_clean_code/__brick__/lib/core/enums/exception_type.dart deleted file mode 100644 index decb960..0000000 --- a/bricks/wyatt_clean_code/__brick__/lib/core/enums/exception_type.dart +++ /dev/null @@ -1,7 +0,0 @@ -enum AppExceptionType { - network, - api, - database, - cache, - assertion, -} diff --git a/bricks/wyatt_clean_code/__brick__/lib/core/enums/flavor.dart b/bricks/wyatt_clean_code/__brick__/lib/core/enums/flavor.dart deleted file mode 100644 index 2cec6bb..0000000 --- a/bricks/wyatt_clean_code/__brick__/lib/core/enums/flavor.dart +++ /dev/null @@ -1,12 +0,0 @@ -import 'package:flutter/material.dart'; - -enum Flavor { - development('dev', Colors.red), - staging('stg', Colors.blue), - production('prod', Colors.green); - - final String short; - final Color color; - - const Flavor(this.short, this.color); -} diff --git a/bricks/wyatt_clean_code/__brick__/lib/core/errors/exceptions.dart b/bricks/wyatt_clean_code/__brick__/lib/core/errors/exceptions.dart deleted file mode 100644 index edda147..0000000 --- a/bricks/wyatt_clean_code/__brick__/lib/core/errors/exceptions.dart +++ /dev/null @@ -1,29 +0,0 @@ -import 'package:equatable/equatable.dart'; -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/core/enums/exception_type.dart'; - -abstract class AppException extends Equatable implements Exception { - final String message; - final AppExceptionType type; - - AppException(this.type, [String? message]) : message = message ?? type.name; - - @override - List get props => [message, type]; - - @override - String toString() => message; -} - -class ClientException extends AppException { - ClientException(super.type, [super.message]); - - @override - String toString() => 'ClientException: ${super.toString()}'; -} - -class ServerException extends AppException { - ServerException(super.type, [super.message]); - - @override - String toString() => 'ServerException: ${super.toString()}'; -} diff --git a/bricks/wyatt_clean_code/__brick__/lib/core/extensions/build_context_extension.dart b/bricks/wyatt_clean_code/__brick__/lib/core/extensions/build_context_extension.dart deleted file mode 100644 index df68dfe..0000000 --- a/bricks/wyatt_clean_code/__brick__/lib/core/extensions/build_context_extension.dart +++ /dev/null @@ -1,8 +0,0 @@ -import 'package:flutter/widgets.dart'; -import 'package:flutter_gen/gen_l10n/app_localizations.dart'; - -export 'package:flutter_gen/gen_l10n/app_localizations.dart'; - -extension BuildContextX on BuildContext { - AppLocalizations get l10n => AppLocalizations.of(this); -} diff --git a/bricks/wyatt_clean_code/__brick__/lib/core/extensions/num_extension.dart b/bricks/wyatt_clean_code/__brick__/lib/core/extensions/num_extension.dart deleted file mode 100644 index 5bf9b90..0000000 --- a/bricks/wyatt_clean_code/__brick__/lib/core/extensions/num_extension.dart +++ /dev/null @@ -1,9 +0,0 @@ -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/core/utils/screen_util.dart'; - -extension NumX on num { - double get w => ScreenUtil().setWidth(this); - - double get h => ScreenUtil().setHeight(this); - - double get sp => ScreenUtil().setSp(this); -} diff --git a/bricks/wyatt_clean_code/__brick__/lib/core/extensions/object_extension.dart b/bricks/wyatt_clean_code/__brick__/lib/core/extensions/object_extension.dart deleted file mode 100644 index 5d1be48..0000000 --- a/bricks/wyatt_clean_code/__brick__/lib/core/extensions/object_extension.dart +++ /dev/null @@ -1,32 +0,0 @@ -import 'package:logger/logger.dart'; -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/core/utils/wyatt_printer.dart'; - -extension ObjectX on Object { - void log({Level level = Level.debug, String Function(Object obj)? wrap}) { - final msg = wrap != null ? wrap(this) : this; - WyattPrinter.get().log(level, msg); - } - - /// Log a message at level [Level.verbose]. - void v({String Function(Object obj)? wrap}) => - log(level: Level.verbose, wrap: wrap); - - /// Log a message at level [Level.debug]. - void d({String Function(Object obj)? wrap}) => log(wrap: wrap); - - /// Log a message at level [Level.info]. - void i({String Function(Object obj)? wrap}) => - log(level: Level.info, wrap: wrap); - - /// Log a message at level [Level.warning]. - void w({String Function(Object obj)? wrap}) => - log(level: Level.warning, wrap: wrap); - - /// Log a message at level [Level.error]. - void e({String Function(Object obj)? wrap}) => - log(level: Level.error, wrap: wrap); - - /// Log a message at level [Level.wtf]. - void wtf({String Function(Object obj)? wrap}) => - log(level: Level.wtf, wrap: wrap); -} diff --git a/bricks/wyatt_clean_code/__brick__/lib/core/flavors/flavor_settings.dart b/bricks/wyatt_clean_code/__brick__/lib/core/flavors/flavor_settings.dart deleted file mode 100644 index f1a9e1c..0000000 --- a/bricks/wyatt_clean_code/__brick__/lib/core/flavors/flavor_settings.dart +++ /dev/null @@ -1,64 +0,0 @@ -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/core/enums/flavor.dart'; - -class FlavorSettings { - static FlavorSettings? _instance; - - final Flavor flavor; - - // Per flavor settings - String apiKey = ''; - - /// Banner are not display in release mode, whatever this value - bool displayBanner = true; - - FlavorSettings._(this.flavor); - - factory FlavorSettings.development() { - _instance ??= FlavorSettings._(Flavor.development); - if (_instance!.flavor != Flavor.development) { - throw Exception('Flavor already initialized in: ${_instance!.flavor}'); - } - return _instance!; - } - - factory FlavorSettings.staging() { - _instance ??= FlavorSettings._(Flavor.staging); - if (_instance!.flavor != Flavor.staging) { - throw Exception('Flavor already initialized in: ${_instance!.flavor}'); - } - return _instance!; - } - - factory FlavorSettings.production() { - _instance ??= FlavorSettings._(Flavor.production); - if (_instance!.flavor != Flavor.production) { - throw Exception('Flavor already initialized in: ${_instance!.flavor}'); - } - return _instance!; - } - - /// Returns initialized [FlavorSettings], may throw if not initialized. - static FlavorSettings get() { - if (_instance == null) { - throw Exception('Flavor not initialized!'); - } - return _instance!; - } - - /// To call after `WidgetsFlutterBinding.ensureInitialized()` - /// - /// Here you can config all the settings attributes. - static void init() { - switch (get().flavor) { - case Flavor.development: - _instance!.apiKey = 'example-dev'; - break; - case Flavor.staging: - _instance!.apiKey = 'example-stg'; - break; - case Flavor.production: - _instance!.apiKey = 'example-prod'; - break; - } - } -} diff --git a/bricks/wyatt_clean_code/__brick__/lib/core/mixins/local_data_source.dart b/bricks/wyatt_clean_code/__brick__/lib/core/mixins/local_data_source.dart deleted file mode 100644 index ea9f71b..0000000 --- a/bricks/wyatt_clean_code/__brick__/lib/core/mixins/local_data_source.dart +++ /dev/null @@ -1,6 +0,0 @@ -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/domain/data_sources/local/base_local_data_source.dart'; - -mixin LocalDataSource { - /// Offline data source, for debug or cache - Local get localDataSource; -} diff --git a/bricks/wyatt_clean_code/__brick__/lib/core/mixins/remote_data_source.dart b/bricks/wyatt_clean_code/__brick__/lib/core/mixins/remote_data_source.dart deleted file mode 100644 index dad8ccd..0000000 --- a/bricks/wyatt_clean_code/__brick__/lib/core/mixins/remote_data_source.dart +++ /dev/null @@ -1,6 +0,0 @@ -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/domain/data_sources/remote/base_remote_data_source.dart'; - -mixin RemoteDataSource { - /// Online data source, to provide data through API - Remote get remoteDataSource; -} diff --git a/bricks/wyatt_clean_code/__brick__/lib/core/routes/router.dart b/bricks/wyatt_clean_code/__brick__/lib/core/routes/router.dart deleted file mode 100644 index 0cb4ac6..0000000 --- a/bricks/wyatt_clean_code/__brick__/lib/core/routes/router.dart +++ /dev/null @@ -1,37 +0,0 @@ -import 'package:flutter/material.dart'; -import 'package:go_router/go_router.dart'; -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/presentation/features/counter/counter_page.dart'; -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/presentation/features/initial/initial_page.dart'; - -abstract class AppRouter { - static Page defaultTransition( - BuildContext context, - GoRouterState state, - Widget child, - ) => - MaterialPage( - key: state.pageKey, - child: child, - ); - - static final List routes = [ - GoRoute( - path: '/', - name: InitialPage.pageName, - pageBuilder: (context, state) => defaultTransition( - context, - state, - const InitialPage(), - ), - ), - GoRoute( - path: '/counter', - name: CounterPage.pageName, - pageBuilder: (context, state) => defaultTransition( - context, - state, - const CounterPage(), - ), - ), - ]; -} diff --git a/bricks/wyatt_clean_code/__brick__/lib/core/usecases/usecase.dart b/bricks/wyatt_clean_code/__brick__/lib/core/usecases/usecase.dart deleted file mode 100644 index 4dd8ab6..0000000 --- a/bricks/wyatt_clean_code/__brick__/lib/core/usecases/usecase.dart +++ /dev/null @@ -1,13 +0,0 @@ -import 'package:equatable/equatable.dart'; -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/core/errors/exceptions.dart'; -import 'package:wyatt_type_utils/wyatt_type_utils.dart'; - -// ignore: one_member_abstracts -abstract class UseCase { - Future> call(Params params); -} - -class NoParams extends Equatable { - @override - List get props => []; -} diff --git a/bricks/wyatt_clean_code/__brick__/lib/core/utils/app_bloc_observer.dart b/bricks/wyatt_clean_code/__brick__/lib/core/utils/app_bloc_observer.dart deleted file mode 100644 index 5680f35..0000000 --- a/bricks/wyatt_clean_code/__brick__/lib/core/utils/app_bloc_observer.dart +++ /dev/null @@ -1,56 +0,0 @@ -import 'package:flutter_bloc/flutter_bloc.dart'; -import 'package:logger/logger.dart'; -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/core/extensions/object_extension.dart'; - -class AppBlocObserver extends BlocObserver { - final bool printEvent; - final bool printError; - final bool printChange; - final bool printTransition; - - final Logger logger = Logger(printer: SimplePrinter()); - - AppBlocObserver({ - this.printEvent = true, - this.printError = true, - this.printTransition = true, - this.printChange = true, - }); - - @override - void onEvent(Bloc bloc, Object? event) { - super.onEvent(bloc, event); - if (printEvent) { - event?.d(wrap: (obj) => 'onEvent $event'); - } - } - - @override - void onError(BlocBase bloc, Object error, StackTrace stackTrace) { - if (printError) { - error.e( - wrap: (obj) => 'onError(${bloc.runtimeType}, $obj, $stackTrace)', - ); - } - super.onError(bloc, error, stackTrace); - } - - @override - void onChange(BlocBase bloc, Change change) { - super.onChange(bloc, change); - if (printChange) { - change.d(wrap: (obj) => 'onChange(${bloc.runtimeType}, $obj)'); - } - } - - @override - void onTransition( - Bloc bloc, - Transition transition, - ) { - super.onTransition(bloc, transition); - if (printTransition) { - transition.d(wrap: (obj) => 'onTransition $obj'); - } - } -} diff --git a/bricks/wyatt_clean_code/__brick__/lib/core/utils/screen_util.dart b/bricks/wyatt_clean_code/__brick__/lib/core/utils/screen_util.dart deleted file mode 100644 index 8f5656a..0000000 --- a/bricks/wyatt_clean_code/__brick__/lib/core/utils/screen_util.dart +++ /dev/null @@ -1,107 +0,0 @@ -import 'dart:ui'; - -class ScreenUtil { - static late ScreenUtil _instance; - static const int defaultWidth = 414; - static const int defaultHeight = 896; - - /// Size of the phone in UI Design ,px - late num uiWidthPx; - late num uiHeightPx; - - /// allowFontScaling Specifies whether fonts should scale to respect Text - /// Size accessibility settings. The default is false. - late bool allowFontScaling; - - static late double _screenWidth; - static late double _screenHeight; - static late double _pixelRatio; - static late double _statusBarHeight; - static late double _bottomBarHeight; - static late double _textScaleFactor; - - factory ScreenUtil() => _instance; - - ScreenUtil._(); - - static void init({ - num width = defaultWidth, - num height = defaultHeight, - bool allowFontScaling = false, - }) { - _instance = ScreenUtil._(); - _instance.uiWidthPx = width; - _instance.uiHeightPx = height; - _instance.allowFontScaling = allowFontScaling; - _pixelRatio = window.devicePixelRatio; - _screenWidth = window.physicalSize.width; - _screenHeight = window.physicalSize.height; - _statusBarHeight = window.padding.top; - _bottomBarHeight = window.padding.bottom; - _textScaleFactor = window.textScaleFactor; - } - - /// The number of font pixels for each logical pixel. - static double get textScaleFactor => _textScaleFactor; - - /// The size of the media in logical pixels (e.g, the size of the screen). - static double get pixelRatio => _pixelRatio; - - /// The horizontal extent of this size. - static double get screenWidth => _screenWidth / _pixelRatio; - - ///The vertical extent of this size. dp - static double get screenHeight => _screenHeight / _pixelRatio; - - /// The vertical extent of this size. px - static double get screenWidthPx => _screenWidth; - - /// The vertical extent of this size. px - static double get screenHeightPx => _screenHeight; - - /// The offset from the top - static double get statusBarHeight => _statusBarHeight / _pixelRatio; - - /// The offset from the top - static double get statusBarHeightPx => _statusBarHeight; - - /// The offset from the bottom. - static double get bottomBarHeight => _bottomBarHeight; - - /// The ratio of the actual dp to the design draft px - double get scaleWidth => screenWidth / uiWidthPx; - - double get scaleHeight => - (_screenHeight - _statusBarHeight - _bottomBarHeight) / uiHeightPx; - - double get scaleText => scaleWidth; - - /// Width function - /// - /// Adapted to the device width of the UI Design. - /// Height can also be adapted according to this to ensure no deformation , - /// if you want a square - double setWidth(num width) => width * scaleWidth; - - /// Height function - /// - /// Highly adaptable to the device according to UI Design - /// It is recommended to use this method to achieve a high degree - /// of adaptation when it is found that one screen in the UI design - /// does not match the current style effect, or if there is a difference - /// in shape. - double setHeight(num height) => height * scaleHeight; - - /// FontSize function - /// - /// [fontSize] The size of the font on the UI design, in px. - /// [allowFontScaling] - double setSp(num fontSize, {bool allowFontScalingSelf = false}) => - allowFontScalingSelf - ? (allowFontScalingSelf - ? (fontSize * scaleText) - : ((fontSize * scaleText) / _textScaleFactor)) - : (allowFontScaling - ? (fontSize * scaleText) - : ((fontSize * scaleText) / _textScaleFactor)); -} diff --git a/bricks/wyatt_clean_code/__brick__/lib/core/utils/wyatt_printer.dart b/bricks/wyatt_clean_code/__brick__/lib/core/utils/wyatt_printer.dart deleted file mode 100644 index 9ceeb38..0000000 --- a/bricks/wyatt_clean_code/__brick__/lib/core/utils/wyatt_printer.dart +++ /dev/null @@ -1,43 +0,0 @@ -import 'dart:convert'; - -import 'package:logger/logger.dart'; - -class WyattPrinter extends LogPrinter { - WyattPrinter({this.colors = true}); - - final bool colors; - - static Logger? _instance; - - /// Returns [Logger] instance or create it if not. - static Logger get({bool colors = true}) { - _instance ??= Logger(printer: WyattPrinter(colors: colors)); - return _instance!; - } - - @override - List log(LogEvent event) { - // final classNameStr = (className != null) ? '$className ' : ''; - final messageStr = _stringifyMessage(event.message); - final errorStr = event.error != null ? 'ERROR: ${event.error}' : ''; - return ['${_labelFor(event.level)} $messageStr$errorStr']; - } - - String _labelFor(Level level) { - final prefix = PrettyPrinter.levelEmojis[level]!; - final color = PrettyPrinter.levelColors[level]!; - - return colors ? color(prefix) : prefix; - } - - String _stringifyMessage(dynamic message) { - // ignore: avoid_dynamic_calls - final finalMessage = message is Function ? message() : message; - if (finalMessage is Map || finalMessage is Iterable) { - const encoder = JsonEncoder.withIndent(null); - return encoder.convert(finalMessage); - } else { - return finalMessage.toString(); - } - } -} diff --git a/bricks/wyatt_clean_code/__brick__/lib/data/data_sources/local/.gitkeep b/bricks/wyatt_clean_code/__brick__/lib/data/data_sources/local/.gitkeep deleted file mode 100644 index f94cb6f..0000000 --- a/bricks/wyatt_clean_code/__brick__/lib/data/data_sources/local/.gitkeep +++ /dev/null @@ -1 +0,0 @@ -# just to keep empty folder in brick generation \ No newline at end of file diff --git a/bricks/wyatt_clean_code/__brick__/lib/data/data_sources/remote/.gitkeep b/bricks/wyatt_clean_code/__brick__/lib/data/data_sources/remote/.gitkeep deleted file mode 100644 index f94cb6f..0000000 --- a/bricks/wyatt_clean_code/__brick__/lib/data/data_sources/remote/.gitkeep +++ /dev/null @@ -1 +0,0 @@ -# just to keep empty folder in brick generation \ No newline at end of file diff --git a/bricks/wyatt_clean_code/__brick__/lib/data/models/.gitkeep b/bricks/wyatt_clean_code/__brick__/lib/data/models/.gitkeep deleted file mode 100644 index f94cb6f..0000000 --- a/bricks/wyatt_clean_code/__brick__/lib/data/models/.gitkeep +++ /dev/null @@ -1 +0,0 @@ -# just to keep empty folder in brick generation \ No newline at end of file diff --git a/bricks/wyatt_clean_code/__brick__/lib/data/repositories/counter_repository_impl.dart b/bricks/wyatt_clean_code/__brick__/lib/data/repositories/counter_repository_impl.dart deleted file mode 100644 index d6a5453..0000000 --- a/bricks/wyatt_clean_code/__brick__/lib/data/repositories/counter_repository_impl.dart +++ /dev/null @@ -1,24 +0,0 @@ -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/core/enums/exception_type.dart'; -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/core/errors/exceptions.dart'; -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/domain/repositories/counter_repository.dart'; -import 'package:wyatt_type_utils/wyatt_type_utils.dart'; - -class CounterRepositoryImpl implements CounterRepository { - Result _check(int value) => - Result.conditionalLazy( - value >= 0, - () => value, - () => ClientException( - AppExceptionType.assertion, - "Counter can't be negative!", - ), - ); - - @override - Future> decrement(int newState) async => - _check(newState); - - @override - Future> increment(int newState) async => - _check(newState); -} diff --git a/bricks/wyatt_clean_code/__brick__/lib/domain/data_sources/base_data_source.dart b/bricks/wyatt_clean_code/__brick__/lib/domain/data_sources/base_data_source.dart deleted file mode 100644 index 05f1202..0000000 --- a/bricks/wyatt_clean_code/__brick__/lib/domain/data_sources/base_data_source.dart +++ /dev/null @@ -1 +0,0 @@ -abstract class BaseDataSource {} diff --git a/bricks/wyatt_clean_code/__brick__/lib/domain/data_sources/local/base_local_data_source.dart b/bricks/wyatt_clean_code/__brick__/lib/domain/data_sources/local/base_local_data_source.dart deleted file mode 100644 index 05473f8..0000000 --- a/bricks/wyatt_clean_code/__brick__/lib/domain/data_sources/local/base_local_data_source.dart +++ /dev/null @@ -1,3 +0,0 @@ -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/domain/data_sources/base_data_source.dart'; - -abstract class BaseLocalDataSource extends BaseDataSource {} diff --git a/bricks/wyatt_clean_code/__brick__/lib/domain/data_sources/remote/base_remote_data_source.dart b/bricks/wyatt_clean_code/__brick__/lib/domain/data_sources/remote/base_remote_data_source.dart deleted file mode 100644 index ffb2f05..0000000 --- a/bricks/wyatt_clean_code/__brick__/lib/domain/data_sources/remote/base_remote_data_source.dart +++ /dev/null @@ -1,3 +0,0 @@ -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/domain/data_sources/base_data_source.dart'; - -abstract class BaseRemoteDataSource extends BaseDataSource {} diff --git a/bricks/wyatt_clean_code/__brick__/lib/domain/entities/.gitkeep b/bricks/wyatt_clean_code/__brick__/lib/domain/entities/.gitkeep deleted file mode 100644 index f94cb6f..0000000 --- a/bricks/wyatt_clean_code/__brick__/lib/domain/entities/.gitkeep +++ /dev/null @@ -1 +0,0 @@ -# just to keep empty folder in brick generation \ No newline at end of file diff --git a/bricks/wyatt_clean_code/__brick__/lib/domain/repositories/base_repository.dart b/bricks/wyatt_clean_code/__brick__/lib/domain/repositories/base_repository.dart deleted file mode 100644 index 2b88f48..0000000 --- a/bricks/wyatt_clean_code/__brick__/lib/domain/repositories/base_repository.dart +++ /dev/null @@ -1 +0,0 @@ -abstract class BaseRepository {} diff --git a/bricks/wyatt_clean_code/__brick__/lib/domain/repositories/counter_repository.dart b/bricks/wyatt_clean_code/__brick__/lib/domain/repositories/counter_repository.dart deleted file mode 100644 index 1db2339..0000000 --- a/bricks/wyatt_clean_code/__brick__/lib/domain/repositories/counter_repository.dart +++ /dev/null @@ -1,8 +0,0 @@ -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/core/errors/exceptions.dart'; -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/domain/repositories/base_repository.dart'; -import 'package:wyatt_type_utils/wyatt_type_utils.dart'; - -abstract class CounterRepository extends BaseRepository { - Future> increment(int newState); - Future> decrement(int newState); -} diff --git a/bricks/wyatt_clean_code/__brick__/lib/domain/usecases/counter/decrement_counter.dart b/bricks/wyatt_clean_code/__brick__/lib/domain/usecases/counter/decrement_counter.dart deleted file mode 100644 index 4a625d7..0000000 --- a/bricks/wyatt_clean_code/__brick__/lib/domain/usecases/counter/decrement_counter.dart +++ /dev/null @@ -1,16 +0,0 @@ -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/core/errors/exceptions.dart'; -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/core/usecases/usecase.dart'; -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/domain/repositories/counter_repository.dart'; -import 'package:wyatt_type_utils/wyatt_type_utils.dart'; - -class DecrementCounter extends UseCase { - final CounterRepository counterRepository; - - DecrementCounter({ - required this.counterRepository, - }); - - @override - Future> call(int params) async => - counterRepository.decrement(params); -} diff --git a/bricks/wyatt_clean_code/__brick__/lib/domain/usecases/counter/increment_counter.dart b/bricks/wyatt_clean_code/__brick__/lib/domain/usecases/counter/increment_counter.dart deleted file mode 100644 index 862eed8..0000000 --- a/bricks/wyatt_clean_code/__brick__/lib/domain/usecases/counter/increment_counter.dart +++ /dev/null @@ -1,16 +0,0 @@ -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/core/errors/exceptions.dart'; -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/core/usecases/usecase.dart'; -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/domain/repositories/counter_repository.dart'; -import 'package:wyatt_type_utils/wyatt_type_utils.dart'; - -class IncrementCounter extends UseCase { - final CounterRepository counterRepository; - - IncrementCounter({ - required this.counterRepository, - }); - - @override - Future> call(int params) async => - counterRepository.increment(params); -} diff --git a/bricks/wyatt_clean_code/__brick__/lib/gen/assets.gen.dart b/bricks/wyatt_clean_code/__brick__/lib/gen/assets.gen.dart deleted file mode 100644 index 00c169e..0000000 --- a/bricks/wyatt_clean_code/__brick__/lib/gen/assets.gen.dart +++ /dev/null @@ -1,87 +0,0 @@ -/// GENERATED CODE - DO NOT MODIFY BY HAND -/// ***************************************************** -/// FlutterGen -/// ***************************************************** - -// coverage:ignore-file -// ignore_for_file: type=lint -// ignore_for_file: directives_ordering,unnecessary_import - -import 'package:flutter/widgets.dart'; - -class $AssetsImagesGen { - const $AssetsImagesGen(); - - /// File path: assets/images/wyatt-studio-logo.png - AssetGenImage get wyattStudioLogo => - const AssetGenImage('assets/images/wyatt-studio-logo.png'); -} - -class Assets { - Assets._(); - - static const $AssetsImagesGen images = $AssetsImagesGen(); -} - -class AssetGenImage { - const AssetGenImage(this._assetName); - - final String _assetName; - - Image image({ - Key? key, - AssetBundle? bundle, - ImageFrameBuilder? frameBuilder, - ImageErrorWidgetBuilder? errorBuilder, - String? semanticLabel, - bool excludeFromSemantics = false, - double? scale, - double? width, - double? height, - Color? color, - Animation? opacity, - BlendMode? colorBlendMode, - BoxFit? fit, - AlignmentGeometry alignment = Alignment.center, - ImageRepeat repeat = ImageRepeat.noRepeat, - Rect? centerSlice, - bool matchTextDirection = false, - bool gaplessPlayback = false, - bool isAntiAlias = false, - String? package, - FilterQuality filterQuality = FilterQuality.low, - int? cacheWidth, - int? cacheHeight, - }) { - return Image.asset( - _assetName, - key: key, - bundle: bundle, - frameBuilder: frameBuilder, - errorBuilder: errorBuilder, - semanticLabel: semanticLabel, - excludeFromSemantics: excludeFromSemantics, - scale: scale, - width: width, - height: height, - color: color, - opacity: opacity, - colorBlendMode: colorBlendMode, - fit: fit, - alignment: alignment, - repeat: repeat, - centerSlice: centerSlice, - matchTextDirection: matchTextDirection, - gaplessPlayback: gaplessPlayback, - isAntiAlias: isAntiAlias, - package: package, - filterQuality: filterQuality, - cacheWidth: cacheWidth, - cacheHeight: cacheHeight, - ); - } - - String get path => _assetName; - - String get keyName => _assetName; -} diff --git a/bricks/wyatt_clean_code/__brick__/lib/gen/colors.gen.dart b/bricks/wyatt_clean_code/__brick__/lib/gen/colors.gen.dart deleted file mode 100644 index 5693c5c..0000000 --- a/bricks/wyatt_clean_code/__brick__/lib/gen/colors.gen.dart +++ /dev/null @@ -1,195 +0,0 @@ -/// GENERATED CODE - DO NOT MODIFY BY HAND -/// ***************************************************** -/// FlutterGen -/// ***************************************************** - -// coverage:ignore-file -// ignore_for_file: type=lint -// ignore_for_file: directives_ordering,unnecessary_import - -import 'package:flutter/painting.dart'; -import 'package:flutter/material.dart'; - -class ColorName { - ColorName._(); - - /// Color: #FF1B1B1B - static const Color darkBackground = Color(0xFF1B1B1B); - - /// Color: #FFFFB4A9 - static const Color darkError = Color(0xFFFFB4A9); - - /// Color: #FF930006 - static const Color darkErrorContainer = Color(0xFF930006); - - /// Color: #FF0061A6 - static const Color darkInversePrimary = Color(0xFF0061A6); - - /// Color: #FFE2E2E6 - static const Color darkInverseSurface = Color(0xFFE2E2E6); - - /// Color: #FFE2E2E6 - static const Color darkOnBackground = Color(0xFFE2E2E6); - - /// Color: #FF680003 - static const Color darkOnError = Color(0xFF680003); - - /// Color: #FFFFB4A9 - static const Color darkOnErrorContainer = Color(0xFFFFB4A9); - - /// Color: #FF2F3033 - static const Color darkOnInverseSurface = Color(0xFF2F3033); - - /// Color: #FF00325A - static const Color darkOnPrimary = Color(0xFF00325A); - - /// Color: #FFD0E4FF - static const Color darkOnPrimaryContainer = Color(0xFFD0E4FF); - - /// Color: #FF253140 - static const Color darkOnSecondary = Color(0xFF253140); - - /// Color: #FFD6E3F7 - static const Color darkOnSecondaryContainer = Color(0xFFD6E3F7); - - /// Color: #FFE2E2E6 - static const Color darkOnSurface = Color(0xFFE2E2E6); - - /// Color: #FFC3C7D0 - static const Color darkOnSurfaceVariant = Color(0xFFC3C7D0); - - /// Color: #FF8D9199 - static const Color darkOutline = Color(0xFF8D9199); - - /// Color: #FF9CCAFF - static const Color darkPrimary = Color(0xFF9CCAFF); - - /// Color: #FF00497F - static const Color darkPrimaryContainer = Color(0xFF00497F); - - /// Color: #FFBBC8DB - static const Color darkSecondary = Color(0xFFBBC8DB); - - /// Color: #FF3C4858 - static const Color darkSecondaryContainer = Color(0xFF3C4858); - - /// Color: #FF000000 - static const Color darkShadow = Color(0xFF000000); - - /// Color: #FF1B1B1B - static const Color darkSurface = Color(0xFF1B1B1B); - - /// Color: #FF42474E - static const Color darkSurfaceVariant = Color(0xFF42474E); - - /// Color: #FFFDFCFF - static const Color lightBackground = Color(0xFFFDFCFF); - - /// Color: #FFBA1B1B - static const Color lightError = Color(0xFFBA1B1B); - - /// Color: #FFFFDAD4 - static const Color lightErrorContainer = Color(0xFFFFDAD4); - - /// Color: #FF9CCAFF - static const Color lightInversePrimary = Color(0xFF9CCAFF); - - /// Color: #FF2F3033 - static const Color lightInverseSurface = Color(0xFF2F3033); - - /// Color: #FF1B1B1B - static const Color lightOnBackground = Color(0xFF1B1B1B); - - /// Color: #FFFFFFFF - static const Color lightOnError = Color(0xFFFFFFFF); - - /// Color: #FF410001 - static const Color lightOnErrorContainer = Color(0xFF410001); - - /// Color: #FFF1F0F4 - static const Color lightOnInverseSurface = Color(0xFFF1F0F4); - - /// Color: #FFFFFFFF - static const Color lightOnPrimary = Color(0xFFFFFFFF); - - /// Color: #FF001D36 - static const Color lightOnPrimaryContainer = Color(0xFF001D36); - - /// Color: #FFFFFFFF - static const Color lightOnSecondary = Color(0xFFFFFFFF); - - /// Color: #FF101C2B - static const Color lightOnSecondaryContainer = Color(0xFF101C2B); - - /// Color: #FF1B1B1B - static const Color lightOnSurface = Color(0xFF1B1B1B); - - /// Color: #FF42474E - static const Color lightOnSurfaceVariant = Color(0xFF42474E); - - /// Color: #FF73777F - static const Color lightOutline = Color(0xFF73777F); - - /// Color: #FF0061A6 - static const Color lightPrimary = Color(0xFF0061A6); - - /// Color: #FFD0E4FF - static const Color lightPrimaryContainer = Color(0xFFD0E4FF); - - /// Color: #FF535F70 - static const Color lightSecondary = Color(0xFF535F70); - - /// Color: #FFD6E3F7 - static const Color lightSecondaryContainer = Color(0xFFD6E3F7); - - /// Color: #FF000000 - static const Color lightShadow = Color(0xFF000000); - - /// Color: #FFFDFCFF - static const Color lightSurface = Color(0xFFFDFCFF); - - /// Color: #FFDFE2EB - static const Color lightSurfaceVariant = Color(0xFFDFE2EB); - - /// MaterialColor: - /// 50: #FFFFE412FE - /// 100: #FFFFBC2DFB - /// 200: #FFFF904BF9 - /// 300: #FFFF6469F7 - /// 400: #FFFF428075 - /// 500: #FFFF2196F3 - /// 600: #FFFF1DC2114 - /// 700: #FFFF181B382C - /// 800: #FFFF14296C06 - /// 900: #FFFF0B432A01 - static const MaterialColor seedColor = MaterialColor( - 0xFFFF2196F3, - { - 50: Color(0xFFFFE412FE), - 100: Color(0xFFFFBC2DFB), - 200: Color(0xFFFF904BF9), - 300: Color(0xFFFF6469F7), - 400: Color(0xFFFF428075), - 500: Color(0xFFFF2196F3), - 600: Color(0xFFFF1DC2114), - 700: Color(0xFFFF181B382C), - 800: Color(0xFFFF14296C06), - 900: Color(0xFFFF0B432A01), - }, - ); - - /// MaterialAccentColor: - /// 100: #FFFFFFFF - /// 200: #FFFFFFFF - /// 400: #FFFFFFFF - /// 700: #FFFFFFFF - static const MaterialAccentColor seedColorAccent = MaterialAccentColor( - 0xFFFFFFFF, - { - 100: Color(0xFFFFFFFF), - 200: Color(0xFFFFFFFF), - 400: Color(0xFFFFFFFF), - 700: Color(0xFFFFFFFF), - }, - ); -} diff --git a/bricks/wyatt_clean_code/__brick__/lib/main_development.dart b/bricks/wyatt_clean_code/__brick__/lib/main_development.dart deleted file mode 100644 index e665c91..0000000 --- a/bricks/wyatt_clean_code/__brick__/lib/main_development.dart +++ /dev/null @@ -1,8 +0,0 @@ -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/bootstrap.dart'; -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/core/flavors/flavor_settings.dart'; -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/presentation/features/app/app.dart'; - -void main(List args) { - FlavorSettings.development(); - bootstrap(App.new); -} diff --git a/bricks/wyatt_clean_code/__brick__/lib/main_production.dart b/bricks/wyatt_clean_code/__brick__/lib/main_production.dart deleted file mode 100644 index cb80a75..0000000 --- a/bricks/wyatt_clean_code/__brick__/lib/main_production.dart +++ /dev/null @@ -1,8 +0,0 @@ -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/bootstrap.dart'; -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/core/flavors/flavor_settings.dart'; -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/presentation/features/app/app.dart'; - -void main(List args) { - FlavorSettings.production(); - bootstrap(App.new); -} diff --git a/bricks/wyatt_clean_code/__brick__/lib/main_staging.dart b/bricks/wyatt_clean_code/__brick__/lib/main_staging.dart deleted file mode 100644 index 6be7658..0000000 --- a/bricks/wyatt_clean_code/__brick__/lib/main_staging.dart +++ /dev/null @@ -1,8 +0,0 @@ -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/bootstrap.dart'; -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/core/flavors/flavor_settings.dart'; -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/presentation/features/app/app.dart'; - -void main(List args) { - FlavorSettings.staging(); - bootstrap(App.new); -} diff --git a/bricks/wyatt_clean_code/__brick__/lib/presentation/features/app/app.dart b/bricks/wyatt_clean_code/__brick__/lib/presentation/features/app/app.dart deleted file mode 100644 index 67811c0..0000000 --- a/bricks/wyatt_clean_code/__brick__/lib/presentation/features/app/app.dart +++ /dev/null @@ -1,71 +0,0 @@ -import 'package:flutter/foundation.dart'; -import 'package:flutter/material.dart'; -import 'package:flutter_bloc/flutter_bloc.dart'; -import 'package:flutter_localizations/flutter_localizations.dart'; -import 'package:go_router/go_router.dart'; -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/core/design_system/theme.dart'; -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/core/extensions/build_context_extension.dart'; -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/core/flavors/flavor_settings.dart'; -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/core/routes/router.dart'; -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/core/utils/screen_util.dart'; -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/data/repositories/counter_repository_impl.dart'; -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/domain/repositories/counter_repository.dart'; - -class App extends StatelessWidget { - App({super.key}); - - final GoRouter _router = GoRouter( - initialLocation: '/', - routes: AppRouter.routes, - debugLogDiagnostics: true, - errorBuilder: (_, __) => const ColoredBox( - color: Colors.red, - ), - ); - - Widget _bannerFlavor(Widget child) { - final flavorInstance = FlavorSettings.get(); - if (flavorInstance.displayBanner && !kReleaseMode) { - return Directionality( - textDirection: TextDirection.ltr, - child: Banner( - location: BannerLocation.topEnd, - message: flavorInstance.flavor.short, - color: flavorInstance.flavor.color, - child: child, - ), - ); - } - return child; - } - - @override - Widget build(BuildContext context) { - ScreenUtil.init(); - return MultiRepositoryProvider( - providers: [ - RepositoryProvider( - lazy: true, - create: (context) => CounterRepositoryImpl(), - ), - ], - child: _bannerFlavor( - MaterialApp.router( - title: '{{#titleCase}}{{project_name}}{{/titleCase}}', - theme: AppTheme.light, - debugShowCheckedModeBanner: false, - routerDelegate: _router.routerDelegate, - routeInformationParser: _router.routeInformationParser, - routeInformationProvider: _router.routeInformationProvider, - localizationsDelegates: const [ - AppLocalizations.delegate, - GlobalMaterialLocalizations.delegate, - GlobalWidgetsLocalizations.delegate, - GlobalCupertinoLocalizations.delegate, - ], - supportedLocales: AppLocalizations.supportedLocales, - ), - ), - ); - } -} diff --git a/bricks/wyatt_clean_code/__brick__/lib/presentation/features/counter/blocs/counter_cubit.dart b/bricks/wyatt_clean_code/__brick__/lib/presentation/features/counter/blocs/counter_cubit.dart deleted file mode 100644 index ee727f6..0000000 --- a/bricks/wyatt_clean_code/__brick__/lib/presentation/features/counter/blocs/counter_cubit.dart +++ /dev/null @@ -1,39 +0,0 @@ -import 'package:flutter_bloc/flutter_bloc.dart'; -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/domain/usecases/counter/decrement_counter.dart'; -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/domain/usecases/counter/increment_counter.dart'; - -class CounterCubit extends Cubit { - final IncrementCounter _incrementCounter; - final DecrementCounter _decrementCounter; - - CounterCubit({ - required IncrementCounter incrementCounter, - required DecrementCounter decrementCounter, - }) : _incrementCounter = incrementCounter, - _decrementCounter = decrementCounter, - super(0); - - Future increment({int by = 1}) async { - // Use `.call(...)` to get documentation, but we can - // also directly use `(...)` - final response = await _incrementCounter.call(state + by); - emit( - response.fold( - (value) => value, - (error) => state, - ), - ); - } - - Future decrement({int by = 1}) async { - // Use `.call(...)` to get documentation, but we can - // also directly use `(...)` - final response = await _decrementCounter.call(state - by); - emit( - response.fold( - (value) => value, - (error) => state, - ), - ); - } -} diff --git a/bricks/wyatt_clean_code/__brick__/lib/presentation/features/counter/counter_page.dart b/bricks/wyatt_clean_code/__brick__/lib/presentation/features/counter/counter_page.dart deleted file mode 100644 index e13e08d..0000000 --- a/bricks/wyatt_clean_code/__brick__/lib/presentation/features/counter/counter_page.dart +++ /dev/null @@ -1,11 +0,0 @@ -import 'package:flutter/material.dart'; -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/presentation/features/counter/state_management/counter_page_provider.dart'; - -class CounterPage extends StatelessWidget { - const CounterPage({super.key}); - - static const String pageName = 'counter'; - - @override - Widget build(BuildContext context) => const CounterPageProvider(); -} diff --git a/bricks/wyatt_clean_code/__brick__/lib/presentation/features/counter/state_management/counter_page_provider.dart b/bricks/wyatt_clean_code/__brick__/lib/presentation/features/counter/state_management/counter_page_provider.dart deleted file mode 100644 index d7e8019..0000000 --- a/bricks/wyatt_clean_code/__brick__/lib/presentation/features/counter/state_management/counter_page_provider.dart +++ /dev/null @@ -1,31 +0,0 @@ -import 'package:flutter/material.dart'; -import 'package:wyatt_bloc_helper/wyatt_bloc_helper.dart'; -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/domain/repositories/counter_repository.dart'; -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/domain/usecases/counter/decrement_counter.dart'; -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/domain/usecases/counter/increment_counter.dart'; -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/presentation/features/counter/blocs/counter_cubit.dart'; -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/presentation/features/counter/state_management/counter_text_consumer.dart'; -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/presentation/features/counter/widgets/counter_base.dart'; - -class CounterPageProvider extends CubitProviderScreen { - const CounterPageProvider({super.key}); - - @override - CounterCubit create(BuildContext context) => CounterCubit( - decrementCounter: DecrementCounter( - counterRepository: repo(context), - ), - incrementCounter: IncrementCounter( - counterRepository: repo(context), - ), - ); - - @override - Widget builder(BuildContext context) => CounterBase( - fabIncrement: () => bloc(context).increment(), - fabIncrementBy10: () => bloc(context).increment(by: 10), - fabDecrement: () => bloc(context).decrement(), - fabDecrementBy10: () => bloc(context).decrement(by: 10), - child: const CounterTextConsumer(), - ); -} diff --git a/bricks/wyatt_clean_code/__brick__/lib/presentation/features/counter/state_management/counter_text_consumer.dart b/bricks/wyatt_clean_code/__brick__/lib/presentation/features/counter/state_management/counter_text_consumer.dart deleted file mode 100644 index 0c42db3..0000000 --- a/bricks/wyatt_clean_code/__brick__/lib/presentation/features/counter/state_management/counter_text_consumer.dart +++ /dev/null @@ -1,11 +0,0 @@ -import 'package:flutter/widgets.dart'; -import 'package:wyatt_bloc_helper/wyatt_bloc_helper.dart'; -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/presentation/features/counter/blocs/counter_cubit.dart'; -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/presentation/features/counter/widgets/counter_text.dart'; - -class CounterTextConsumer extends CubitConsumerScreen { - const CounterTextConsumer({super.key}); - - @override - Widget onBuild(BuildContext context, int state) => CounterText(count: state); -} diff --git a/bricks/wyatt_clean_code/__brick__/lib/presentation/features/counter/widgets/counter_base.dart b/bricks/wyatt_clean_code/__brick__/lib/presentation/features/counter/widgets/counter_base.dart deleted file mode 100644 index a392410..0000000 --- a/bricks/wyatt_clean_code/__brick__/lib/presentation/features/counter/widgets/counter_base.dart +++ /dev/null @@ -1,54 +0,0 @@ -import 'package:flutter/material.dart'; -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/core/extensions/build_context_extension.dart'; -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/presentation/shared/layouts/app_default_scaffold.dart'; - -class CounterBase extends StatelessWidget { - const CounterBase({ - required this.child, - this.fabIncrement, - this.fabIncrementBy10, - this.fabDecrement, - this.fabDecrementBy10, - super.key, - }); - - final void Function()? fabIncrement; - final void Function()? fabIncrementBy10; - final void Function()? fabDecrement; - final void Function()? fabDecrementBy10; - - final Widget child; - - @override - Widget build(BuildContext context) => AppDefaultScaffold( - title: Text(context.l10n.counterAppBarTitle), - body: Center( - child: child, - ), - fabChildren: [ - FloatingActionButton( - heroTag: 'increment_tag', - onPressed: fabIncrement, - child: const Icon(Icons.add), - ), - const SizedBox(height: 8), - FloatingActionButton( - heroTag: 'increment_10_tag', - onPressed: fabIncrementBy10, - child: const Text('+10'), - ), - const SizedBox(height: 8), - FloatingActionButton( - heroTag: 'decrement_tag', - onPressed: fabDecrement, - child: const Icon(Icons.remove), - ), - const SizedBox(height: 8), - FloatingActionButton( - heroTag: 'decrement_10_tag', - onPressed: fabDecrementBy10, - child: const Text('-10'), - ), - ], - ); -} diff --git a/bricks/wyatt_clean_code/__brick__/lib/presentation/features/counter/widgets/counter_text.dart b/bricks/wyatt_clean_code/__brick__/lib/presentation/features/counter/widgets/counter_text.dart deleted file mode 100644 index fee1643..0000000 --- a/bricks/wyatt_clean_code/__brick__/lib/presentation/features/counter/widgets/counter_text.dart +++ /dev/null @@ -1,18 +0,0 @@ -import 'package:flutter/material.dart'; -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/core/extensions/build_context_extension.dart'; - -class CounterText extends StatelessWidget { - const CounterText({ - required this.count, - super.key, - }); - - final int count; - - @override - Widget build(BuildContext context) => Text( - context.l10n.youHavePushed(count), - textAlign: TextAlign.center, - style: Theme.of(context).textTheme.headline3, - ); -} diff --git a/bricks/wyatt_clean_code/__brick__/lib/presentation/features/initial/initial_page.dart b/bricks/wyatt_clean_code/__brick__/lib/presentation/features/initial/initial_page.dart deleted file mode 100644 index 2e65908..0000000 --- a/bricks/wyatt_clean_code/__brick__/lib/presentation/features/initial/initial_page.dart +++ /dev/null @@ -1,32 +0,0 @@ -import 'package:flutter/material.dart'; -import 'package:go_router/go_router.dart'; -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/core/design_system/sizing.dart'; -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/core/extensions/build_context_extension.dart'; -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/core/extensions/num_extension.dart'; -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/gen/assets.gen.dart'; -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/presentation/features/counter/counter_page.dart'; -import 'package:{{#snakeCase}}{{project_name}}{{/snakeCase}}/presentation/shared/layouts/app_default_scaffold.dart'; - -class InitialPage extends StatelessWidget { - const InitialPage({super.key}); - - static const String pageName = 'initial'; - - @override - Widget build(BuildContext context) => AppDefaultScaffold( - title: const Text('{{#titleCase}}{{project_name}}{{/titleCase}}'), - body: Center( - child: Column( - mainAxisAlignment: MainAxisAlignment.center, - children: [ - Assets.images.wyattStudioLogo.image(width: 150.w), - AppSizing.lGap, - ElevatedButton( - child: Text(context.l10n.goToCounter), - onPressed: () => context.pushNamed(CounterPage.pageName), - ), - ], - ), - ), - ); -} diff --git a/bricks/wyatt_clean_code/__brick__/lib/presentation/shared/layouts/app_default_scaffold.dart b/bricks/wyatt_clean_code/__brick__/lib/presentation/shared/layouts/app_default_scaffold.dart deleted file mode 100644 index 1d21aa1..0000000 --- a/bricks/wyatt_clean_code/__brick__/lib/presentation/shared/layouts/app_default_scaffold.dart +++ /dev/null @@ -1,27 +0,0 @@ -import 'package:flutter/material.dart'; - -class AppDefaultScaffold extends StatelessWidget { - const AppDefaultScaffold({ - required this.body, - this.title, - this.fabChildren, - super.key, - }); - - final Widget? title; - final Widget body; - final List? fabChildren; - - @override - Widget build(BuildContext context) => Scaffold( - appBar: AppBar(title: title), - body: body, - floatingActionButton: (fabChildren?.isNotEmpty ?? false) - ? Column( - mainAxisAlignment: MainAxisAlignment.end, - crossAxisAlignment: CrossAxisAlignment.end, - children: fabChildren!, - ) - : null, - ); -} diff --git a/bricks/wyatt_clean_code/__brick__/lib/presentation/shared/state_management/.gitkeep b/bricks/wyatt_clean_code/__brick__/lib/presentation/shared/state_management/.gitkeep deleted file mode 100644 index f94cb6f..0000000 --- a/bricks/wyatt_clean_code/__brick__/lib/presentation/shared/state_management/.gitkeep +++ /dev/null @@ -1 +0,0 @@ -# just to keep empty folder in brick generation \ No newline at end of file diff --git a/bricks/wyatt_clean_code/__brick__/pubspec.yaml b/bricks/wyatt_clean_code/__brick__/pubspec.yaml deleted file mode 100644 index 529d443..0000000 --- a/bricks/wyatt_clean_code/__brick__/pubspec.yaml +++ /dev/null @@ -1,125 +0,0 @@ -name: {{#snakeCase}}{{project_name}}{{/snakeCase}} -description: {{{description}}} - -# The following line prevents the package from being accidentally published to -# pub.dev using `flutter pub publish`. This is preferred for private packages. -publish_to: "none" - -# The following defines the version and build number for your application. -# A version number is three numbers separated by dots, like 1.2.43 -# followed by an optional build number separated by a +. -# Both the version and the builder number may be overridden in flutter -# build by specifying --build-name and --build-number, respectively. -# In Android, build-name is used as versionName while build-number used as versionCode. -# Read more about Android versioning at https://developer.android.com/studio/publish/versioning -# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. -# Read more about iOS versioning at -# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html -version: 1.0.0+1 - -environment: - sdk: ">=2.17.0 <3.0.0" - flutter: ">=3.0.0" - -# Dependencies specify other packages that your package needs in order to work. -# To automatically upgrade your package dependencies to the latest versions -# consider running `flutter pub upgrade --major-versions`. Alternatively, -# dependencies can be manually updated by changing the version numbers below to -# the latest version available on pub.dev. To see which dependencies have newer -# versions available, run `flutter pub outdated`. -dependencies: - flutter: - sdk: flutter - flutter_localizations: - sdk: flutter - intl: ^0.17.0 - go_router: ^4.1.1 - equatable: ^2.0.3 - freezed_annotation: ^2.1.0 - json_annotation: ^4.6.0 - cupertino_icons: ^1.0.5 - get_it: ^7.2.0 - logger: ^1.1.0 - gap: ^2.0.0 - flutter_bloc: ^8.0.1 - wyatt_bloc_helper: - git: - url: https://git.wyatt-studio.fr/Wyatt-FOSS/wyatt-packages - ref: bloc/feature/fix_and_repo - path: packages/wyatt_bloc_helper - wyatt_type_utils: - git: - url: https://git.wyatt-studio.fr/Wyatt-FOSS/wyatt-packages - ref: wyatt_type_utils-v0.0.2 - path: packages/wyatt_type_utils - - -dev_dependencies: - flutter_test: - sdk: flutter - - dependency_validator: ^3.2.2 - - build_runner: ^2.2.0 - flutter_gen_runner: ^4.3.0 - freezed: ^2.1.0+1 - json_serializable: ^6.3.1 - - # The "wyatt_analysis" package below contains a set of recommended lints to - # encourage good coding practices. The lint set provided by the package is - # activated in the `analysis_options.yaml` file located at the root of your - # package. See that file for information about deactivating specific lint - # rules and activating additional ones. - wyatt_analysis: - git: - url: https://git.wyatt-studio.fr/Wyatt-FOSS/wyatt-packages - ref: wyatt_analysis-v2.2.1 - path: packages/wyatt_analysis - -# For information on the generic Dart part of this file, see the -# following page: https://dart.dev/tools/pub/pubspec - -# The following secion is specific to FlutterGen -flutter_gen: - colors: - inputs: - - assets/colors.xml - -# The following section is specific to Flutter packages. -flutter: - # The following line ensures that the Material Icons font is - # included with your application, so that you can use the icons in - # the material Icons class. - uses-material-design: true - - generate: true - - # To add assets to your application, add an assets section, like this: - assets: - - assets/images/ - - # An image asset can refer to one or more resolution-specific "variants", see - # https://flutter.dev/assets-and-images/#resolution-aware - - # For details regarding adding assets from package dependencies, see - # https://flutter.dev/assets-and-images/#from-packages - - # To add custom fonts to your application, add a fonts section here, - # in this "flutter" section. Each entry in this list should have a - # "family" key with the font family name, and a "fonts" key with a - # list giving the asset and other descriptors for the font. For - # example: - # fonts: - # - family: Schyler - # fonts: - # - asset: fonts/Schyler-Regular.ttf - # - asset: fonts/Schyler-Italic.ttf - # style: italic - # - family: Trajan Pro - # fonts: - # - asset: fonts/TrajanPro.ttf - # - asset: fonts/TrajanPro_Bold.ttf - # weight: 700 - # - # For details regarding fonts from package dependencies, - # see https://flutter.dev/custom-fonts/#from-packages diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_android}}android{{/enable_android}}/.gitignore b/bricks/wyatt_clean_code/__brick__/{{#enable_android}}android{{/enable_android}}/.gitignore deleted file mode 100644 index 6f56801..0000000 --- a/bricks/wyatt_clean_code/__brick__/{{#enable_android}}android{{/enable_android}}/.gitignore +++ /dev/null @@ -1,13 +0,0 @@ -gradle-wrapper.jar -/.gradle -/captures/ -/gradlew -/gradlew.bat -/local.properties -GeneratedPluginRegistrant.java - -# Remember to never publicly share your keystore. -# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app -key.properties -**/*.keystore -**/*.jks diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_android}}android{{/enable_android}}/app/build.gradle b/bricks/wyatt_clean_code/__brick__/{{#enable_android}}android{{/enable_android}}/app/build.gradle deleted file mode 100644 index 42c94ef..0000000 --- a/bricks/wyatt_clean_code/__brick__/{{#enable_android}}android{{/enable_android}}/app/build.gradle +++ /dev/null @@ -1,117 +0,0 @@ -def localProperties = new Properties() -def localPropertiesFile = rootProject.file('local.properties') -if (localPropertiesFile.exists()) { - localPropertiesFile.withReader('UTF-8') { reader -> - localProperties.load(reader) - } -} - -def flutterRoot = localProperties.getProperty('flutter.sdk') -if (flutterRoot == null) { - throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.") -} - -def flutterVersionCode = localProperties.getProperty('flutter.versionCode') -if (flutterVersionCode == null) { - flutterVersionCode = '1' -} - -def flutterVersionName = localProperties.getProperty('flutter.versionName') -if (flutterVersionName == null) { - flutterVersionName = '1.0' -} - -def keystoreProperties = new Properties() -def keystorePropertiesFile = rootProject.file('key.properties') -if (keystorePropertiesFile.exists()) { - keystoreProperties.load(new FileInputStream(keystorePropertiesFile)) -} - -apply plugin: 'com.android.application' -apply plugin: 'kotlin-android' -apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" - -android { - compileSdkVersion flutter.compileSdkVersion - ndkVersion flutter.ndkVersion - - compileOptions { - sourceCompatibility JavaVersion.VERSION_1_8 - targetCompatibility JavaVersion.VERSION_1_8 - } - - kotlinOptions { - jvmTarget = '1.8' - } - - sourceSets { - main.java.srcDirs += 'src/main/kotlin' - } - - defaultConfig { - // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). - applicationId "com.example.{{#snakeCase}}{{project_name}}{{/snakeCase}}" - // You can update the following values to match your application needs. - // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration. - minSdkVersion flutter.minSdkVersion - targetSdkVersion flutter.targetSdkVersion - versionCode flutterVersionCode.toInteger() - versionName flutterVersionName - } - - signingConfigs { - if (System.getenv("ANDROID_KEYSTORE_PATH")) { - release { - storeFile file(System.getenv("ANDROID_KEYSTORE_PATH")) - keyAlias System.getenv("ANDROID_KEYSTORE_ALIAS") - keyPassword System.getenv("ANDROID_KEYSTORE_PRIVATE_KEY_PASSWORD") - storePassword System.getenv("ANDROID_KEYSTORE_PASSWORD") - } - } else { - release { - keyAlias keystoreProperties['keyAlias'] - keyPassword keystoreProperties['keyPassword'] - storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null - storePassword keystoreProperties['storePassword'] - } - } - } - - flavorDimensions "default" - productFlavors { - production { - dimension "default" - applicationIdSuffix "" - manifestPlaceholders = [appName: "{{#titleCase}}{{project_name}}{{/titleCase}}"] - } - staging { - dimension "default" - applicationIdSuffix ".stg" - manifestPlaceholders = [appName: "[STG] {{#titleCase}}{{project_name}}{{/titleCase}}"] - } - development { - dimension "default" - applicationIdSuffix ".dev" - manifestPlaceholders = [appName: "[DEV] {{#titleCase}}{{project_name}}{{/titleCase}}"] - } - } - - buildTypes { - release { - signingConfig signingConfigs.release - minifyEnabled true - proguardFiles getDefaultProguardFile('proguard-android.txt') - } - debug { - signingConfig signingConfigs.debug - } - } -} - -flutter { - source '../..' -} - -dependencies { - implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" -} diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_android}}android{{/enable_android}}/app/src/debug/AndroidManifest.xml b/bricks/wyatt_clean_code/__brick__/{{#enable_android}}android{{/enable_android}}/app/src/debug/AndroidManifest.xml deleted file mode 100644 index 60d9d23..0000000 --- a/bricks/wyatt_clean_code/__brick__/{{#enable_android}}android{{/enable_android}}/app/src/debug/AndroidManifest.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_android}}android{{/enable_android}}/app/src/main/AndroidManifest.xml b/bricks/wyatt_clean_code/__brick__/{{#enable_android}}android{{/enable_android}}/app/src/main/AndroidManifest.xml deleted file mode 100644 index 5c1bad1..0000000 --- a/bricks/wyatt_clean_code/__brick__/{{#enable_android}}android{{/enable_android}}/app/src/main/AndroidManifest.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - - - - - - - diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_android}}android{{/enable_android}}/app/src/main/kotlin/{{#pathCase}}{{org_name}}{{/pathCase}}/MainActivity.kt b/bricks/wyatt_clean_code/__brick__/{{#enable_android}}android{{/enable_android}}/app/src/main/kotlin/{{#pathCase}}{{org_name}}{{/pathCase}}/MainActivity.kt deleted file mode 100644 index eb6d0bb..0000000 --- a/bricks/wyatt_clean_code/__brick__/{{#enable_android}}android{{/enable_android}}/app/src/main/kotlin/{{#pathCase}}{{org_name}}{{/pathCase}}/MainActivity.kt +++ /dev/null @@ -1,6 +0,0 @@ -package {{#dotCase}}{{org_name}}{{/dotCase}}.{{#snakeCase}}{{project_name}}{{/snakeCase}} - -import io.flutter.embedding.android.FlutterActivity - -class MainActivity: FlutterActivity() { -} \ No newline at end of file diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_android}}android{{/enable_android}}/app/src/main/res/drawable-v21/launch_background.xml b/bricks/wyatt_clean_code/__brick__/{{#enable_android}}android{{/enable_android}}/app/src/main/res/drawable-v21/launch_background.xml deleted file mode 100644 index f74085f..0000000 --- a/bricks/wyatt_clean_code/__brick__/{{#enable_android}}android{{/enable_android}}/app/src/main/res/drawable-v21/launch_background.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_android}}android{{/enable_android}}/app/src/main/res/drawable/launch_background.xml b/bricks/wyatt_clean_code/__brick__/{{#enable_android}}android{{/enable_android}}/app/src/main/res/drawable/launch_background.xml deleted file mode 100644 index 304732f..0000000 --- a/bricks/wyatt_clean_code/__brick__/{{#enable_android}}android{{/enable_android}}/app/src/main/res/drawable/launch_background.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_android}}android{{/enable_android}}/app/src/main/res/mipmap-hdpi/ic_launcher.png b/bricks/wyatt_clean_code/__brick__/{{#enable_android}}android{{/enable_android}}/app/src/main/res/mipmap-hdpi/ic_launcher.png deleted file mode 100644 index db77bb4..0000000 Binary files a/bricks/wyatt_clean_code/__brick__/{{#enable_android}}android{{/enable_android}}/app/src/main/res/mipmap-hdpi/ic_launcher.png and /dev/null differ diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_android}}android{{/enable_android}}/app/src/main/res/mipmap-mdpi/ic_launcher.png b/bricks/wyatt_clean_code/__brick__/{{#enable_android}}android{{/enable_android}}/app/src/main/res/mipmap-mdpi/ic_launcher.png deleted file mode 100644 index 17987b7..0000000 Binary files a/bricks/wyatt_clean_code/__brick__/{{#enable_android}}android{{/enable_android}}/app/src/main/res/mipmap-mdpi/ic_launcher.png and /dev/null differ diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_android}}android{{/enable_android}}/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/bricks/wyatt_clean_code/__brick__/{{#enable_android}}android{{/enable_android}}/app/src/main/res/mipmap-xhdpi/ic_launcher.png deleted file mode 100644 index 09d4391..0000000 Binary files a/bricks/wyatt_clean_code/__brick__/{{#enable_android}}android{{/enable_android}}/app/src/main/res/mipmap-xhdpi/ic_launcher.png and /dev/null differ diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_android}}android{{/enable_android}}/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/bricks/wyatt_clean_code/__brick__/{{#enable_android}}android{{/enable_android}}/app/src/main/res/mipmap-xxhdpi/ic_launcher.png deleted file mode 100644 index d5f1c8d..0000000 Binary files a/bricks/wyatt_clean_code/__brick__/{{#enable_android}}android{{/enable_android}}/app/src/main/res/mipmap-xxhdpi/ic_launcher.png and /dev/null differ diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_android}}android{{/enable_android}}/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/bricks/wyatt_clean_code/__brick__/{{#enable_android}}android{{/enable_android}}/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png deleted file mode 100644 index 4d6372e..0000000 Binary files a/bricks/wyatt_clean_code/__brick__/{{#enable_android}}android{{/enable_android}}/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png and /dev/null differ diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_android}}android{{/enable_android}}/app/src/main/res/values-night/styles.xml b/bricks/wyatt_clean_code/__brick__/{{#enable_android}}android{{/enable_android}}/app/src/main/res/values-night/styles.xml deleted file mode 100644 index 06952be..0000000 --- a/bricks/wyatt_clean_code/__brick__/{{#enable_android}}android{{/enable_android}}/app/src/main/res/values-night/styles.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_android}}android{{/enable_android}}/app/src/main/res/values/styles.xml b/bricks/wyatt_clean_code/__brick__/{{#enable_android}}android{{/enable_android}}/app/src/main/res/values/styles.xml deleted file mode 100644 index cb1ef88..0000000 --- a/bricks/wyatt_clean_code/__brick__/{{#enable_android}}android{{/enable_android}}/app/src/main/res/values/styles.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_android}}android{{/enable_android}}/app/src/profile/AndroidManifest.xml b/bricks/wyatt_clean_code/__brick__/{{#enable_android}}android{{/enable_android}}/app/src/profile/AndroidManifest.xml deleted file mode 100644 index 60d9d23..0000000 --- a/bricks/wyatt_clean_code/__brick__/{{#enable_android}}android{{/enable_android}}/app/src/profile/AndroidManifest.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_android}}android{{/enable_android}}/build.gradle b/bricks/wyatt_clean_code/__brick__/{{#enable_android}}android{{/enable_android}}/build.gradle deleted file mode 100644 index 83ae220..0000000 --- a/bricks/wyatt_clean_code/__brick__/{{#enable_android}}android{{/enable_android}}/build.gradle +++ /dev/null @@ -1,31 +0,0 @@ -buildscript { - ext.kotlin_version = '1.6.10' - repositories { - google() - mavenCentral() - } - - dependencies { - classpath 'com.android.tools.build:gradle:7.1.2' - classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" - } -} - -allprojects { - repositories { - google() - mavenCentral() - } -} - -rootProject.buildDir = '../build' -subprojects { - project.buildDir = "${rootProject.buildDir}/${project.name}" -} -subprojects { - project.evaluationDependsOn(':app') -} - -task clean(type: Delete) { - delete rootProject.buildDir -} diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_android}}android{{/enable_android}}/gradle.properties b/bricks/wyatt_clean_code/__brick__/{{#enable_android}}android{{/enable_android}}/gradle.properties deleted file mode 100644 index 94adc3a..0000000 --- a/bricks/wyatt_clean_code/__brick__/{{#enable_android}}android{{/enable_android}}/gradle.properties +++ /dev/null @@ -1,3 +0,0 @@ -org.gradle.jvmargs=-Xmx1536M -android.useAndroidX=true -android.enableJetifier=true diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_android}}android{{/enable_android}}/gradle/wrapper/gradle-wrapper.properties b/bricks/wyatt_clean_code/__brick__/{{#enable_android}}android{{/enable_android}}/gradle/wrapper/gradle-wrapper.properties deleted file mode 100644 index cc5527d..0000000 --- a/bricks/wyatt_clean_code/__brick__/{{#enable_android}}android{{/enable_android}}/gradle/wrapper/gradle-wrapper.properties +++ /dev/null @@ -1,6 +0,0 @@ -#Fri Jun 23 08:50:38 CEST 2017 -distributionBase=GRADLE_USER_HOME -distributionPath=wrapper/dists -zipStoreBase=GRADLE_USER_HOME -zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-all.zip diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_android}}android{{/enable_android}}/settings.gradle b/bricks/wyatt_clean_code/__brick__/{{#enable_android}}android{{/enable_android}}/settings.gradle deleted file mode 100644 index 44e62bc..0000000 --- a/bricks/wyatt_clean_code/__brick__/{{#enable_android}}android{{/enable_android}}/settings.gradle +++ /dev/null @@ -1,11 +0,0 @@ -include ':app' - -def localPropertiesFile = new File(rootProject.projectDir, "local.properties") -def properties = new Properties() - -assert localPropertiesFile.exists() -localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) } - -def flutterSdkPath = properties.getProperty("flutter.sdk") -assert flutterSdkPath != null, "flutter.sdk not set in local.properties" -apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle" diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/.gitignore b/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/.gitignore deleted file mode 100644 index 7a7f987..0000000 --- a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/.gitignore +++ /dev/null @@ -1,34 +0,0 @@ -**/dgph -*.mode1v3 -*.mode2v3 -*.moved-aside -*.pbxuser -*.perspectivev3 -**/*sync/ -.sconsign.dblite -.tags* -**/.vagrant/ -**/DerivedData/ -Icon? -**/Pods/ -**/.symlinks/ -profile -xcuserdata -**/.generated/ -Flutter/App.framework -Flutter/Flutter.framework -Flutter/Flutter.podspec -Flutter/Generated.xcconfig -Flutter/ephemeral/ -Flutter/app.flx -Flutter/app.zip -Flutter/flutter_assets/ -Flutter/flutter_export_environment.sh -ServiceDefinitions.json -Runner/GeneratedPluginRegistrant.* - -# Exceptions to above rules. -!default.mode1v3 -!default.mode2v3 -!default.pbxuser -!default.perspectivev3 diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Flutter/AppFrameworkInfo.plist b/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Flutter/AppFrameworkInfo.plist deleted file mode 100644 index 8d4492f..0000000 --- a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Flutter/AppFrameworkInfo.plist +++ /dev/null @@ -1,26 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - App - CFBundleIdentifier - io.flutter.flutter.app - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - App - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1.0 - MinimumOSVersion - 9.0 - - diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Flutter/Debug.xcconfig b/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Flutter/Debug.xcconfig deleted file mode 100644 index 592ceee..0000000 --- a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Flutter/Debug.xcconfig +++ /dev/null @@ -1 +0,0 @@ -#include "Generated.xcconfig" diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Flutter/Release.xcconfig b/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Flutter/Release.xcconfig deleted file mode 100644 index 592ceee..0000000 --- a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Flutter/Release.xcconfig +++ /dev/null @@ -1 +0,0 @@ -#include "Generated.xcconfig" diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner.xcodeproj/project.pbxproj b/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner.xcodeproj/project.pbxproj deleted file mode 100644 index 4e399b8..0000000 --- a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner.xcodeproj/project.pbxproj +++ /dev/null @@ -1,1174 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 50; - objects = { - -/* Begin PBXBuildFile section */ - 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; }; - 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; }; - 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; }; - 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; }; - 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; }; - 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; }; -/* End PBXBuildFile section */ - -/* Begin PBXCopyFilesBuildPhase section */ - 9705A1C41CF9048500538489 /* Embed Frameworks */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 10; - files = ( - ); - name = "Embed Frameworks"; - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXCopyFilesBuildPhase section */ - -/* Begin PBXFileReference section */ - 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; }; - 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; }; - 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; }; - 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; }; - 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; - 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; }; - 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; }; - 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; }; - 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; }; - 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; - 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; - 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; - 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 97C146EB1CF9000F007C117D /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 9740EEB11CF90186004384FC /* Flutter */ = { - isa = PBXGroup; - children = ( - 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */, - 9740EEB21CF90195004384FC /* Debug.xcconfig */, - 7AFA3C8E1D35360C0083082E /* Release.xcconfig */, - 9740EEB31CF90195004384FC /* Generated.xcconfig */, - ); - name = Flutter; - sourceTree = ""; - }; - 97C146E51CF9000F007C117D = { - isa = PBXGroup; - children = ( - 9740EEB11CF90186004384FC /* Flutter */, - 97C146F01CF9000F007C117D /* Runner */, - 97C146EF1CF9000F007C117D /* Products */, - ); - sourceTree = ""; - }; - 97C146EF1CF9000F007C117D /* Products */ = { - isa = PBXGroup; - children = ( - 97C146EE1CF9000F007C117D /* Runner.app */, - ); - name = Products; - sourceTree = ""; - }; - 97C146F01CF9000F007C117D /* Runner */ = { - isa = PBXGroup; - children = ( - 97C146FA1CF9000F007C117D /* Main.storyboard */, - 97C146FD1CF9000F007C117D /* Assets.xcassets */, - 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */, - 97C147021CF9000F007C117D /* Info.plist */, - 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */, - 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */, - 74858FAE1ED2DC5600515810 /* AppDelegate.swift */, - 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */, - ); - path = Runner; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - 97C146ED1CF9000F007C117D /* Runner */ = { - isa = PBXNativeTarget; - buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */; - buildPhases = ( - 9740EEB61CF901F6004384FC /* Run Script */, - 97C146EA1CF9000F007C117D /* Sources */, - 97C146EB1CF9000F007C117D /* Frameworks */, - 97C146EC1CF9000F007C117D /* Resources */, - 9705A1C41CF9048500538489 /* Embed Frameworks */, - 3B06AD1E1E4923F5004D2608 /* Thin Binary */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = Runner; - productName = Runner; - productReference = 97C146EE1CF9000F007C117D /* Runner.app */; - productType = "com.apple.product-type.application"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 97C146E61CF9000F007C117D /* Project object */ = { - isa = PBXProject; - attributes = { - LastUpgradeCheck = 1300; - ORGANIZATIONNAME = ""; - TargetAttributes = { - 97C146ED1CF9000F007C117D = { - CreatedOnToolsVersion = 7.3.1; - LastSwiftMigration = 1100; - }; - }; - }; - buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */; - compatibilityVersion = "Xcode 9.3"; - developmentRegion = en; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = 97C146E51CF9000F007C117D; - productRefGroup = 97C146EF1CF9000F007C117D /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 97C146ED1CF9000F007C117D /* Runner */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 97C146EC1CF9000F007C117D /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */, - 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */, - 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */, - 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXShellScriptBuildPhase section */ - 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "Thin Binary"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin"; - }; - 9740EEB61CF901F6004384FC /* Run Script */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "Run Script"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build"; - }; -/* End PBXShellScriptBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 97C146EA1CF9000F007C117D /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */, - 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXVariantGroup section */ - 97C146FA1CF9000F007C117D /* Main.storyboard */ = { - isa = PBXVariantGroup; - children = ( - 97C146FB1CF9000F007C117D /* Base */, - ); - name = Main.storyboard; - sourceTree = ""; - }; - 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = { - isa = PBXVariantGroup; - children = ( - 97C147001CF9000F007C117D /* Base */, - ); - name = LaunchScreen.storyboard; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - 249021D3217E4FDB00AE95B9 /* Profile */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - SUPPORTED_PLATFORMS = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = Profile; - }; - 249021D4217E4FDB00AE95B9 /* Profile */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - DEVELOPMENT_TEAM = 6Z5P8GG96U; - ENABLE_BITCODE = NO; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = com.example.wyattCleanCode; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_VERSION = 5.0; - VERSIONING_SYSTEM = "apple-generic"; - }; - name = Profile; - }; - 6B497CB72889B0D000E01771 /* Debug-development */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = "Debug-development"; - }; - 6B497CB82889B0D000E01771 /* Debug-development */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - DEVELOPMENT_TEAM = 6Z5P8GG96U; - ENABLE_BITCODE = NO; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = com.example.wyattCleanCode; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 5.0; - VERSIONING_SYSTEM = "apple-generic"; - }; - name = "Debug-development"; - }; - 6B497CB92889B0F300E01771 /* Debug-staging */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = "Debug-staging"; - }; - 6B497CBA2889B0F300E01771 /* Debug-staging */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - DEVELOPMENT_TEAM = 6Z5P8GG96U; - ENABLE_BITCODE = NO; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = com.example.wyattCleanCode; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 5.0; - VERSIONING_SYSTEM = "apple-generic"; - }; - name = "Debug-staging"; - }; - 6B497CBB2889B11500E01771 /* Debug-production */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = "Debug-production"; - }; - 6B497CBC2889B11500E01771 /* Debug-production */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - DEVELOPMENT_TEAM = 6Z5P8GG96U; - ENABLE_BITCODE = NO; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = com.example.wyattCleanCode; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 5.0; - VERSIONING_SYSTEM = "apple-generic"; - }; - name = "Debug-production"; - }; - 6B497CBD2889B12000E01771 /* Profile-development */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - SUPPORTED_PLATFORMS = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = "Profile-development"; - }; - 6B497CBE2889B12000E01771 /* Profile-development */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - DEVELOPMENT_TEAM = 6Z5P8GG96U; - ENABLE_BITCODE = NO; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = com.example.wyattCleanCode; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_VERSION = 5.0; - VERSIONING_SYSTEM = "apple-generic"; - }; - name = "Profile-development"; - }; - 6B497CBF2889B12800E01771 /* Profile-staging */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - SUPPORTED_PLATFORMS = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = "Profile-staging"; - }; - 6B497CC02889B12800E01771 /* Profile-staging */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - DEVELOPMENT_TEAM = 6Z5P8GG96U; - ENABLE_BITCODE = NO; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = com.example.wyattCleanCode; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_VERSION = 5.0; - VERSIONING_SYSTEM = "apple-generic"; - }; - name = "Profile-staging"; - }; - 6B497CC12889B12F00E01771 /* Profile-production */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - SUPPORTED_PLATFORMS = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = "Profile-production"; - }; - 6B497CC22889B12F00E01771 /* Profile-production */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - DEVELOPMENT_TEAM = 6Z5P8GG96U; - ENABLE_BITCODE = NO; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = com.example.wyattCleanCode; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_VERSION = 5.0; - VERSIONING_SYSTEM = "apple-generic"; - }; - name = "Profile-production"; - }; - 6B497CC32889B13A00E01771 /* Release-development */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - SUPPORTED_PLATFORMS = iphoneos; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OPTIMIZATION_LEVEL = "-O"; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = "Release-development"; - }; - 6B497CC42889B13A00E01771 /* Release-development */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - DEVELOPMENT_TEAM = 6Z5P8GG96U; - ENABLE_BITCODE = NO; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = com.example.wyattCleanCode; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_VERSION = 5.0; - VERSIONING_SYSTEM = "apple-generic"; - }; - name = "Release-development"; - }; - 6B497CC52889B14200E01771 /* Release-staging */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - SUPPORTED_PLATFORMS = iphoneos; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OPTIMIZATION_LEVEL = "-O"; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = "Release-staging"; - }; - 6B497CC62889B14200E01771 /* Release-staging */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - DEVELOPMENT_TEAM = 6Z5P8GG96U; - ENABLE_BITCODE = NO; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = com.example.wyattCleanCode; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_VERSION = 5.0; - VERSIONING_SYSTEM = "apple-generic"; - }; - name = "Release-staging"; - }; - 6B497CC72889B14900E01771 /* Release-production */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - SUPPORTED_PLATFORMS = iphoneos; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OPTIMIZATION_LEVEL = "-O"; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = "Release-production"; - }; - 6B497CC82889B14900E01771 /* Release-production */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - DEVELOPMENT_TEAM = 6Z5P8GG96U; - ENABLE_BITCODE = NO; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = com.example.wyattCleanCode; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_VERSION = 5.0; - VERSIONING_SYSTEM = "apple-generic"; - }; - name = "Release-production"; - }; - 97C147031CF9000F007C117D /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - 97C147041CF9000F007C117D /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - SUPPORTED_PLATFORMS = iphoneos; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OPTIMIZATION_LEVEL = "-O"; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - 97C147061CF9000F007C117D /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - DEVELOPMENT_TEAM = 6Z5P8GG96U; - ENABLE_BITCODE = NO; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = com.example.wyattCleanCode; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 5.0; - VERSIONING_SYSTEM = "apple-generic"; - }; - name = Debug; - }; - 97C147071CF9000F007C117D /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - DEVELOPMENT_TEAM = 6Z5P8GG96U; - ENABLE_BITCODE = NO; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = com.example.wyattCleanCode; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_VERSION = 5.0; - VERSIONING_SYSTEM = "apple-generic"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 97C147031CF9000F007C117D /* Debug */, - 6B497CB72889B0D000E01771 /* Debug-development */, - 6B497CB92889B0F300E01771 /* Debug-staging */, - 6B497CBB2889B11500E01771 /* Debug-production */, - 97C147041CF9000F007C117D /* Release */, - 6B497CC32889B13A00E01771 /* Release-development */, - 6B497CC52889B14200E01771 /* Release-staging */, - 6B497CC72889B14900E01771 /* Release-production */, - 249021D3217E4FDB00AE95B9 /* Profile */, - 6B497CBD2889B12000E01771 /* Profile-development */, - 6B497CBF2889B12800E01771 /* Profile-staging */, - 6B497CC12889B12F00E01771 /* Profile-production */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 97C147061CF9000F007C117D /* Debug */, - 6B497CB82889B0D000E01771 /* Debug-development */, - 6B497CBA2889B0F300E01771 /* Debug-staging */, - 6B497CBC2889B11500E01771 /* Debug-production */, - 97C147071CF9000F007C117D /* Release */, - 6B497CC42889B13A00E01771 /* Release-development */, - 6B497CC62889B14200E01771 /* Release-staging */, - 6B497CC82889B14900E01771 /* Release-production */, - 249021D4217E4FDB00AE95B9 /* Profile */, - 6B497CBE2889B12000E01771 /* Profile-development */, - 6B497CC02889B12800E01771 /* Profile-staging */, - 6B497CC22889B12F00E01771 /* Profile-production */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = 97C146E61CF9000F007C117D /* Project object */; -} diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 919434a..0000000 --- a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d9810..0000000 --- a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - - diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings deleted file mode 100644 index f9b0d7c..0000000 --- a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings +++ /dev/null @@ -1,8 +0,0 @@ - - - - - PreviewsEnabled - - - diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme deleted file mode 100644 index c87d15a..0000000 --- a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ /dev/null @@ -1,87 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner.xcodeproj/xcshareddata/xcschemes/development.xcscheme b/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner.xcodeproj/xcshareddata/xcschemes/development.xcscheme deleted file mode 100644 index 85c759b..0000000 --- a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner.xcodeproj/xcshareddata/xcschemes/development.xcscheme +++ /dev/null @@ -1,78 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner.xcodeproj/xcshareddata/xcschemes/production.xcscheme b/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner.xcodeproj/xcshareddata/xcschemes/production.xcscheme deleted file mode 100644 index 85c759b..0000000 --- a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner.xcodeproj/xcshareddata/xcschemes/production.xcscheme +++ /dev/null @@ -1,78 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner.xcodeproj/xcshareddata/xcschemes/staging.xcscheme b/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner.xcodeproj/xcshareddata/xcschemes/staging.xcscheme deleted file mode 100644 index 85c759b..0000000 --- a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner.xcodeproj/xcshareddata/xcschemes/staging.xcscheme +++ /dev/null @@ -1,78 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner.xcworkspace/contents.xcworkspacedata b/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 1d526a1..0000000 --- a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d9810..0000000 --- a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - - diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings deleted file mode 100644 index f9b0d7c..0000000 --- a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings +++ /dev/null @@ -1,8 +0,0 @@ - - - - - PreviewsEnabled - - - diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/AppDelegate.swift b/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/AppDelegate.swift deleted file mode 100644 index 70693e4..0000000 --- a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/AppDelegate.swift +++ /dev/null @@ -1,13 +0,0 @@ -import UIKit -import Flutter - -@UIApplicationMain -@objc class AppDelegate: FlutterAppDelegate { - override func application( - _ application: UIApplication, - didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? - ) -> Bool { - GeneratedPluginRegistrant.register(with: self) - return super.application(application, didFinishLaunchingWithOptions: launchOptions) - } -} diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json deleted file mode 100644 index d36b1fa..0000000 --- a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "images" : [ - { - "size" : "20x20", - "idiom" : "iphone", - "filename" : "Icon-App-20x20@2x.png", - "scale" : "2x" - }, - { - "size" : "20x20", - "idiom" : "iphone", - "filename" : "Icon-App-20x20@3x.png", - "scale" : "3x" - }, - { - "size" : "29x29", - "idiom" : "iphone", - "filename" : "Icon-App-29x29@1x.png", - "scale" : "1x" - }, - { - "size" : "29x29", - "idiom" : "iphone", - "filename" : "Icon-App-29x29@2x.png", - "scale" : "2x" - }, - { - "size" : "29x29", - "idiom" : "iphone", - "filename" : "Icon-App-29x29@3x.png", - "scale" : "3x" - }, - { - "size" : "40x40", - "idiom" : "iphone", - "filename" : "Icon-App-40x40@2x.png", - "scale" : "2x" - }, - { - "size" : "40x40", - "idiom" : "iphone", - "filename" : "Icon-App-40x40@3x.png", - "scale" : "3x" - }, - { - "size" : "60x60", - "idiom" : "iphone", - "filename" : "Icon-App-60x60@2x.png", - "scale" : "2x" - }, - { - "size" : "60x60", - "idiom" : "iphone", - "filename" : "Icon-App-60x60@3x.png", - "scale" : "3x" - }, - { - "size" : "20x20", - "idiom" : "ipad", - "filename" : "Icon-App-20x20@1x.png", - "scale" : "1x" - }, - { - "size" : "20x20", - "idiom" : "ipad", - "filename" : "Icon-App-20x20@2x.png", - "scale" : "2x" - }, - { - "size" : "29x29", - "idiom" : "ipad", - "filename" : "Icon-App-29x29@1x.png", - "scale" : "1x" - }, - { - "size" : "29x29", - "idiom" : "ipad", - "filename" : "Icon-App-29x29@2x.png", - "scale" : "2x" - }, - { - "size" : "40x40", - "idiom" : "ipad", - "filename" : "Icon-App-40x40@1x.png", - "scale" : "1x" - }, - { - "size" : "40x40", - "idiom" : "ipad", - "filename" : "Icon-App-40x40@2x.png", - "scale" : "2x" - }, - { - "size" : "76x76", - "idiom" : "ipad", - "filename" : "Icon-App-76x76@1x.png", - "scale" : "1x" - }, - { - "size" : "76x76", - "idiom" : "ipad", - "filename" : "Icon-App-76x76@2x.png", - "scale" : "2x" - }, - { - "size" : "83.5x83.5", - "idiom" : "ipad", - "filename" : "Icon-App-83.5x83.5@2x.png", - "scale" : "2x" - }, - { - "size" : "1024x1024", - "idiom" : "ios-marketing", - "filename" : "Icon-App-1024x1024@1x.png", - "scale" : "1x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png b/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png deleted file mode 100644 index dc9ada4..0000000 Binary files a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png and /dev/null differ diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png b/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png deleted file mode 100644 index 28c6bf0..0000000 Binary files a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png and /dev/null differ diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png b/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png deleted file mode 100644 index 2ccbfd9..0000000 Binary files a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png and /dev/null differ diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png b/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png deleted file mode 100644 index f091b6b..0000000 Binary files a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png and /dev/null differ diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png b/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png deleted file mode 100644 index 4cde121..0000000 Binary files a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png and /dev/null differ diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png b/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png deleted file mode 100644 index d0ef06e..0000000 Binary files a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png and /dev/null differ diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png b/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png deleted file mode 100644 index dcdc230..0000000 Binary files a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png and /dev/null differ diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png b/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png deleted file mode 100644 index 2ccbfd9..0000000 Binary files a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png and /dev/null differ diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png b/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png deleted file mode 100644 index c8f9ed8..0000000 Binary files a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png and /dev/null differ diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png b/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png deleted file mode 100644 index a6d6b86..0000000 Binary files a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png and /dev/null differ diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png b/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png deleted file mode 100644 index a6d6b86..0000000 Binary files a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png and /dev/null differ diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png b/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png deleted file mode 100644 index 75b2d16..0000000 Binary files a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png and /dev/null differ diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png b/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png deleted file mode 100644 index c4df70d..0000000 Binary files a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png and /dev/null differ diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png b/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png deleted file mode 100644 index 6a84f41..0000000 Binary files a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png and /dev/null differ diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png b/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png deleted file mode 100644 index d0e1f58..0000000 Binary files a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png and /dev/null differ diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json b/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json deleted file mode 100644 index 0bedcf2..0000000 --- a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "images" : [ - { - "idiom" : "universal", - "filename" : "LaunchImage.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "filename" : "LaunchImage@2x.png", - "scale" : "2x" - }, - { - "idiom" : "universal", - "filename" : "LaunchImage@3x.png", - "scale" : "3x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png b/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png deleted file mode 100644 index 9da19ea..0000000 Binary files a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png and /dev/null differ diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png b/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png deleted file mode 100644 index 9da19ea..0000000 Binary files a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png and /dev/null differ diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png b/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png deleted file mode 100644 index 9da19ea..0000000 Binary files a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png and /dev/null differ diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Assets.xcassets/LaunchImage.imageset/README.md b/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Assets.xcassets/LaunchImage.imageset/README.md deleted file mode 100644 index 89c2725..0000000 --- a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Assets.xcassets/LaunchImage.imageset/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# Launch Screen Assets - -You can customize the launch screen with your own desired assets by replacing the image files in this directory. - -You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images. \ No newline at end of file diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Base.lproj/LaunchScreen.storyboard b/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Base.lproj/LaunchScreen.storyboard deleted file mode 100644 index f2e259c..0000000 --- a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Base.lproj/LaunchScreen.storyboard +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Base.lproj/Main.storyboard b/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Base.lproj/Main.storyboard deleted file mode 100644 index f3c2851..0000000 --- a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Base.lproj/Main.storyboard +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Info.plist b/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Info.plist deleted file mode 100644 index 2375046..0000000 --- a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Info.plist +++ /dev/null @@ -1,49 +0,0 @@ - - - - - CFBundleDevelopmentRegion - $(DEVELOPMENT_LANGUAGE) - CFBundleDisplayName - Wyatt Clean Code - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - {{#snakeCase}}{{project_name}}{{/snakeCase}} - CFBundlePackageType - APPL - CFBundleShortVersionString - $(FLUTTER_BUILD_NAME) - CFBundleSignature - ???? - CFBundleVersion - $(FLUTTER_BUILD_NUMBER) - LSRequiresIPhoneOS - - UILaunchStoryboardName - LaunchScreen - UIMainStoryboardFile - Main - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - UISupportedInterfaceOrientations~ipad - - UIInterfaceOrientationPortrait - UIInterfaceOrientationPortraitUpsideDown - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - UIViewControllerBasedStatusBarAppearance - - CADisableMinimumFrameDurationOnPhone - - - diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Runner-Bridging-Header.h b/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Runner-Bridging-Header.h deleted file mode 100644 index 308a2a5..0000000 --- a/bricks/wyatt_clean_code/__brick__/{{#enable_ios}}ios{{/enable_ios}}/Runner/Runner-Bridging-Header.h +++ /dev/null @@ -1 +0,0 @@ -#import "GeneratedPluginRegistrant.h" diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_web}}web{{/enable_web}}/favicon.png b/bricks/wyatt_clean_code/__brick__/{{#enable_web}}web{{/enable_web}}/favicon.png deleted file mode 100644 index 8aaa46a..0000000 Binary files a/bricks/wyatt_clean_code/__brick__/{{#enable_web}}web{{/enable_web}}/favicon.png and /dev/null differ diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_web}}web{{/enable_web}}/icons/Icon-192.png b/bricks/wyatt_clean_code/__brick__/{{#enable_web}}web{{/enable_web}}/icons/Icon-192.png deleted file mode 100644 index b749bfe..0000000 Binary files a/bricks/wyatt_clean_code/__brick__/{{#enable_web}}web{{/enable_web}}/icons/Icon-192.png and /dev/null differ diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_web}}web{{/enable_web}}/icons/Icon-512.png b/bricks/wyatt_clean_code/__brick__/{{#enable_web}}web{{/enable_web}}/icons/Icon-512.png deleted file mode 100644 index 88cfd48..0000000 Binary files a/bricks/wyatt_clean_code/__brick__/{{#enable_web}}web{{/enable_web}}/icons/Icon-512.png and /dev/null differ diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_web}}web{{/enable_web}}/icons/Icon-maskable-192.png b/bricks/wyatt_clean_code/__brick__/{{#enable_web}}web{{/enable_web}}/icons/Icon-maskable-192.png deleted file mode 100644 index eb9b4d7..0000000 Binary files a/bricks/wyatt_clean_code/__brick__/{{#enable_web}}web{{/enable_web}}/icons/Icon-maskable-192.png and /dev/null differ diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_web}}web{{/enable_web}}/icons/Icon-maskable-512.png b/bricks/wyatt_clean_code/__brick__/{{#enable_web}}web{{/enable_web}}/icons/Icon-maskable-512.png deleted file mode 100644 index d69c566..0000000 Binary files a/bricks/wyatt_clean_code/__brick__/{{#enable_web}}web{{/enable_web}}/icons/Icon-maskable-512.png and /dev/null differ diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_web}}web{{/enable_web}}/index.html b/bricks/wyatt_clean_code/__brick__/{{#enable_web}}web{{/enable_web}}/index.html deleted file mode 100644 index 613d02c..0000000 --- a/bricks/wyatt_clean_code/__brick__/{{#enable_web}}web{{/enable_web}}/index.html +++ /dev/null @@ -1,58 +0,0 @@ - - - - - - - - - - - - - - - - - - - - {{#titleCase}}{{project_name}}{{/titleCase}} - - - - - - - - - - diff --git a/bricks/wyatt_clean_code/__brick__/{{#enable_web}}web{{/enable_web}}/manifest.json b/bricks/wyatt_clean_code/__brick__/{{#enable_web}}web{{/enable_web}}/manifest.json deleted file mode 100644 index 0f04494..0000000 --- a/bricks/wyatt_clean_code/__brick__/{{#enable_web}}web{{/enable_web}}/manifest.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "name": "{{#titleCase}}{{project_name}}{{/titleCase}}", - "short_name": "{{#titleCase}}{{project_name}}{{/titleCase}}", - "start_url": ".", - "display": "standalone", - "background_color": "#0175C2", - "theme_color": "#0175C2", - "description": "{{{description}}}", - "orientation": "portrait-primary", - "prefer_related_applications": false, - "icons": [ - { - "src": "icons/Icon-192.png", - "sizes": "192x192", - "type": "image/png" - }, - { - "src": "icons/Icon-512.png", - "sizes": "512x512", - "type": "image/png" - }, - { - "src": "icons/Icon-maskable-192.png", - "sizes": "192x192", - "type": "image/png", - "purpose": "maskable" - }, - { - "src": "icons/Icon-maskable-512.png", - "sizes": "512x512", - "type": "image/png", - "purpose": "maskable" - } - ] -} diff --git a/bricks/wyatt_clean_code/brick.yaml b/bricks/wyatt_clean_code/brick.yaml deleted file mode 100644 index 34f3765..0000000 --- a/bricks/wyatt_clean_code/brick.yaml +++ /dev/null @@ -1,52 +0,0 @@ -name: wyatt_clean_code -description: Create clean new Flutter project from scratch following Clean Code Architecture. - -# The following defines the version and build number for your brick. -# A version number is three numbers separated by dots, like 1.2.34 -# followed by an optional build number (separated by a +). -version: 0.1.0+1 - -# The following defines the environment for the current brick. -# It includes the version of mason that the brick requires. -environment: - mason: ">=0.1.0-dev.26 <0.1.0" - -# Variables specify dynamic values that your brick depends on. -# Zero or more variables can be specified for a given brick. -# Each variable has: -# * a type (string, number, boolean, enum, or array) -# * an optional short description -# * an optional default value -# * an optional list of default values (array only) -# * an optional prompt phrase used when asking for the variable -# * a list of values (enums only) -vars: - project_name: - type: string - description: The project name - default: app - prompt: "What is the project name?" - org_name: - type: string - description: The organization name - default: fr.wyattstudio.app - prompt: "What is the organization name?" - description: - type: string - description: A short project description - default: A new Wyatt Studio project. - prompt: "What is the project description?" - platforms: - type: array - description: Supported platforms - prompt: Which platforms would you like to support? - defaults: - - android - - ios - values: - - android - - ios - - web - - macos - - windows - - linux \ No newline at end of file diff --git a/bricks/wyatt_clean_code/hooks/post_gen.dart b/bricks/wyatt_clean_code/hooks/post_gen.dart deleted file mode 100644 index f6bc986..0000000 --- a/bricks/wyatt_clean_code/hooks/post_gen.dart +++ /dev/null @@ -1,30 +0,0 @@ -// Copyright (C) 2022 WYATT GROUP -// Please see the AUTHORS file for details. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License -// along with this program. If not, see . - -import 'dart:io'; - -import 'package:mason/mason.dart'; - -Future run(HookContext context) async { - final workingDirectory = '${Directory.current.path}'; - final process = await Process.start( - 'make', - ['gen'], - workingDirectory: workingDirectory, - ); - await process.stdout.pipe(stdout); - -} \ No newline at end of file diff --git a/bricks/wyatt_clean_code/hooks/pre_gen.dart b/bricks/wyatt_clean_code/hooks/pre_gen.dart deleted file mode 100644 index 352be21..0000000 --- a/bricks/wyatt_clean_code/hooks/pre_gen.dart +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright (C) 2022 WYATT GROUP -// Please see the AUTHORS file for details. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License -// along with this program. If not, see . - -import 'package:mason/mason.dart'; - -void run(HookContext context) { - final platforms = context.vars['platforms']; - final enabled_platforms = { - 'enable_android': platforms?.contains('android') ?? false, - 'enable_ios': platforms?.contains('ios') ?? false, - 'enable_web': platforms?.contains('web') ?? false, - 'enable_macos': platforms?.contains('macos') ?? false, - 'enable_windows': platforms?.contains('windows') ?? false, - 'enable_linux': platforms?.contains('linux') ?? false, - }; - final features = context.vars['features']; - final enabled_features = { - 'enable_l10n': features?.contains('localization') ?? false, - 'enable_analysis': features?.contains('analysis') ?? false, - 'enable_freezed': features?.contains('freezed') ?? false, - 'enable_http': features?.contains('http') ?? false, - 'enable_router': features?.contains('router') ?? false, - 'enable_auth': features?.contains('authentication') ?? false, - 'enable_forms': features?.contains('forms') ?? false, - }; - context.vars = {...context.vars, ...enabled_platforms, ...enabled_features}; -} \ No newline at end of file diff --git a/bricks/wyatt_clean_code/hooks/pubspec.yaml b/bricks/wyatt_clean_code/hooks/pubspec.yaml deleted file mode 100644 index cd21d39..0000000 --- a/bricks/wyatt_clean_code/hooks/pubspec.yaml +++ /dev/null @@ -1,7 +0,0 @@ -name: hooks - -environment: - sdk: ">=2.17.0 <3.0.0" - -dependencies: - mason: any \ No newline at end of file diff --git a/bricks/wyatt_package/CHANGELOG.md b/bricks/wyatt_package/CHANGELOG.md deleted file mode 100644 index 445ee03..0000000 --- a/bricks/wyatt_package/CHANGELOG.md +++ /dev/null @@ -1,3 +0,0 @@ -# 0.1.0+1 - -- Initial release 🎉 diff --git a/bricks/wyatt_package/LICENSE b/bricks/wyatt_package/LICENSE deleted file mode 100644 index e72bfdd..0000000 --- a/bricks/wyatt_package/LICENSE +++ /dev/null @@ -1,674 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they -know their rights. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - - Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . - -Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - Copyright (C) - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -. - - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you -may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read -. \ No newline at end of file diff --git a/bricks/wyatt_package/README.md b/bricks/wyatt_package/README.md deleted file mode 100644 index e09867d..0000000 --- a/bricks/wyatt_package/README.md +++ /dev/null @@ -1,24 +0,0 @@ -# Wyatt - Package - -[![Powered by Mason](https://img.shields.io/endpoint?url=https%3A%2F%2Ftinyurl.com%2Fmason-badge)](https://github.com/felangel/mason) - -A package generator following Wyatt Studio convention. See [wyatt-packages][1] repository for more infos. - -## Usage 🚀 - -```sh -mason make wyatt_package --package_name Analysis --description A new Wyatt package --flutter_only false -``` - -## Variables ✨ - -| variable | description | default | type | -| ------------------ | ---------------------------- | ------- | --------- | -| `package_name` | Package name (without wyatt prefix) | package | `string` | -| `description` | A short package description | A new Wyatt package | `string` | -| `flutter_only` | Should generate a plugin (Flutter only) or a package (Dart and Flutter) | false | `boolean` | - -## Prerequisite -No prerequisites needed. - -[1]: https://git.wyatt-studio.fr/Wyatt-FOSS/wyatt-packages \ No newline at end of file diff --git a/bricks/wyatt_package/__brick__/.gitignore b/bricks/wyatt_package/__brick__/.gitignore deleted file mode 100644 index e38f9b0..0000000 --- a/bricks/wyatt_package/__brick__/.gitignore +++ /dev/null @@ -1,133 +0,0 @@ -# Miscellaneous -*.class -*.lock -*.log -*.pyc -*.swp -.DS_Store -.atom/ -.buildlog/ -.history -.svn/ - -# IntelliJ related -*.iml -*.ipr -*.iws -.idea/* - -# Visual Studio Code related -.classpath -.project -.settings/ -.vscode/* -!.vscode/settings.json -!.vscode/extensions.json - -# Flutter repo-specific -/bin/cache/ -/bin/mingit/ -/dev/benchmarks/mega_gallery/ -/dev/bots/.recipe_deps -/dev/bots/android_tools/ -/dev/docs/doc/ -/dev/docs/flutter.docs.zip -/dev/docs/lib/ -/dev/docs/pubspec.yaml -/dev/integration_tests/**/xcuserdata -/dev/integration_tests/**/Pods -/packages/flutter/coverage/ -version - -# packages file containing multi-root paths -.packages.generated - -# Flutter/Dart/Pub related -**/doc/api/ -**/ios/Flutter/.last_build_id -.dart_tool/ -.flutter-plugins -.flutter-plugins-dependencies -.packages -.pub-cache/ -.pub/ -build/ -flutter_*.png -linked_*.ds -unlinked.ds -unlinked_spec.ds -.fvm/ - -# Android related -**/android/**/gradle-wrapper.jar -**/android/.gradle -**/android/captures/ -**/android/gradlew -**/android/gradlew.bat -**/android/local.properties -**/android/**/GeneratedPluginRegistrant.java -**/android/key.properties -**/android/.idea/ -*.jks - -# iOS/XCode related -**/ios/**/*.mode1v3 -**/ios/**/*.mode2v3 -**/ios/**/*.moved-aside -**/ios/**/*.pbxuser -**/ios/**/*.perspectivev3 -**/ios/**/*sync/ -**/ios/**/.sconsign.dblite -**/ios/**/.tags* -**/ios/**/.vagrant/ -**/ios/**/DerivedData/ -**/ios/**/Icon? -**/ios/**/Pods/ -**/ios/**/.symlinks/ -**/ios/**/profile -**/ios/**/xcuserdata -**/ios/.generated/ -**/ios/Flutter/App.framework -**/ios/Flutter/Flutter.framework -**/ios/Flutter/Flutter.podspec -**/ios/Flutter/Generated.xcconfig -**/ios/Flutter/app.flx -**/ios/Flutter/app.zip -**/ios/Flutter/.last_build_id -**/ios/Flutter/flutter_assets/ -**/ios/Flutter/flutter_export_environment.sh -**/ios/ServiceDefinitions.json -**/ios/Runner/GeneratedPluginRegistrant.* - -# Coverage -coverage/ - -# Submodules -!pubspec.lock -packages/**/pubspec.lock - -# Web related -lib/generated_plugin_registrant.dart - -# Symbolication related -app.*.symbols - -# Obfuscation related -app.*.map.json - -# Exceptions to the above rules. -!**/ios/**/default.mode1v3 -!**/ios/**/default.mode2v3 -!**/ios/**/default.pbxuser -!**/ios/**/default.perspectivev3 -!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages -!/dev/ci/**/Gemfile.lock -!.vscode/extensions.json -!.vscode/launch.json -!.idea/codeStyles/ -!.idea/dictionaries/ -!.idea/runConfigurations/ - -# Omit committing pubspec.lock for library packages; see -# https://dart.dev/guides/libraries/private-files#pubspeclock. -pubspec.lock diff --git a/bricks/wyatt_package/__brick__/.vscode/extensions.json b/bricks/wyatt_package/__brick__/.vscode/extensions.json deleted file mode 100644 index 30cd223..0000000 --- a/bricks/wyatt_package/__brick__/.vscode/extensions.json +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright (C) 2022 WYATT GROUP - * Please see the AUTHORS file for details. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -{ - "recommendations": [ - "psioniq.psi-header", - "blaugold.melos-code" - ] -} \ No newline at end of file diff --git a/bricks/wyatt_package/__brick__/.vscode/launch.json b/bricks/wyatt_package/__brick__/.vscode/launch.json deleted file mode 100644 index a5f4f14..0000000 --- a/bricks/wyatt_package/__brick__/.vscode/launch.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - // Use IntelliSense to learn about possible attributes. - // Hover to view descriptions of existing attributes. - // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 - "version": "0.2.0", - "configurations": [ - { - "name": "Launch Example", - "request": "launch", - "type": "dart", - "cwd": "example/", - "program": "lib/main.dart", - "flutterMode": "debug" - }, - ] -} \ No newline at end of file diff --git a/bricks/wyatt_package/__brick__/.vscode/settings.json b/bricks/wyatt_package/__brick__/.vscode/settings.json deleted file mode 100644 index 708f5ba..0000000 --- a/bricks/wyatt_package/__brick__/.vscode/settings.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "psi-header.changes-tracking": { - "isActive": true - }, - "psi-header.config": { - "blankLinesAfter": 1, - "forceToTop": true - }, - "psi-header.lang-config": [ - { - "beforeHeader": [ - "# -*- coding:utf-8 -*-", - "#!/usr/bin/env python3" - ], - "begin": "###", - "end": "###", - "language": "python", - "prefix": "# " - }, - { - "beforeHeader": [ - "#!/usr/bin/env sh", - "" - ], - "language": "shellscript", - "begin": "", - "end": "", - "prefix": "# " - }, - { - "begin": "", - "end": "", - "language": "dart", - "prefix": "// " - }, - { - "begin": "", - "end": "", - "language": "yaml", - "prefix": "# " - }, - { - "begin": "", - "language": "markdown", - }, - ], - "psi-header.templates": [ - { - "language": "*", - "template": [ - "Copyright (C) <> WYATT GROUP", - "Please see the AUTHORS file for details.", - "", - "This program is free software: you can redistribute it and/or modify", - "it under the terms of the GNU General Public License as published by", - "the Free Software Foundation, either version 3 of the License, or", - "any later version.", - "", - "This program is distributed in the hope that it will be useful,", - "but WITHOUT ANY WARRANTY; without even the implied warranty of", - "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the", - "GNU General Public License for more details.", - "", - "You should have received a copy of the GNU General Public License", - "along with this program. If not, see ." - ], - } - ], - "dart.runPubGetOnPubspecChanges": false, -} \ No newline at end of file diff --git a/bricks/wyatt_package/__brick__/AUTHORS b/bricks/wyatt_package/__brick__/AUTHORS deleted file mode 100644 index f950613..0000000 --- a/bricks/wyatt_package/__brick__/AUTHORS +++ /dev/null @@ -1,8 +0,0 @@ -# Below is a list of people and organizations that have contributed -# to this project. Names should be added to the list like so: -# -# Name/Organization - -Wyatt Group S.A.S -Hugo Pointcheval -Malo Léon \ No newline at end of file diff --git a/bricks/wyatt_package/__brick__/CHANGELOG.md b/bricks/wyatt_package/__brick__/CHANGELOG.md deleted file mode 100644 index 7ad72ac..0000000 --- a/bricks/wyatt_package/__brick__/CHANGELOG.md +++ /dev/null @@ -1,3 +0,0 @@ -# 0.0.1 - -- TODO: Describe initial release. diff --git a/bricks/wyatt_package/__brick__/LICENSE b/bricks/wyatt_package/__brick__/LICENSE deleted file mode 100644 index e72bfdd..0000000 --- a/bricks/wyatt_package/__brick__/LICENSE +++ /dev/null @@ -1,674 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they -know their rights. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - - Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . - -Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - Copyright (C) - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -. - - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you -may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read -. \ No newline at end of file diff --git a/bricks/wyatt_package/__brick__/README.md b/bricks/wyatt_package/__brick__/README.md deleted file mode 100644 index 7c8c457..0000000 --- a/bricks/wyatt_package/__brick__/README.md +++ /dev/null @@ -1,54 +0,0 @@ - - -{{#flutter_only}} -# Flutter - Wyatt {{#titleCase}}{{package_name}}{{/titleCase}} - -

- - Style: Wyatt Analysis - - SDK: Flutter -

- -{{#titleCase}}{{package_name}}{{/titleCase}} for Flutter. -{{/flutter_only}} -{{^flutter_only}} -# Dart - Wyatt {{#titleCase}}{{package_name}}{{/titleCase}} - -

- - Style: Wyatt Analysis - - SDK: Dart & Flutter -

- -{{#titleCase}}{{package_name}}{{/titleCase}} for Dart & Flutter. -{{/flutter_only}} - -## Features - - - -## Getting started - - - -## Usage - - \ No newline at end of file diff --git a/bricks/wyatt_package/__brick__/analysis_options.yaml b/bricks/wyatt_package/__brick__/analysis_options.yaml deleted file mode 100644 index 569a59a..0000000 --- a/bricks/wyatt_package/__brick__/analysis_options.yaml +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright (C) {{year}} WYATT GROUP -# Please see the AUTHORS file for details. -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . - -{{#flutter_only}} -include: package:wyatt_analysis/analysis_options.flutter.experimental.yaml -{{/flutter_only}} -{{^flutter_only}} -include: package:wyatt_analysis/analysis_options.yaml -{{/flutter_only}} \ No newline at end of file diff --git a/bricks/wyatt_package/__brick__/example/lib/main.dart b/bricks/wyatt_package/__brick__/example/lib/main.dart deleted file mode 100644 index 9e0ee41..0000000 --- a/bricks/wyatt_package/__brick__/example/lib/main.dart +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright (C) {{year}} WYATT GROUP -// Please see the AUTHORS file for details. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License -// along with this program. If not, see . - -{{#flutter_only}} -import 'package:flutter/material.dart'; -{{/flutter_only}} -import 'package:wyatt_{{package_name.snakeCase()}}/wyatt_{{package_name.snakeCase()}}.dart'; - -{{#flutter_only}} -void main() { - runApp(const MyApp()); -} - -class MyApp extends StatelessWidget { - const MyApp({super.key}); - - // This widget is the root of your application. - @override - Widget build(BuildContext context) { - return MaterialApp( - title: '{{package_name.titleCase()}} Example', - theme: ThemeData( - primarySwatch: Colors.blue, - ), - home: Scaffold( - appBar: AppBar( - title: const Text('{{package_name.titleCase()}} Example'), - ), - body: Center(child: Text(wyatt())), - ), - ); - } -} -{{/flutter_only}} -{{^flutter_only}} -void main() { - print(wyatt()); -} -{{/flutter_only}} \ No newline at end of file diff --git a/bricks/wyatt_package/__brick__/example/pubspec.yaml b/bricks/wyatt_package/__brick__/example/pubspec.yaml deleted file mode 100644 index 0c6fcae..0000000 --- a/bricks/wyatt_package/__brick__/example/pubspec.yaml +++ /dev/null @@ -1,92 +0,0 @@ -name: {{#snakeCase}}{{package_name}}{{/snakeCase}}_example -description: A new Flutter project. - -# The following line prevents the package from being accidentally published to -# pub.dev using `flutter pub publish`. This is preferred for private packages. -publish_to: 'none' # Remove this line if you wish to publish to pub.dev - -# The following defines the version and build number for your application. -# A version number is three numbers separated by dots, like 1.2.43 -# followed by an optional build number separated by a +. -# Both the version and the builder number may be overridden in flutter -# build by specifying --build-name and --build-number, respectively. -# In Android, build-name is used as versionName while build-number used as versionCode. -# Read more about Android versioning at https://developer.android.com/studio/publish/versioning -# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. -# Read more about iOS versioning at -# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html -version: 1.0.0+1 - -environment: - sdk: ">=2.17.0 <3.0.0" - -# Dependencies specify other packages that your package needs in order to work. -# To automatically upgrade your package dependencies to the latest versions -# consider running `flutter pub upgrade --major-versions`. Alternatively, -# dependencies can be manually updated by changing the version numbers below to -# the latest version available on pub.dev. To see which dependencies have newer -# versions available, run `flutter pub outdated`. -dependencies: - {{#flutter_only}} - flutter: - sdk: flutter - {{/flutter_only}} - - wyatt_{{#snakeCase}}{{package_name}}{{/snakeCase}}: - path: "../" - -dev_dependencies: - {{#flutter_only}} - flutter_test: - sdk: flutter - {{/flutter_only}} - - wyatt_analysis: - git: - url: https://git.wyatt-studio.fr/Wyatt-FOSS/wyatt-packages - ref: wyatt_analysis-v2.1.0 - path: packages/wyatt_analysis - -# For information on the generic Dart part of this file, see the -# following page: https://dart.dev/tools/pub/pubspec - -{{#flutter_only}} -# The following section is specific to Flutter. -flutter: - - # The following line ensures that the Material Icons font is - # included with your application, so that you can use the icons in - # the material Icons class. - uses-material-design: true - - # To add assets to your application, add an assets section, like this: - # assets: - # - images/a_dot_burr.jpeg - # - images/a_dot_ham.jpeg - - # An image asset can refer to one or more resolution-specific "variants", see - # https://flutter.dev/assets-and-images/#resolution-aware. - - # For details regarding adding assets from package dependencies, see - # https://flutter.dev/assets-and-images/#from-packages - - # To add custom fonts to your application, add a fonts section here, - # in this "flutter" section. Each entry in this list should have a - # "family" key with the font family name, and a "fonts" key with a - # list giving the asset and other descriptors for the font. For - # example: - # fonts: - # - family: Schyler - # fonts: - # - asset: fonts/Schyler-Regular.ttf - # - asset: fonts/Schyler-Italic.ttf - # style: italic - # - family: Trajan Pro - # fonts: - # - asset: fonts/TrajanPro.ttf - # - asset: fonts/TrajanPro_Bold.ttf - # weight: 700 - # - # For details regarding fonts from package dependencies, - # see https://flutter.dev/custom-fonts/#from-packages -{{/flutter_only}} \ No newline at end of file diff --git a/bricks/wyatt_package/__brick__/example/test/widget_test.dart b/bricks/wyatt_package/__brick__/example/test/widget_test.dart deleted file mode 100644 index 437162e..0000000 --- a/bricks/wyatt_package/__brick__/example/test/widget_test.dart +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright (C) {{year}} WYATT GROUP -// Please see the AUTHORS file for details. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License -// along with this program. If not, see . \ No newline at end of file diff --git a/bricks/wyatt_package/__brick__/example/web/favicon.png b/bricks/wyatt_package/__brick__/example/web/favicon.png deleted file mode 100644 index 8aaa46a..0000000 Binary files a/bricks/wyatt_package/__brick__/example/web/favicon.png and /dev/null differ diff --git a/bricks/wyatt_package/__brick__/example/web/icons/Icon-192.png b/bricks/wyatt_package/__brick__/example/web/icons/Icon-192.png deleted file mode 100644 index b749bfe..0000000 Binary files a/bricks/wyatt_package/__brick__/example/web/icons/Icon-192.png and /dev/null differ diff --git a/bricks/wyatt_package/__brick__/example/web/icons/Icon-512.png b/bricks/wyatt_package/__brick__/example/web/icons/Icon-512.png deleted file mode 100644 index 88cfd48..0000000 Binary files a/bricks/wyatt_package/__brick__/example/web/icons/Icon-512.png and /dev/null differ diff --git a/bricks/wyatt_package/__brick__/example/web/icons/Icon-maskable-192.png b/bricks/wyatt_package/__brick__/example/web/icons/Icon-maskable-192.png deleted file mode 100644 index eb9b4d7..0000000 Binary files a/bricks/wyatt_package/__brick__/example/web/icons/Icon-maskable-192.png and /dev/null differ diff --git a/bricks/wyatt_package/__brick__/example/web/icons/Icon-maskable-512.png b/bricks/wyatt_package/__brick__/example/web/icons/Icon-maskable-512.png deleted file mode 100644 index d69c566..0000000 Binary files a/bricks/wyatt_package/__brick__/example/web/icons/Icon-maskable-512.png and /dev/null differ diff --git a/bricks/wyatt_package/__brick__/example/web/index.html b/bricks/wyatt_package/__brick__/example/web/index.html deleted file mode 100644 index 41b3bc3..0000000 --- a/bricks/wyatt_package/__brick__/example/web/index.html +++ /dev/null @@ -1,58 +0,0 @@ - - - - - - - - - - - - - - - - - - - - example - - - - - - - - - - diff --git a/bricks/wyatt_package/__brick__/example/web/manifest.json b/bricks/wyatt_package/__brick__/example/web/manifest.json deleted file mode 100644 index 096edf8..0000000 --- a/bricks/wyatt_package/__brick__/example/web/manifest.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "name": "example", - "short_name": "example", - "start_url": ".", - "display": "standalone", - "background_color": "#0175C2", - "theme_color": "#0175C2", - "description": "A new Flutter project.", - "orientation": "portrait-primary", - "prefer_related_applications": false, - "icons": [ - { - "src": "icons/Icon-192.png", - "sizes": "192x192", - "type": "image/png" - }, - { - "src": "icons/Icon-512.png", - "sizes": "512x512", - "type": "image/png" - }, - { - "src": "icons/Icon-maskable-192.png", - "sizes": "192x192", - "type": "image/png", - "purpose": "maskable" - }, - { - "src": "icons/Icon-maskable-512.png", - "sizes": "512x512", - "type": "image/png", - "purpose": "maskable" - } - ] -} diff --git a/bricks/wyatt_package/__brick__/lib/src/package.dart b/bricks/wyatt_package/__brick__/lib/src/package.dart deleted file mode 100644 index f315c9c..0000000 --- a/bricks/wyatt_package/__brick__/lib/src/package.dart +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright (C) {{year}} WYATT GROUP -// Please see the AUTHORS file for details. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License -// along with this program. If not, see . - -String wyatt() => "wyatt_{{package_name.snakeCase()}}"; \ No newline at end of file diff --git a/bricks/wyatt_package/__brick__/lib/src/src.dart b/bricks/wyatt_package/__brick__/lib/src/src.dart deleted file mode 100644 index c5d6e28..0000000 --- a/bricks/wyatt_package/__brick__/lib/src/src.dart +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright (C) {{year}} WYATT GROUP -// Please see the AUTHORS file for details. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License -// along with this program. If not, see . - -export 'package.dart'; \ No newline at end of file diff --git a/bricks/wyatt_package/__brick__/lib/wyatt_{{package_name.snakeCase()}}.dart b/bricks/wyatt_package/__brick__/lib/wyatt_{{package_name.snakeCase()}}.dart deleted file mode 100644 index e271015..0000000 --- a/bricks/wyatt_package/__brick__/lib/wyatt_{{package_name.snakeCase()}}.dart +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright (C) {{year}} WYATT GROUP -// Please see the AUTHORS file for details. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License -// along with this program. If not, see . - -/// {{package_name.titleCase()}} -library wyatt_{{package_name.snakeCase()}}; - -export 'src/src.dart'; diff --git a/bricks/wyatt_package/__brick__/pubspec.yaml b/bricks/wyatt_package/__brick__/pubspec.yaml deleted file mode 100644 index 612f40b..0000000 --- a/bricks/wyatt_package/__brick__/pubspec.yaml +++ /dev/null @@ -1,26 +0,0 @@ -name: wyatt_{{#snakeCase}}{{package_name}}{{/snakeCase}} -description: {{description}} -repository: https://git.wyatt-studio.fr/Wyatt-FOSS/wyatt-packages/src/branch/master/packages/wyatt_{{#snakeCase}}{{package_name}}{{/snakeCase}} -version: 0.0.1 - -environment: - sdk: '>=2.17.0 <3.0.0' - -dependencies: - {{#flutter_only}} - flutter: - sdk: flutter - {{/flutter_only}} - http: ^0.13.4 - -dev_dependencies: - {{#flutter_only}} - flutter_test: - sdk: flutter - {{/flutter_only}} - - wyatt_analysis: - git: - url: https://git.wyatt-studio.fr/Wyatt-FOSS/wyatt-packages - ref: wyatt_analysis-v2.1.0 - path: packages/wyatt_analysis \ No newline at end of file diff --git a/bricks/wyatt_package/__brick__/test/wyatt_{{package_name.snakeCase()}}_test.dart b/bricks/wyatt_package/__brick__/test/wyatt_{{package_name.snakeCase()}}_test.dart deleted file mode 100644 index 493adb1..0000000 --- a/bricks/wyatt_package/__brick__/test/wyatt_{{package_name.snakeCase()}}_test.dart +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright (C) {{year}} WYATT GROUP -// Please see the AUTHORS file for details. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License -// along with this program. If not, see . - -// TODO(wyatt): Add some tests \ No newline at end of file diff --git a/bricks/wyatt_package/brick.yaml b/bricks/wyatt_package/brick.yaml deleted file mode 100644 index 07f3cdd..0000000 --- a/bricks/wyatt_package/brick.yaml +++ /dev/null @@ -1,40 +0,0 @@ -name: wyatt_package -description: A package generator following Wyatt Studio convention. - -# The following defines the version and build number for your brick. -# A version number is three numbers separated by dots, like 1.2.34 -# followed by an optional build number (separated by a +). -version: 0.1.0+1 - -# The following defines the environment for the current brick. -# It includes the version of mason that the brick requires. -environment: - mason: ">=0.1.0-dev.26 <0.1.0" - -# Variables specify dynamic values that your brick depends on. -# Zero or more variables can be specified for a given brick. -# Each variable has: -# * a type (string, number, boolean, enum, or array) -# * an optional short description -# * an optional default value -# * an optional list of default values (array only) -# * an optional prompt phrase used when asking for the variable -# * a list of values (enums only) -vars: - package_name: - type: string - description: Package name (without wyatt prefix) - default: package - prompt: What is the package name ? - - description: - type: string - description: A short package description - default: A new Wyatt package - prompt: "What is the package description?" - - flutter_only: - type: boolean - description: Should generate a plugin (Flutter only) or a package (Dart and Flutter). - default: false - prompt: Should generate Flutter only plugin ? diff --git a/bricks/wyatt_package/hooks/pre_gen.dart b/bricks/wyatt_package/hooks/pre_gen.dart deleted file mode 100644 index eccf6d7..0000000 --- a/bricks/wyatt_package/hooks/pre_gen.dart +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright (C) 2022 WYATT GROUP -// Please see the AUTHORS file for details. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License -// along with this program. If not, see . - -import 'package:mason/mason.dart'; - -void run(HookContext context) { - context.vars = {...context.vars, 'year': DateTime.now().year.toString()}; -} \ No newline at end of file diff --git a/bricks/wyatt_package/hooks/pubspec.yaml b/bricks/wyatt_package/hooks/pubspec.yaml deleted file mode 100644 index 77be56e..0000000 --- a/bricks/wyatt_package/hooks/pubspec.yaml +++ /dev/null @@ -1,7 +0,0 @@ -name: wyatt_package_hooks - -environment: - sdk: ">=2.17.0 <3.0.0" - -dependencies: - mason: any \ No newline at end of file diff --git a/mason.yaml b/mason.yaml index c62a7fd..62dd13f 100644 --- a/mason.yaml +++ b/mason.yaml @@ -1,10 +1,4 @@ bricks: - core_app_brick: - path: bricks/core_app_brick - wyatt_package: - path: bricks/wyatt_package - wyatt_clean_code: - path: bricks/wyatt_clean_code wyatt_feature_brick: path: bricks/wyatt_feature_brick wyatt_brick_template: