From cacbfc5fda24b4d08940150d9f34a281a8a5cdfb Mon Sep 17 00:00:00 2001 From: Tony Bark <35226681+tonytins@users.noreply.github.com> Date: Mon, 5 Sep 2022 13:56:05 -0400 Subject: [PATCH] Massive overhaul - The project was restarted using Android Studio. - Adoptive platform-specific widgets has been removed due to build issues with Android. - Dual-licensed under the BSD-3-Clause license and UNLICENSE. --- .gitignore | 31 +++- .idea/.gitignore | 3 - .idea/libraries/Dart_SDK.xml | 31 ++-- .idea/runConfigurations.xml | 10 -- .idea/vcs.xml | 2 +- .idea/workspace.xml | 144 ++++++++++++------ .metadata | 36 ++++- .vscode/tasks.json | 7 + LICENSE | 45 +++--- README.md | 11 +- Todo.md | 6 +- UNLICENSE | 24 +++ analysis_options.yaml | 29 ++++ android/.gitignore | 2 + android/app/build.gradle | 20 ++- android/app/src/debug/AndroidManifest.xml | 5 +- android/app/src/main/AndroidManifest.xml | 15 +- .../bullseye}/bullseye/MainActivity.kt | 2 +- .../app/src/main/res/values-night/styles.xml | 4 +- android/app/src/main/res/values/styles.xml | 4 +- android/app/src/profile/AndroidManifest.xml | 5 +- android/build.gradle | 8 +- android/bullseye_android.iml | 4 +- .../gradle/wrapper/gradle-wrapper.properties | 3 +- bullseye.iml | 11 +- ios/.gitignore | 2 + ios/Flutter/AppFrameworkInfo.plist | 2 +- ios/Podfile | 2 +- ios/Podfile.lock | 22 --- ios/Runner.xcodeproj/project.pbxproj | 102 +++---------- .../xcshareddata/xcschemes/Runner.xcscheme | 10 +- .../contents.xcworkspacedata | 3 - ios/Runner/Info.plist | 10 +- lib/control.dart | 15 +- lib/main.dart | 30 ++-- lib/prompt.dart | 5 +- lib/score.dart | 17 +-- linux/CMakeLists.txt | 50 ++++-- linux/flutter/CMakeLists.txt | 7 +- linux/flutter/generated_plugin_registrant.cc | 2 + linux/flutter/generated_plugin_registrant.h | 2 + linux/flutter/generated_plugins.cmake | 8 + linux/my_application.cc | 24 +-- macos/.gitignore | 1 + macos/Podfile.lock | 8 +- macos/Runner.xcodeproj/project.pbxproj | 85 ++++++----- .../xcshareddata/xcschemes/Runner.xcscheme | 10 +- .../AppIcon.appiconset/app_icon_1024.png | Bin 46993 -> 102994 bytes .../AppIcon.appiconset/app_icon_128.png | Bin 3276 -> 5680 bytes .../AppIcon.appiconset/app_icon_16.png | Bin 1429 -> 520 bytes .../AppIcon.appiconset/app_icon_256.png | Bin 5933 -> 14142 bytes .../AppIcon.appiconset/app_icon_32.png | Bin 1243 -> 1066 bytes .../AppIcon.appiconset/app_icon_512.png | Bin 14800 -> 36406 bytes .../AppIcon.appiconset/app_icon_64.png | Bin 1874 -> 2218 bytes macos/Runner/Base.lproj/MainMenu.xib | 4 + macos/Runner/Configs/AppInfo.xcconfig | 6 +- macos/Runner/Info.plist | 2 - macos/Runner/MainFlutterWindow.swift | 8 +- pubspec.yaml | 39 +++-- web/favicon.png | Bin 917 -> 0 bytes web/icons/Icon-192.png | Bin 5292 -> 0 bytes web/icons/Icon-512.png | Bin 8252 -> 0 bytes web/index.html | 45 ------ web/manifest.json | 23 --- windows/CMakeLists.txt | 22 ++- windows/flutter/CMakeLists.txt | 3 +- .../flutter/generated_plugin_registrant.cc | 2 + windows/flutter/generated_plugin_registrant.h | 2 + windows/flutter/generated_plugins.cmake | 8 + windows/runner/CMakeLists.txt | 25 ++- windows/runner/Runner.rc | 16 +- windows/runner/flutter_window.cpp | 9 +- windows/runner/flutter_window.h | 10 +- windows/runner/main.cpp | 14 +- windows/runner/run_loop.cpp | 66 -------- windows/runner/run_loop.h | 40 ----- windows/runner/runner.exe.manifest | 2 +- windows/runner/utils.cpp | 6 +- 78 files changed, 612 insertions(+), 619 deletions(-) delete mode 100644 .idea/.gitignore delete mode 100644 .idea/runConfigurations.xml create mode 100644 UNLICENSE create mode 100644 analysis_options.yaml rename android/app/src/main/kotlin/com/{example => tonybark/bullseye}/bullseye/MainActivity.kt (71%) delete mode 100644 ios/Podfile.lock delete mode 100644 web/favicon.png delete mode 100644 web/icons/Icon-192.png delete mode 100644 web/icons/Icon-512.png delete mode 100644 web/index.html delete mode 100644 web/manifest.json delete mode 100644 windows/runner/run_loop.cpp delete mode 100644 windows/runner/run_loop.h diff --git a/.gitignore b/.gitignore index 417f110..6a5d2df 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,7 @@ # File created using '.gitignore Generator' for Visual Studio Code: https://bit.ly/vscode-gig -# Created by https://www.toptal.com/developers/gitignore/api/windows,macos,linux,flutter,dart,backup,jetbrains+iml -# Edit at https://www.toptal.com/developers/gitignore?templates=windows,macos,linux,flutter,dart,backup,jetbrains+iml +# Created by https://www.toptal.com/developers/gitignore/api/windows,macos,linux,jetbrains+iml,flutter,dart,backup +# Edit at https://www.toptal.com/developers/gitignore?templates=windows,macos,linux,jetbrains+iml,flutter,dart,backup ### Backup ### *.bak @@ -24,6 +24,9 @@ pubspec.lock # If you don't generate documentation locally you can remove this line. doc/api/ +# dotenv environment variables file +.env* + # Avoid committing generated Javascript files: *.dart.js *.info.json # Produced by the --dump-info flag. @@ -33,11 +36,16 @@ doc/api/ *.js.deps *.js.map +.flutter-plugins +.flutter-plugins-dependencies + +### Dart Patch ### +# dotenv environment variables file +.env + ### Flutter ### # Flutter/Dart/Pub related **/doc/api/ -.flutter-plugins -.flutter-plugins-dependencies .fvm/ .pub-cache/ .pub/ @@ -105,6 +113,9 @@ lib/generated_plugin_registrant.dart .idea/**/dictionaries .idea/**/shelf +# AWS User-specific +.idea/**/aws.xml + # Generated files .idea/**/contentModel.xml @@ -155,6 +166,9 @@ atlassian-ide-plugin.xml # Cursive Clojure plugin .idea/replstate.xml +# SonarLint plugin +.idea/sonarlint/ + # Crashlytics plugin (for Android Studio and IntelliJ) com_crashlytics_export_strings.xml crashlytics.properties @@ -219,6 +233,10 @@ Network Trash Folder Temporary Items .apdisk +### macOS Patch ### +# iCloud generated files +*.icloud + ### Windows ### # Windows thumbnail cache files Thumbs.db @@ -245,6 +263,7 @@ $RECYCLE.BIN/ # Windows shortcuts *.lnk -# End of https://www.toptal.com/developers/gitignore/api/windows,macos,linux,flutter,dart,backup,jetbrains+iml +# End of https://www.toptal.com/developers/gitignore/api/windows,macos,linux,jetbrains+iml,flutter,dart,backup + +# Custom rules (everything added below won't be overriden by 'Generate .gitignore File' if you use 'Update' option) -# Custom rules (everything added below won't be overriden by 'Generate .gitignore File' if you use 'Update' option) \ No newline at end of file diff --git a/.idea/.gitignore b/.idea/.gitignore deleted file mode 100644 index 26d3352..0000000 --- a/.idea/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -# Default ignored files -/shelf/ -/workspace.xml diff --git a/.idea/libraries/Dart_SDK.xml b/.idea/libraries/Dart_SDK.xml index 5f37b83..4dd73cc 100644 --- a/.idea/libraries/Dart_SDK.xml +++ b/.idea/libraries/Dart_SDK.xml @@ -1,26 +1,17 @@ - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + diff --git a/.idea/runConfigurations.xml b/.idea/runConfigurations.xml deleted file mode 100644 index 797acea..0000000 --- a/.idea/runConfigurations.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml index 94a25f7..35eb1dd 100644 --- a/.idea/vcs.xml +++ b/.idea/vcs.xml @@ -1,6 +1,6 @@ - + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 161bf5f..9e7438e 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -4,33 +4,85 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - + +