@marcos_feitoza/personal-finance-frontend-core-ui 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.circleci/config.yml +23 -0
- package/.metadata +45 -0
- package/CHANGELOG.md +26 -0
- package/README.md +16 -0
- package/analysis_options.yaml +28 -0
- package/android/app/build.gradle.kts +44 -0
- package/android/app/src/debug/AndroidManifest.xml +7 -0
- package/android/app/src/main/AndroidManifest.xml +45 -0
- package/android/app/src/main/kotlin/com/example/personal_finance_frontend_core_ui/MainActivity.kt +5 -0
- package/android/app/src/main/res/drawable/launch_background.xml +12 -0
- package/android/app/src/main/res/drawable-v21/launch_background.xml +12 -0
- package/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
- package/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
- package/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
- package/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
- package/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
- package/android/app/src/main/res/values/styles.xml +18 -0
- package/android/app/src/main/res/values-night/styles.xml +18 -0
- package/android/app/src/profile/AndroidManifest.xml +7 -0
- package/android/build.gradle.kts +21 -0
- package/android/gradle/wrapper/gradle-wrapper.properties +5 -0
- package/android/gradle.properties +3 -0
- package/android/settings.gradle.kts +25 -0
- package/ios/Flutter/AppFrameworkInfo.plist +26 -0
- package/ios/Flutter/Debug.xcconfig +1 -0
- package/ios/Flutter/Release.xcconfig +1 -0
- package/ios/Runner/AppDelegate.swift +13 -0
- package/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json +122 -0
- package/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png +0 -0
- package/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png +0 -0
- package/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png +0 -0
- package/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png +0 -0
- package/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png +0 -0
- package/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png +0 -0
- package/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png +0 -0
- package/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png +0 -0
- package/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png +0 -0
- package/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png +0 -0
- package/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png +0 -0
- package/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png +0 -0
- package/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png +0 -0
- package/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png +0 -0
- package/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png +0 -0
- package/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json +23 -0
- package/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png +0 -0
- package/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png +0 -0
- package/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png +0 -0
- package/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md +5 -0
- package/ios/Runner/Base.lproj/LaunchScreen.storyboard +37 -0
- package/ios/Runner/Base.lproj/Main.storyboard +26 -0
- package/ios/Runner/Info.plist +49 -0
- package/ios/Runner/Runner-Bridging-Header.h +1 -0
- package/ios/Runner.xcodeproj/project.pbxproj +619 -0
- package/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- package/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- package/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings +8 -0
- package/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +101 -0
- package/ios/Runner.xcworkspace/contents.xcworkspacedata +7 -0
- package/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- package/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings +8 -0
- package/ios/RunnerTests/RunnerTests.swift +12 -0
- package/lib/main.dart +122 -0
- package/lib/personal_finance_frontend_core_ui.dart +1 -0
- package/lib/utils/currency_input_formatter.dart +49 -0
- package/lib/utils/currency_utils.dart +14 -0
- package/lib/utils/theme_notifier.dart +33 -0
- package/lib/widgets/app_widgets.dart +405 -0
- package/lib/widgets/crypto_trade_form.dart +357 -0
- package/lib/widgets/dividend_log_form.dart +151 -0
- package/lib/widgets/edit_transaction_dialog.dart +112 -0
- package/lib/widgets/expense_form.dart +238 -0
- package/lib/widgets/investment_form.dart +223 -0
- package/lib/widgets/rrsp_contribution_form.dart +157 -0
- package/lib/widgets/salary_form.dart +152 -0
- package/lib/widgets/trade_form.dart +374 -0
- package/lib/widgets/user_profile_avatar.dart +60 -0
- package/linux/CMakeLists.txt +128 -0
- package/linux/flutter/CMakeLists.txt +88 -0
- package/linux/flutter/generated_plugin_registrant.cc +11 -0
- package/linux/flutter/generated_plugin_registrant.h +15 -0
- package/linux/flutter/generated_plugins.cmake +23 -0
- package/linux/runner/CMakeLists.txt +26 -0
- package/linux/runner/main.cc +6 -0
- package/linux/runner/my_application.cc +130 -0
- package/linux/runner/my_application.h +18 -0
- package/macos/Flutter/Flutter-Debug.xcconfig +1 -0
- package/macos/Flutter/Flutter-Release.xcconfig +1 -0
- package/macos/Flutter/GeneratedPluginRegistrant.swift +10 -0
- package/macos/Runner/AppDelegate.swift +13 -0
- package/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json +68 -0
- package/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png +0 -0
- package/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png +0 -0
- package/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png +0 -0
- package/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png +0 -0
- package/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png +0 -0
- package/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png +0 -0
- package/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png +0 -0
- package/macos/Runner/Base.lproj/MainMenu.xib +343 -0
- package/macos/Runner/Configs/AppInfo.xcconfig +14 -0
- package/macos/Runner/Configs/Debug.xcconfig +2 -0
- package/macos/Runner/Configs/Release.xcconfig +2 -0
- package/macos/Runner/Configs/Warnings.xcconfig +13 -0
- package/macos/Runner/DebugProfile.entitlements +12 -0
- package/macos/Runner/Info.plist +32 -0
- package/macos/Runner/MainFlutterWindow.swift +15 -0
- package/macos/Runner/Release.entitlements +8 -0
- package/macos/Runner.xcodeproj/project.pbxproj +705 -0
- package/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- package/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +99 -0
- package/macos/Runner.xcworkspace/contents.xcworkspacedata +7 -0
- package/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- package/macos/RunnerTests/RunnerTests.swift +12 -0
- package/package.json +29 -0
- package/pubspec.yaml +94 -0
- package/test/widget_test.dart +30 -0
- package/web/favicon.png +0 -0
- package/web/icons/Icon-192.png +0 -0
- package/web/icons/Icon-512.png +0 -0
- package/web/icons/Icon-maskable-192.png +0 -0
- package/web/icons/Icon-maskable-512.png +0 -0
- package/web/index.html +38 -0
- package/web/manifest.json +35 -0
- package/windows/CMakeLists.txt +108 -0
- package/windows/flutter/CMakeLists.txt +109 -0
- package/windows/flutter/generated_plugin_registrant.cc +11 -0
- package/windows/flutter/generated_plugin_registrant.h +15 -0
- package/windows/flutter/generated_plugins.cmake +23 -0
- package/windows/runner/CMakeLists.txt +40 -0
- package/windows/runner/Runner.rc +121 -0
- package/windows/runner/flutter_window.cpp +71 -0
- package/windows/runner/flutter_window.h +33 -0
- package/windows/runner/main.cpp +43 -0
- package/windows/runner/resource.h +16 -0
- package/windows/runner/resources/app_icon.ico +0 -0
- package/windows/runner/runner.exe.manifest +14 -0
- package/windows/runner/utils.cpp +65 -0
- package/windows/runner/utils.h +19 -0
- package/windows/runner/win32_window.cpp +288 -0
- package/windows/runner/win32_window.h +102 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
version: 2.1
|
|
2
|
+
|
|
3
|
+
jobs:
|
|
4
|
+
release:
|
|
5
|
+
docker:
|
|
6
|
+
- image: circleci/node:latest
|
|
7
|
+
steps:
|
|
8
|
+
- checkout
|
|
9
|
+
- run:
|
|
10
|
+
name: Install dependencies
|
|
11
|
+
command: npm install
|
|
12
|
+
- run:
|
|
13
|
+
name: Run semantic-release
|
|
14
|
+
command: npx semantic-release
|
|
15
|
+
|
|
16
|
+
workflows:
|
|
17
|
+
build-and-release:
|
|
18
|
+
jobs:
|
|
19
|
+
- release:
|
|
20
|
+
filters:
|
|
21
|
+
branches:
|
|
22
|
+
only:
|
|
23
|
+
- main
|
package/.metadata
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# This file tracks properties of this Flutter project.
|
|
2
|
+
# Used by Flutter tool to assess capabilities and perform upgrades etc.
|
|
3
|
+
#
|
|
4
|
+
# This file should be version controlled and should not be manually edited.
|
|
5
|
+
|
|
6
|
+
version:
|
|
7
|
+
revision: "fcf2c11572af6f390246c056bc905eca609533a0"
|
|
8
|
+
channel: "stable"
|
|
9
|
+
|
|
10
|
+
project_type: app
|
|
11
|
+
|
|
12
|
+
# Tracks metadata for the flutter migrate command
|
|
13
|
+
migration:
|
|
14
|
+
platforms:
|
|
15
|
+
- platform: root
|
|
16
|
+
create_revision: fcf2c11572af6f390246c056bc905eca609533a0
|
|
17
|
+
base_revision: fcf2c11572af6f390246c056bc905eca609533a0
|
|
18
|
+
- platform: android
|
|
19
|
+
create_revision: fcf2c11572af6f390246c056bc905eca609533a0
|
|
20
|
+
base_revision: fcf2c11572af6f390246c056bc905eca609533a0
|
|
21
|
+
- platform: ios
|
|
22
|
+
create_revision: fcf2c11572af6f390246c056bc905eca609533a0
|
|
23
|
+
base_revision: fcf2c11572af6f390246c056bc905eca609533a0
|
|
24
|
+
- platform: linux
|
|
25
|
+
create_revision: fcf2c11572af6f390246c056bc905eca609533a0
|
|
26
|
+
base_revision: fcf2c11572af6f390246c056bc905eca609533a0
|
|
27
|
+
- platform: macos
|
|
28
|
+
create_revision: fcf2c11572af6f390246c056bc905eca609533a0
|
|
29
|
+
base_revision: fcf2c11572af6f390246c056bc905eca609533a0
|
|
30
|
+
- platform: web
|
|
31
|
+
create_revision: fcf2c11572af6f390246c056bc905eca609533a0
|
|
32
|
+
base_revision: fcf2c11572af6f390246c056bc905eca609533a0
|
|
33
|
+
- platform: windows
|
|
34
|
+
create_revision: fcf2c11572af6f390246c056bc905eca609533a0
|
|
35
|
+
base_revision: fcf2c11572af6f390246c056bc905eca609533a0
|
|
36
|
+
|
|
37
|
+
# User provided section
|
|
38
|
+
|
|
39
|
+
# List of Local paths (relative to this file) that should be
|
|
40
|
+
# ignored by the migrate tool.
|
|
41
|
+
#
|
|
42
|
+
# Files that are not part of the templates will be ignored by default.
|
|
43
|
+
unmanaged_files:
|
|
44
|
+
- 'lib/main.dart'
|
|
45
|
+
- 'ios/Runner.xcodeproj/project.pbxproj'
|
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# 1.0.0 (2025-11-22)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* add bak sell option for sell ([9902789](https://github.com/MarcosOps/personal-finance-frontend-core-ui/commit/99027892a16519e061ed5df52517aa6d6e695ef0))
|
|
7
|
+
* add crypto live price working ([1dba6c3](https://github.com/MarcosOps/personal-finance-frontend-core-ui/commit/1dba6c3a097a69a5338db5be0f594e17bd3c5b21))
|
|
8
|
+
* add currency class ([00c5ae9](https://github.com/MarcosOps/personal-finance-frontend-core-ui/commit/00c5ae91762760fbadaf883effcda3112540c032))
|
|
9
|
+
* add date logs ([6f6d478](https://github.com/MarcosOps/personal-finance-frontend-core-ui/commit/6f6d4786194223d7cd18640b7203e719a2666495))
|
|
10
|
+
* add ignore and more estilo ([732ba6b](https://github.com/MarcosOps/personal-finance-frontend-core-ui/commit/732ba6b44a8e82932b1f06d91d79c67a44238d9e))
|
|
11
|
+
* add new classes ([6d131af](https://github.com/MarcosOps/personal-finance-frontend-core-ui/commit/6d131af3874ed15a6707edfe09669a7da65e20c7))
|
|
12
|
+
* amount funcionando ([75ceaec](https://github.com/MarcosOps/personal-finance-frontend-core-ui/commit/75ceaec6a939aa0084e40225c4290d4265d38d08))
|
|
13
|
+
* crypto is live ([954c804](https://github.com/MarcosOps/personal-finance-frontend-core-ui/commit/954c8046a5ff758f9e6586ba7a42c39585abdf41))
|
|
14
|
+
* dark mode funcionando ([25c3978](https://github.com/MarcosOps/personal-finance-frontend-core-ui/commit/25c397897d1cfa6477d14a1a3eb1aff470cd50d8))
|
|
15
|
+
* fix version ([8e304c2](https://github.com/MarcosOps/personal-finance-frontend-core-ui/commit/8e304c2be761dbb103d2f1ab9e64c99d17e51ca0))
|
|
16
|
+
* home page ok ([f905807](https://github.com/MarcosOps/personal-finance-frontend-core-ui/commit/f905807e21462a8bcbc5ba39c48726b426f16e59))
|
|
17
|
+
* rrsp SL; rpsp e retourn nao mais madatorios ([090f2b3](https://github.com/MarcosOps/personal-finance-frontend-core-ui/commit/090f2b355ebb313dce9c042862291f0e6f0b3824))
|
|
18
|
+
* stock validating ([656ee14](https://github.com/MarcosOps/personal-finance-frontend-core-ui/commit/656ee14b8d086e2e2819c1143298aa985f315b15))
|
|
19
|
+
* update import ([c7016bd](https://github.com/MarcosOps/personal-finance-frontend-core-ui/commit/c7016bdbfc3d59a4716327a39936ee8dc927e168))
|
|
20
|
+
* validation of crypt working ([1a66dde](https://github.com/MarcosOps/personal-finance-frontend-core-ui/commit/1a66dde56391cb0e7008a36af7cba2b6ccce5d35))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### Features
|
|
24
|
+
|
|
25
|
+
* Add token parameter ([3a60a4c](https://github.com/MarcosOps/personal-finance-frontend-core-ui/commit/3a60a4c2fe552844d9ac1b102bdf2fe9096a394b))
|
|
26
|
+
* add avatar files ([34a6aa8](https://github.com/MarcosOps/personal-finance-frontend-core-ui/commit/34a6aa855efe0f531a69f213f1817747900a0327))
|
package/README.md
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# personal_finance_frontend_core_ui
|
|
2
|
+
|
|
3
|
+
A new Flutter project.
|
|
4
|
+
|
|
5
|
+
## Getting Started
|
|
6
|
+
|
|
7
|
+
This project is a starting point for a Flutter application.
|
|
8
|
+
|
|
9
|
+
A few resources to get you started if this is your first Flutter project:
|
|
10
|
+
|
|
11
|
+
- [Lab: Write your first Flutter app](https://docs.flutter.dev/get-started/codelab)
|
|
12
|
+
- [Cookbook: Useful Flutter samples](https://docs.flutter.dev/cookbook)
|
|
13
|
+
|
|
14
|
+
For help getting started with Flutter development, view the
|
|
15
|
+
[online documentation](https://docs.flutter.dev/), which offers tutorials,
|
|
16
|
+
samples, guidance on mobile development, and a full API reference.
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# This file configures the analyzer, which statically analyzes Dart code to
|
|
2
|
+
# check for errors, warnings, and lints.
|
|
3
|
+
#
|
|
4
|
+
# The issues identified by the analyzer are surfaced in the UI of Dart-enabled
|
|
5
|
+
# IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be
|
|
6
|
+
# invoked from the command line by running `flutter analyze`.
|
|
7
|
+
|
|
8
|
+
# The following line activates a set of recommended lints for Flutter apps,
|
|
9
|
+
# packages, and plugins designed to encourage good coding practices.
|
|
10
|
+
include: package:flutter_lints/flutter.yaml
|
|
11
|
+
|
|
12
|
+
linter:
|
|
13
|
+
# The lint rules applied to this project can be customized in the
|
|
14
|
+
# section below to disable rules from the `package:flutter_lints/flutter.yaml`
|
|
15
|
+
# included above or to enable additional rules. A list of all available lints
|
|
16
|
+
# and their documentation is published at https://dart.dev/lints.
|
|
17
|
+
#
|
|
18
|
+
# Instead of disabling a lint rule for the entire project in the
|
|
19
|
+
# section below, it can also be suppressed for a single line of code
|
|
20
|
+
# or a specific dart file by using the `// ignore: name_of_lint` and
|
|
21
|
+
# `// ignore_for_file: name_of_lint` syntax on the line or in the file
|
|
22
|
+
# producing the lint.
|
|
23
|
+
rules:
|
|
24
|
+
# avoid_print: false # Uncomment to disable the `avoid_print` rule
|
|
25
|
+
# prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule
|
|
26
|
+
|
|
27
|
+
# Additional information about this file can be found at
|
|
28
|
+
# https://dart.dev/guides/language/analysis-options
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
plugins {
|
|
2
|
+
id("com.android.application")
|
|
3
|
+
id("kotlin-android")
|
|
4
|
+
// The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins.
|
|
5
|
+
id("dev.flutter.flutter-gradle-plugin")
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
android {
|
|
9
|
+
namespace = "com.example.personal_finance_frontend_core_ui"
|
|
10
|
+
compileSdk = flutter.compileSdkVersion
|
|
11
|
+
ndkVersion = flutter.ndkVersion
|
|
12
|
+
|
|
13
|
+
compileOptions {
|
|
14
|
+
sourceCompatibility = JavaVersion.VERSION_11
|
|
15
|
+
targetCompatibility = JavaVersion.VERSION_11
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
kotlinOptions {
|
|
19
|
+
jvmTarget = JavaVersion.VERSION_11.toString()
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
defaultConfig {
|
|
23
|
+
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
|
|
24
|
+
applicationId = "com.example.personal_finance_frontend_core_ui"
|
|
25
|
+
// You can update the following values to match your application needs.
|
|
26
|
+
// For more information, see: https://flutter.dev/to/review-gradle-config.
|
|
27
|
+
minSdk = flutter.minSdkVersion
|
|
28
|
+
targetSdk = flutter.targetSdkVersion
|
|
29
|
+
versionCode = flutter.versionCode
|
|
30
|
+
versionName = flutter.versionName
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
buildTypes {
|
|
34
|
+
release {
|
|
35
|
+
// TODO: Add your own signing config for the release build.
|
|
36
|
+
// Signing with the debug keys for now, so `flutter run --release` works.
|
|
37
|
+
signingConfig = signingConfigs.getByName("debug")
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
flutter {
|
|
43
|
+
source = "../.."
|
|
44
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
|
2
|
+
<!-- The INTERNET permission is required for development. Specifically,
|
|
3
|
+
the Flutter tool needs it to communicate with the running application
|
|
4
|
+
to allow setting breakpoints, to provide hot reload, etc.
|
|
5
|
+
-->
|
|
6
|
+
<uses-permission android:name="android.permission.INTERNET"/>
|
|
7
|
+
</manifest>
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
|
2
|
+
<application
|
|
3
|
+
android:label="personal_finance_frontend_core_ui"
|
|
4
|
+
android:name="${applicationName}"
|
|
5
|
+
android:icon="@mipmap/ic_launcher">
|
|
6
|
+
<activity
|
|
7
|
+
android:name=".MainActivity"
|
|
8
|
+
android:exported="true"
|
|
9
|
+
android:launchMode="singleTop"
|
|
10
|
+
android:taskAffinity=""
|
|
11
|
+
android:theme="@style/LaunchTheme"
|
|
12
|
+
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
|
|
13
|
+
android:hardwareAccelerated="true"
|
|
14
|
+
android:windowSoftInputMode="adjustResize">
|
|
15
|
+
<!-- Specifies an Android theme to apply to this Activity as soon as
|
|
16
|
+
the Android process has started. This theme is visible to the user
|
|
17
|
+
while the Flutter UI initializes. After that, this theme continues
|
|
18
|
+
to determine the Window background behind the Flutter UI. -->
|
|
19
|
+
<meta-data
|
|
20
|
+
android:name="io.flutter.embedding.android.NormalTheme"
|
|
21
|
+
android:resource="@style/NormalTheme"
|
|
22
|
+
/>
|
|
23
|
+
<intent-filter>
|
|
24
|
+
<action android:name="android.intent.action.MAIN"/>
|
|
25
|
+
<category android:name="android.intent.category.LAUNCHER"/>
|
|
26
|
+
</intent-filter>
|
|
27
|
+
</activity>
|
|
28
|
+
<!-- Don't delete the meta-data below.
|
|
29
|
+
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
|
|
30
|
+
<meta-data
|
|
31
|
+
android:name="flutterEmbedding"
|
|
32
|
+
android:value="2" />
|
|
33
|
+
</application>
|
|
34
|
+
<!-- Required to query activities that can process text, see:
|
|
35
|
+
https://developer.android.com/training/package-visibility and
|
|
36
|
+
https://developer.android.com/reference/android/content/Intent#ACTION_PROCESS_TEXT.
|
|
37
|
+
|
|
38
|
+
In particular, this is used by the Flutter engine in io.flutter.plugin.text.ProcessTextPlugin. -->
|
|
39
|
+
<queries>
|
|
40
|
+
<intent>
|
|
41
|
+
<action android:name="android.intent.action.PROCESS_TEXT"/>
|
|
42
|
+
<data android:mimeType="text/plain"/>
|
|
43
|
+
</intent>
|
|
44
|
+
</queries>
|
|
45
|
+
</manifest>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<!-- Modify this file to customize your launch splash screen -->
|
|
3
|
+
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
|
4
|
+
<item android:drawable="@android:color/white" />
|
|
5
|
+
|
|
6
|
+
<!-- You can insert your own image assets here -->
|
|
7
|
+
<!-- <item>
|
|
8
|
+
<bitmap
|
|
9
|
+
android:gravity="center"
|
|
10
|
+
android:src="@mipmap/launch_image" />
|
|
11
|
+
</item> -->
|
|
12
|
+
</layer-list>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<!-- Modify this file to customize your launch splash screen -->
|
|
3
|
+
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
|
4
|
+
<item android:drawable="?android:colorBackground" />
|
|
5
|
+
|
|
6
|
+
<!-- You can insert your own image assets here -->
|
|
7
|
+
<!-- <item>
|
|
8
|
+
<bitmap
|
|
9
|
+
android:gravity="center"
|
|
10
|
+
android:src="@mipmap/launch_image" />
|
|
11
|
+
</item> -->
|
|
12
|
+
</layer-list>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<resources>
|
|
3
|
+
<!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is off -->
|
|
4
|
+
<style name="LaunchTheme" parent="@android:style/Theme.Light.NoTitleBar">
|
|
5
|
+
<!-- Show a splash screen on the activity. Automatically removed when
|
|
6
|
+
the Flutter engine draws its first frame -->
|
|
7
|
+
<item name="android:windowBackground">@drawable/launch_background</item>
|
|
8
|
+
</style>
|
|
9
|
+
<!-- Theme applied to the Android Window as soon as the process has started.
|
|
10
|
+
This theme determines the color of the Android Window while your
|
|
11
|
+
Flutter UI initializes, as well as behind your Flutter UI while its
|
|
12
|
+
running.
|
|
13
|
+
|
|
14
|
+
This Theme is only used starting with V2 of Flutter's Android embedding. -->
|
|
15
|
+
<style name="NormalTheme" parent="@android:style/Theme.Light.NoTitleBar">
|
|
16
|
+
<item name="android:windowBackground">?android:colorBackground</item>
|
|
17
|
+
</style>
|
|
18
|
+
</resources>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<resources>
|
|
3
|
+
<!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is on -->
|
|
4
|
+
<style name="LaunchTheme" parent="@android:style/Theme.Black.NoTitleBar">
|
|
5
|
+
<!-- Show a splash screen on the activity. Automatically removed when
|
|
6
|
+
the Flutter engine draws its first frame -->
|
|
7
|
+
<item name="android:windowBackground">@drawable/launch_background</item>
|
|
8
|
+
</style>
|
|
9
|
+
<!-- Theme applied to the Android Window as soon as the process has started.
|
|
10
|
+
This theme determines the color of the Android Window while your
|
|
11
|
+
Flutter UI initializes, as well as behind your Flutter UI while its
|
|
12
|
+
running.
|
|
13
|
+
|
|
14
|
+
This Theme is only used starting with V2 of Flutter's Android embedding. -->
|
|
15
|
+
<style name="NormalTheme" parent="@android:style/Theme.Black.NoTitleBar">
|
|
16
|
+
<item name="android:windowBackground">?android:colorBackground</item>
|
|
17
|
+
</style>
|
|
18
|
+
</resources>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
|
2
|
+
<!-- The INTERNET permission is required for development. Specifically,
|
|
3
|
+
the Flutter tool needs it to communicate with the running application
|
|
4
|
+
to allow setting breakpoints, to provide hot reload, etc.
|
|
5
|
+
-->
|
|
6
|
+
<uses-permission android:name="android.permission.INTERNET"/>
|
|
7
|
+
</manifest>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
allprojects {
|
|
2
|
+
repositories {
|
|
3
|
+
google()
|
|
4
|
+
mavenCentral()
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
val newBuildDir: Directory = rootProject.layout.buildDirectory.dir("../../build").get()
|
|
9
|
+
rootProject.layout.buildDirectory.value(newBuildDir)
|
|
10
|
+
|
|
11
|
+
subprojects {
|
|
12
|
+
val newSubprojectBuildDir: Directory = newBuildDir.dir(project.name)
|
|
13
|
+
project.layout.buildDirectory.value(newSubprojectBuildDir)
|
|
14
|
+
}
|
|
15
|
+
subprojects {
|
|
16
|
+
project.evaluationDependsOn(":app")
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
tasks.register<Delete>("clean") {
|
|
20
|
+
delete(rootProject.layout.buildDirectory)
|
|
21
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
pluginManagement {
|
|
2
|
+
val flutterSdkPath = run {
|
|
3
|
+
val properties = java.util.Properties()
|
|
4
|
+
file("local.properties").inputStream().use { properties.load(it) }
|
|
5
|
+
val flutterSdkPath = properties.getProperty("flutter.sdk")
|
|
6
|
+
require(flutterSdkPath != null) { "flutter.sdk not set in local.properties" }
|
|
7
|
+
flutterSdkPath
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
includeBuild("$flutterSdkPath/packages/flutter_tools/gradle")
|
|
11
|
+
|
|
12
|
+
repositories {
|
|
13
|
+
google()
|
|
14
|
+
mavenCentral()
|
|
15
|
+
gradlePluginPortal()
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
plugins {
|
|
20
|
+
id("dev.flutter.flutter-plugin-loader") version "1.0.0"
|
|
21
|
+
id("com.android.application") version "8.7.3" apply false
|
|
22
|
+
id("org.jetbrains.kotlin.android") version "2.1.0" apply false
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
include(":app")
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
3
|
+
<plist version="1.0">
|
|
4
|
+
<dict>
|
|
5
|
+
<key>CFBundleDevelopmentRegion</key>
|
|
6
|
+
<string>en</string>
|
|
7
|
+
<key>CFBundleExecutable</key>
|
|
8
|
+
<string>App</string>
|
|
9
|
+
<key>CFBundleIdentifier</key>
|
|
10
|
+
<string>io.flutter.flutter.app</string>
|
|
11
|
+
<key>CFBundleInfoDictionaryVersion</key>
|
|
12
|
+
<string>6.0</string>
|
|
13
|
+
<key>CFBundleName</key>
|
|
14
|
+
<string>App</string>
|
|
15
|
+
<key>CFBundlePackageType</key>
|
|
16
|
+
<string>FMWK</string>
|
|
17
|
+
<key>CFBundleShortVersionString</key>
|
|
18
|
+
<string>1.0</string>
|
|
19
|
+
<key>CFBundleSignature</key>
|
|
20
|
+
<string>????</string>
|
|
21
|
+
<key>CFBundleVersion</key>
|
|
22
|
+
<string>1.0</string>
|
|
23
|
+
<key>MinimumOSVersion</key>
|
|
24
|
+
<string>12.0</string>
|
|
25
|
+
</dict>
|
|
26
|
+
</plist>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
#include "Generated.xcconfig"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
#include "Generated.xcconfig"
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import Flutter
|
|
2
|
+
import UIKit
|
|
3
|
+
|
|
4
|
+
@main
|
|
5
|
+
@objc class AppDelegate: FlutterAppDelegate {
|
|
6
|
+
override func application(
|
|
7
|
+
_ application: UIApplication,
|
|
8
|
+
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
|
|
9
|
+
) -> Bool {
|
|
10
|
+
GeneratedPluginRegistrant.register(with: self)
|
|
11
|
+
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
{
|
|
2
|
+
"images" : [
|
|
3
|
+
{
|
|
4
|
+
"size" : "20x20",
|
|
5
|
+
"idiom" : "iphone",
|
|
6
|
+
"filename" : "Icon-App-20x20@2x.png",
|
|
7
|
+
"scale" : "2x"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"size" : "20x20",
|
|
11
|
+
"idiom" : "iphone",
|
|
12
|
+
"filename" : "Icon-App-20x20@3x.png",
|
|
13
|
+
"scale" : "3x"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"size" : "29x29",
|
|
17
|
+
"idiom" : "iphone",
|
|
18
|
+
"filename" : "Icon-App-29x29@1x.png",
|
|
19
|
+
"scale" : "1x"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"size" : "29x29",
|
|
23
|
+
"idiom" : "iphone",
|
|
24
|
+
"filename" : "Icon-App-29x29@2x.png",
|
|
25
|
+
"scale" : "2x"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"size" : "29x29",
|
|
29
|
+
"idiom" : "iphone",
|
|
30
|
+
"filename" : "Icon-App-29x29@3x.png",
|
|
31
|
+
"scale" : "3x"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"size" : "40x40",
|
|
35
|
+
"idiom" : "iphone",
|
|
36
|
+
"filename" : "Icon-App-40x40@2x.png",
|
|
37
|
+
"scale" : "2x"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"size" : "40x40",
|
|
41
|
+
"idiom" : "iphone",
|
|
42
|
+
"filename" : "Icon-App-40x40@3x.png",
|
|
43
|
+
"scale" : "3x"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"size" : "60x60",
|
|
47
|
+
"idiom" : "iphone",
|
|
48
|
+
"filename" : "Icon-App-60x60@2x.png",
|
|
49
|
+
"scale" : "2x"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"size" : "60x60",
|
|
53
|
+
"idiom" : "iphone",
|
|
54
|
+
"filename" : "Icon-App-60x60@3x.png",
|
|
55
|
+
"scale" : "3x"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"size" : "20x20",
|
|
59
|
+
"idiom" : "ipad",
|
|
60
|
+
"filename" : "Icon-App-20x20@1x.png",
|
|
61
|
+
"scale" : "1x"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"size" : "20x20",
|
|
65
|
+
"idiom" : "ipad",
|
|
66
|
+
"filename" : "Icon-App-20x20@2x.png",
|
|
67
|
+
"scale" : "2x"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"size" : "29x29",
|
|
71
|
+
"idiom" : "ipad",
|
|
72
|
+
"filename" : "Icon-App-29x29@1x.png",
|
|
73
|
+
"scale" : "1x"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"size" : "29x29",
|
|
77
|
+
"idiom" : "ipad",
|
|
78
|
+
"filename" : "Icon-App-29x29@2x.png",
|
|
79
|
+
"scale" : "2x"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"size" : "40x40",
|
|
83
|
+
"idiom" : "ipad",
|
|
84
|
+
"filename" : "Icon-App-40x40@1x.png",
|
|
85
|
+
"scale" : "1x"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"size" : "40x40",
|
|
89
|
+
"idiom" : "ipad",
|
|
90
|
+
"filename" : "Icon-App-40x40@2x.png",
|
|
91
|
+
"scale" : "2x"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"size" : "76x76",
|
|
95
|
+
"idiom" : "ipad",
|
|
96
|
+
"filename" : "Icon-App-76x76@1x.png",
|
|
97
|
+
"scale" : "1x"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"size" : "76x76",
|
|
101
|
+
"idiom" : "ipad",
|
|
102
|
+
"filename" : "Icon-App-76x76@2x.png",
|
|
103
|
+
"scale" : "2x"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"size" : "83.5x83.5",
|
|
107
|
+
"idiom" : "ipad",
|
|
108
|
+
"filename" : "Icon-App-83.5x83.5@2x.png",
|
|
109
|
+
"scale" : "2x"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"size" : "1024x1024",
|
|
113
|
+
"idiom" : "ios-marketing",
|
|
114
|
+
"filename" : "Icon-App-1024x1024@1x.png",
|
|
115
|
+
"scale" : "1x"
|
|
116
|
+
}
|
|
117
|
+
],
|
|
118
|
+
"info" : {
|
|
119
|
+
"version" : 1,
|
|
120
|
+
"author" : "xcode"
|
|
121
|
+
}
|
|
122
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"images" : [
|
|
3
|
+
{
|
|
4
|
+
"idiom" : "universal",
|
|
5
|
+
"filename" : "LaunchImage.png",
|
|
6
|
+
"scale" : "1x"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"idiom" : "universal",
|
|
10
|
+
"filename" : "LaunchImage@2x.png",
|
|
11
|
+
"scale" : "2x"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"idiom" : "universal",
|
|
15
|
+
"filename" : "LaunchImage@3x.png",
|
|
16
|
+
"scale" : "3x"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"info" : {
|
|
20
|
+
"version" : 1,
|
|
21
|
+
"author" : "xcode"
|
|
22
|
+
}
|
|
23
|
+
}
|
|
Binary file
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
# Launch Screen Assets
|
|
2
|
+
|
|
3
|
+
You can customize the launch screen with your own desired assets by replacing the image files in this directory.
|
|
4
|
+
|
|
5
|
+
You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images.
|