├── .gitattributes
├── .github
└── workflows
│ ├── docker-image-ali.yml
│ ├── docker-image-all-ali.yml
│ ├── docker-image-all-no-mysql-ali.yml
│ ├── docker-image-all-no-mysql.yml
│ ├── docker-image-all.yml
│ └── docker-image.yml
├── .gitignore
├── .metadata
├── Dockerfile
├── Dockerfile2
├── Dockerfile3
├── README.md
├── analysis_options.yaml
├── android
├── .gitignore
├── app
│ ├── build.gradle
│ └── src
│ │ ├── debug
│ │ └── AndroidManifest.xml
│ │ ├── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ │ └── cn
│ │ │ │ └── biq
│ │ │ │ └── moneynote
│ │ │ │ └── MainActivity.java
│ │ └── res
│ │ │ ├── drawable-v21
│ │ │ └── launch_background.xml
│ │ │ ├── drawable
│ │ │ └── launch_background.xml
│ │ │ ├── mipmap-hdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── launcher_icon.png
│ │ │ ├── mipmap-mdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── launcher_icon.png
│ │ │ ├── mipmap-xhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── launcher_icon.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── launcher_icon.png
│ │ │ ├── mipmap-xxxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── launcher_icon.png
│ │ │ ├── values-night
│ │ │ └── styles.xml
│ │ │ └── values
│ │ │ └── styles.xml
│ │ └── profile
│ │ └── AndroidManifest.xml
├── build.gradle
├── gradle.properties
├── gradle
│ └── wrapper
│ │ └── gradle-wrapper.properties
└── settings.gradle
├── assets
├── locales
│ ├── en_US.json
│ └── zh_CN.json
├── logo.png
└── logo.svg
├── docker-compose.yml
├── docker
├── gzip.conf
└── nginx.conf.template
├── flutter_launcher_icons.yaml
├── ios
├── .gitignore
├── Flutter
│ ├── AppFrameworkInfo.plist
│ ├── Debug.xcconfig
│ └── Release.xcconfig
├── Runner.xcodeproj
│ ├── project.pbxproj
│ ├── project.xcworkspace
│ │ ├── contents.xcworkspacedata
│ │ └── xcshareddata
│ │ │ ├── IDEWorkspaceChecks.plist
│ │ │ └── WorkspaceSettings.xcsettings
│ └── xcshareddata
│ │ └── xcschemes
│ │ └── Runner.xcscheme
├── Runner.xcworkspace
│ ├── contents.xcworkspacedata
│ └── xcshareddata
│ │ ├── IDEWorkspaceChecks.plist
│ │ └── WorkspaceSettings.xcsettings
├── Runner
│ ├── AppDelegate.swift
│ ├── Assets.xcassets
│ │ ├── AppIcon.appiconset
│ │ │ ├── Contents.json
│ │ │ ├── Icon-App-1024x1024@1x.png
│ │ │ ├── Icon-App-20x20@1x.png
│ │ │ ├── Icon-App-20x20@2x.png
│ │ │ ├── Icon-App-20x20@3x.png
│ │ │ ├── Icon-App-29x29@1x.png
│ │ │ ├── Icon-App-29x29@2x.png
│ │ │ ├── Icon-App-29x29@3x.png
│ │ │ ├── Icon-App-40x40@1x.png
│ │ │ ├── Icon-App-40x40@2x.png
│ │ │ ├── Icon-App-40x40@3x.png
│ │ │ ├── Icon-App-50x50@1x.png
│ │ │ ├── Icon-App-50x50@2x.png
│ │ │ ├── Icon-App-57x57@1x.png
│ │ │ ├── Icon-App-57x57@2x.png
│ │ │ ├── Icon-App-60x60@2x.png
│ │ │ ├── Icon-App-60x60@3x.png
│ │ │ ├── Icon-App-72x72@1x.png
│ │ │ ├── Icon-App-72x72@2x.png
│ │ │ ├── Icon-App-76x76@1x.png
│ │ │ ├── Icon-App-76x76@2x.png
│ │ │ └── Icon-App-83.5x83.5@2x.png
│ │ └── LaunchImage.imageset
│ │ │ ├── Contents.json
│ │ │ ├── LaunchImage.png
│ │ │ ├── LaunchImage@2x.png
│ │ │ ├── LaunchImage@3x.png
│ │ │ └── README.md
│ ├── Base.lproj
│ │ ├── LaunchScreen.storyboard
│ │ └── Main.storyboard
│ ├── Info.plist
│ └── Runner-Bridging-Header.h
└── RunnerTests
│ └── RunnerTests.swift
├── lib
├── app.dart
├── app
│ ├── bindings
│ │ └── initial_binding.dart
│ ├── core
│ │ ├── base
│ │ │ ├── base_controller.dart
│ │ │ ├── base_repository.dart
│ │ │ └── enums.dart
│ │ ├── commons
│ │ │ ├── form
│ │ │ │ ├── not_empty_formz.dart
│ │ │ │ └── not_empty_num_formz.dart
│ │ │ └── widget_util.dart
│ │ ├── components
│ │ │ ├── asterisk.dart
│ │ │ ├── bottomsheet_container.dart
│ │ │ ├── detail_item.dart
│ │ │ ├── dialog_confirm.dart
│ │ │ ├── flutter_tree-2.0.3
│ │ │ │ ├── flutter_tree.dart
│ │ │ │ └── src
│ │ │ │ │ ├── tree_node.dart
│ │ │ │ │ ├── tree_node_data.dart
│ │ │ │ │ └── tree_view.dart
│ │ │ ├── form
│ │ │ │ ├── my_form_date.dart
│ │ │ │ ├── my_form_switch.dart
│ │ │ │ ├── my_form_text.dart
│ │ │ │ ├── my_option.dart
│ │ │ │ ├── my_select.dart
│ │ │ │ └── my_tree_option.dart
│ │ │ ├── lazy_indexed_stack.dart
│ │ │ ├── loading_icon.dart
│ │ │ ├── my_form_page.dart
│ │ │ ├── order_button.dart
│ │ │ ├── pages
│ │ │ │ ├── content_page.dart
│ │ │ │ ├── empty_page.dart
│ │ │ │ ├── error_page.dart
│ │ │ │ ├── index.dart
│ │ │ │ └── loading_page.dart
│ │ │ ├── popup_menu.dart
│ │ │ └── web_view_page.dart
│ │ ├── utils
│ │ │ ├── api_url.dart
│ │ │ ├── language.dart
│ │ │ ├── message.dart
│ │ │ ├── theme.dart
│ │ │ ├── token.dart
│ │ │ ├── utils.dart
│ │ │ └── widget_util.dart
│ │ └── values
│ │ │ ├── app_const.dart
│ │ │ ├── app_text_styles.dart
│ │ │ └── app_values.dart
│ ├── modules
│ │ ├── accounts
│ │ │ ├── controllers
│ │ │ │ ├── account_adjust_controller.dart
│ │ │ │ ├── account_detail_controller.dart
│ │ │ │ ├── account_form_controller.dart
│ │ │ │ └── accounts_controller.dart
│ │ │ ├── data
│ │ │ │ └── account_repository.dart
│ │ │ └── ui
│ │ │ │ ├── account_adjust_page.dart
│ │ │ │ ├── account_detail_page.dart
│ │ │ │ ├── account_form_page.dart
│ │ │ │ └── accounts_page.dart
│ │ ├── charts
│ │ │ ├── chart_filter_page.dart
│ │ │ ├── chart_repository.dart
│ │ │ ├── charts_controller.dart
│ │ │ ├── charts_page.dart
│ │ │ └── widgets
│ │ │ │ ├── circular_legend.dart
│ │ │ │ └── filter
│ │ │ │ ├── account.dart
│ │ │ │ ├── book.dart
│ │ │ │ ├── category.dart
│ │ │ │ ├── filter_tag.dart
│ │ │ │ ├── filter_title.dart
│ │ │ │ ├── index.dart
│ │ │ │ ├── max_time.dart
│ │ │ │ ├── min_time.dart
│ │ │ │ └── payee.dart
│ │ ├── common
│ │ │ └── select
│ │ │ │ ├── select_controller.dart
│ │ │ │ ├── select_option.dart
│ │ │ │ └── tree_select_option.dart
│ │ ├── flows
│ │ │ ├── controllers
│ │ │ │ ├── flow_detail_controller.dart
│ │ │ │ ├── flow_form_controller.dart
│ │ │ │ └── flows_controller.dart
│ │ │ ├── flow_detail_page.dart
│ │ │ ├── flow_filter_page.dart
│ │ │ ├── flow_form_page.dart
│ │ │ ├── flow_repository.dart
│ │ │ ├── flows_page.dart
│ │ │ └── widgets
│ │ │ │ ├── filter
│ │ │ │ ├── account.dart
│ │ │ │ ├── book.dart
│ │ │ │ ├── category.dart
│ │ │ │ ├── confirm.dart
│ │ │ │ ├── filter_tag.dart
│ │ │ │ ├── filter_title.dart
│ │ │ │ ├── has_file.dart
│ │ │ │ ├── include.dart
│ │ │ │ ├── index.dart
│ │ │ │ ├── max_amount.dart
│ │ │ │ ├── max_time.dart
│ │ │ │ ├── min_amount.dart
│ │ │ │ ├── min_time.dart
│ │ │ │ ├── notes.dart
│ │ │ │ ├── payee.dart
│ │ │ │ └── type.dart
│ │ │ │ ├── flow_file_list.dart
│ │ │ │ └── form
│ │ │ │ ├── account.dart
│ │ │ │ ├── amount.dart
│ │ │ │ ├── book.dart
│ │ │ │ ├── category.dart
│ │ │ │ ├── confirm.dart
│ │ │ │ ├── create_time.dart
│ │ │ │ ├── form_tag.dart
│ │ │ │ ├── form_title.dart
│ │ │ │ ├── include.dart
│ │ │ │ ├── index.dart
│ │ │ │ ├── notes.dart
│ │ │ │ ├── payee.dart
│ │ │ │ ├── to_account.dart
│ │ │ │ └── transfer_amount.dart
│ │ ├── login
│ │ │ ├── controllers
│ │ │ │ ├── auth_controller.dart
│ │ │ │ └── login_controller.dart
│ │ │ ├── data
│ │ │ │ └── login_repository.dart
│ │ │ └── ui
│ │ │ │ ├── login_page.dart
│ │ │ │ └── widgets
│ │ │ │ ├── api_url_input.dart
│ │ │ │ ├── login_form.dart
│ │ │ │ ├── password_name_input.dart
│ │ │ │ ├── submit_btn.dart
│ │ │ │ └── user_name_input.dart
│ │ └── my
│ │ │ ├── controllers
│ │ │ ├── account_overview_controller.dart
│ │ │ ├── api_version_controller.dart
│ │ │ ├── language_controller.dart
│ │ │ └── theme_controller.dart
│ │ │ └── my_page.dart
│ ├── network
│ │ ├── http.dart
│ │ └── http_client.dart
│ └── routes
│ │ ├── app_pages.dart
│ │ └── app_routes.dart
├── flavors
│ └── environment.dart
├── generated
│ └── locales.g.dart
├── index_page.dart
├── main.dart
├── start_page.dart
└── theme.dart
├── notes
└── notes.txt
├── pubspec.lock
├── pubspec.yaml
├── screenshots
├── 1.jpg
├── 2.jpg
└── 3.jpg
├── test
└── widget_test.dart
├── web
├── favicon.png
├── icons
│ ├── Icon-192.png
│ ├── Icon-512.png
│ ├── Icon-maskable-192.png
│ └── Icon-maskable-512.png
├── index.html
└── manifest.json
└── web2
├── .last_build_id
├── assets
├── AssetManifest.bin
├── AssetManifest.json
├── FontManifest.json
├── NOTICES
├── assets
│ ├── logo.png
│ └── logo.svg
├── fonts
│ └── MaterialIcons-Regular.otf
├── packages
│ └── fluttertoast
│ │ └── assets
│ │ ├── toastify.css
│ │ └── toastify.js
└── shaders
│ └── ink_sparkle.frag
├── canvaskit
├── canvaskit.js
├── canvaskit.wasm
├── chromium
│ ├── canvaskit.js
│ └── canvaskit.wasm
├── skwasm.js
├── skwasm.wasm
└── skwasm.worker.js
├── favicon.png
├── flutter.js
├── flutter_service_worker.js
├── icons
├── Icon-192.png
├── Icon-512.png
├── Icon-maskable-192.png
└── Icon-maskable-512.png
├── index.html
├── main.dart.js
├── manifest.json
└── version.json
/.gitattributes:
--------------------------------------------------------------------------------
1 | # Auto detect text files and perform LF normalization
2 | * text=auto
3 |
4 | # Always perform LF normalization
5 | *.dart text
6 | *.gradle text
7 | *.html text
8 | *.java text
9 | *.json text
10 | *.md text
11 | *.py text
12 | *.sh text
13 | *.txt text
14 | *.xml text
15 | *.yaml text
16 |
17 | # Make sure that these Windows files always have CRLF line endings at checkout
18 | *.bat text eol=crlf
19 | *.ps1 text eol=crlf
20 | *.rc text eol=crlf
21 | *.sln text eol=crlf
22 | *.props text eol=crlf
23 | *.vcxproj text eol=crlf
24 | *.vcxproj.filters text eol=crlf
25 | # Including templates
26 | *.sln.tmpl text eol=crlf
27 | *.props.tmpl text eol=crlf
28 | *.vcxproj.tmpl text eol=crlf
29 |
30 | # Never perform LF normalization
31 | *.ico binary
32 | *.jar binary
33 | *.png binary
34 | *.zip binary
35 | *.ttf binary
36 | *.otf binary
--------------------------------------------------------------------------------
/.github/workflows/docker-image-ali.yml:
--------------------------------------------------------------------------------
1 | name: docker acr image
2 |
3 | # 触发条件:在 push 到 main 分支后
4 | on:
5 | push:
6 | branches:
7 | - main
8 | paths:
9 | - 'web2/**'
10 |
11 | jobs:
12 | build:
13 | runs-on: ubuntu-latest
14 | steps:
15 | - name: Checkout
16 | uses: actions/checkout@v3
17 | - name: Free Disk space
18 | uses: jlumbroso/free-disk-space@main
19 | with:
20 | # this might remove tools that are actually needed,
21 | # if set to "true" but frees about 6 GB
22 | tool-cache: false
23 |
24 | # all of these default to true, but feel free to set to
25 | # "false" if necessary for your workflow
26 | android: true
27 | dotnet: true
28 | haskell: true
29 | large-packages: true
30 | docker-images: true
31 | swap-storage: true
32 | - name: Set up QEMU
33 | uses: docker/setup-qemu-action@v3
34 | - name: Set up Docker Buildx
35 | uses: docker/setup-buildx-action@v3
36 | - name: Login to Aliyun Container Registry (ACR)
37 | uses: docker/login-action@v3
38 | with:
39 | registry: registry.cn-hangzhou.aliyuncs.com
40 | # region-id: cn-hangzhou # 3
41 | username: "${{ secrets.ACR_USERNAME }}"
42 | password: "${{ secrets.ACR_PASSWORD }}"
43 | - name: Build and Push Docker Image
44 | uses: docker/build-push-action@v5
45 | with:
46 | context: .
47 | platforms: linux/amd64,linux/arm64,linux/386,linux/arm/v6
48 | push: true
49 | tags: registry.cn-hangzhou.aliyuncs.com/moneynote/moneynote-h5:latest
50 |
--------------------------------------------------------------------------------
/.github/workflows/docker-image-all-ali.yml:
--------------------------------------------------------------------------------
1 | name: all acr image
2 |
3 | # 触发条件:在 push 到 main 分支后
4 | on:
5 | push:
6 | branches:
7 | - main1
8 | paths:
9 | - 'web2/**'
10 |
11 | jobs:
12 | build:
13 | runs-on: ubuntu-latest
14 | steps:
15 | - name: Checkout
16 | uses: actions/checkout@v4
17 | - name: Free Disk space
18 | uses: jlumbroso/free-disk-space@main
19 | with:
20 | # this might remove tools that are actually needed,
21 | # if set to "true" but frees about 6 GB
22 | tool-cache: false
23 |
24 | # all of these default to true, but feel free to set to
25 | # "false" if necessary for your workflow
26 | android: true
27 | dotnet: true
28 | haskell: true
29 | large-packages: true
30 | docker-images: true
31 | swap-storage: true
32 | - name: Set up QEMU
33 | uses: docker/setup-qemu-action@v3
34 | - name: Set up Docker Buildx
35 | uses: docker/setup-buildx-action@v3
36 | - name: Login to Aliyun Container Registry (ACR)
37 | uses: docker/login-action@v3
38 | with:
39 | registry: registry.cn-hangzhou.aliyuncs.com
40 | # region-id: cn-hangzhou # 3
41 | username: "${{ secrets.ACR_USERNAME }}"
42 | password: "${{ secrets.ACR_PASSWORD }}"
43 | - name: Build and Push Docker Image
44 | uses: docker/build-push-action@v5
45 | with:
46 | context: .
47 | file: ./Dockerfile2
48 | platforms: linux/amd64,linux/arm64,linux/ppc64le,linux/s390x
49 | push: true
50 | tags: registry.cn-hangzhou.aliyuncs.com/moneynote/moneynote-all:latest
51 |
--------------------------------------------------------------------------------
/.github/workflows/docker-image-all-no-mysql-ali.yml:
--------------------------------------------------------------------------------
1 | name: all no mysql acr image
2 |
3 | # 触发条件:在 push 到 main 分支后
4 | on:
5 | push:
6 | branches:
7 | - main1
8 | paths:
9 | - 'web2/**'
10 |
11 | jobs:
12 | build:
13 | runs-on: ubuntu-latest
14 | steps:
15 | - name: Checkout
16 | uses: actions/checkout@v4
17 | - name: Free Disk space
18 | uses: jlumbroso/free-disk-space@main
19 | with:
20 | # this might remove tools that are actually needed,
21 | # if set to "true" but frees about 6 GB
22 | tool-cache: false
23 |
24 | # all of these default to true, but feel free to set to
25 | # "false" if necessary for your workflow
26 | android: true
27 | dotnet: true
28 | haskell: true
29 | large-packages: true
30 | docker-images: true
31 | swap-storage: true
32 | - name: Set up QEMU
33 | uses: docker/setup-qemu-action@v3
34 | - name: Set up Docker Buildx
35 | uses: docker/setup-buildx-action@v3
36 | - name: Login to Aliyun Container Registry (ACR)
37 | uses: docker/login-action@v3
38 | with:
39 | registry: registry.cn-hangzhou.aliyuncs.com
40 | # region-id: cn-hangzhou # 3
41 | username: "${{ secrets.ACR_USERNAME }}"
42 | password: "${{ secrets.ACR_PASSWORD }}"
43 | - name: Build and Push Docker Image
44 | uses: docker/build-push-action@v5
45 | with:
46 | context: .
47 | file: ./Dockerfile3
48 | platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/ppc64le,linux/s390x
49 | push: true
50 | tags: registry.cn-hangzhou.aliyuncs.com/moneynote/moneynote-all-no-mysql:latest
51 |
--------------------------------------------------------------------------------
/.github/workflows/docker-image-all-no-mysql.yml:
--------------------------------------------------------------------------------
1 | name: all no mysql hub image
2 |
3 | # 触发条件:在 push 到 main 分支后
4 | on:
5 | push:
6 | branches:
7 | - main1
8 | paths:
9 | - 'web2/**'
10 |
11 | jobs:
12 | build:
13 | runs-on: ubuntu-latest
14 | steps:
15 | - name: Checkout
16 | uses: actions/checkout@v4
17 | - name: Free Disk space
18 | uses: jlumbroso/free-disk-space@main
19 | with:
20 | # this might remove tools that are actually needed,
21 | # if set to "true" but frees about 6 GB
22 | tool-cache: false
23 |
24 | # all of these default to true, but feel free to set to
25 | # "false" if necessary for your workflow
26 | android: true
27 | dotnet: true
28 | haskell: true
29 | large-packages: true
30 | docker-images: true
31 | swap-storage: true
32 | - name: Set up QEMU
33 | uses: docker/setup-qemu-action@v3
34 | - name: Set up Docker Buildx
35 | uses: docker/setup-buildx-action@v3
36 | - name: Login to Docker Hub
37 | uses: docker/login-action@v3
38 | with:
39 | username: ${{ secrets.DOCKER_USERNAME }}
40 | password: ${{ secrets.DOCKER_PASS }}
41 | - name: Build and Push Docker Image
42 | uses: docker/build-push-action@v5
43 | with:
44 | context: .
45 | file: ./Dockerfile3
46 | platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/ppc64le,linux/s390x
47 | push: true
48 | tags: markliu2018/moneynote-all-no-mysql:latest
49 |
--------------------------------------------------------------------------------
/.github/workflows/docker-image-all.yml:
--------------------------------------------------------------------------------
1 | name: all hub image
2 |
3 | # 触发条件:在 push 到 main 分支后
4 | on:
5 | push:
6 | branches:
7 | - main1
8 | paths:
9 | - 'web2/**'
10 |
11 | jobs:
12 | build:
13 | runs-on: ubuntu-latest
14 | steps:
15 | - name: Checkout
16 | uses: actions/checkout@v4
17 | - name: Free Disk space
18 | uses: jlumbroso/free-disk-space@main
19 | with:
20 | # this might remove tools that are actually needed,
21 | # if set to "true" but frees about 6 GB
22 | tool-cache: false
23 |
24 | # all of these default to true, but feel free to set to
25 | # "false" if necessary for your workflow
26 | android: true
27 | dotnet: true
28 | haskell: true
29 | large-packages: true
30 | docker-images: true
31 | swap-storage: true
32 | - name: Set up QEMU
33 | uses: docker/setup-qemu-action@v3
34 | - name: Set up Docker Buildx
35 | uses: docker/setup-buildx-action@v3
36 | - name: Login to Docker Hub
37 | uses: docker/login-action@v3
38 | with:
39 | username: ${{ secrets.DOCKER_USERNAME }}
40 | password: ${{ secrets.DOCKER_PASS }}
41 | - name: Build and Push Docker Image
42 | uses: docker/build-push-action@v5
43 | with:
44 | context: .
45 | file: ./Dockerfile2
46 | platforms: linux/amd64,linux/arm64,linux/ppc64le,linux/s390x
47 | push: true
48 | tags: markliu2018/moneynote-all:latest
49 |
--------------------------------------------------------------------------------
/.github/workflows/docker-image.yml:
--------------------------------------------------------------------------------
1 | name: docker hub image
2 |
3 | # 触发条件:在 push 到 main 分支后
4 | on:
5 | push:
6 | branches:
7 | - main
8 | paths:
9 | - 'web2/**'
10 |
11 | jobs:
12 | build:
13 | runs-on: ubuntu-latest
14 | steps:
15 | - name: Checkout
16 | uses: actions/checkout@v3
17 | - name: Free Disk space
18 | uses: jlumbroso/free-disk-space@main
19 | with:
20 | # this might remove tools that are actually needed,
21 | # if set to "true" but frees about 6 GB
22 | tool-cache: false
23 |
24 | # all of these default to true, but feel free to set to
25 | # "false" if necessary for your workflow
26 | android: true
27 | dotnet: true
28 | haskell: true
29 | large-packages: true
30 | docker-images: true
31 | swap-storage: true
32 | - name: Set up QEMU
33 | uses: docker/setup-qemu-action@v3
34 | - name: Set up Docker Buildx
35 | uses: docker/setup-buildx-action@v3
36 | - name: Login to Docker Hub
37 | uses: docker/login-action@v3
38 | with:
39 | username: ${{ secrets.DOCKER_USERNAME }}
40 | password: ${{ secrets.DOCKER_PASS }}
41 | - name: Build and Push Docker Image
42 | uses: docker/build-push-action@v5
43 | with:
44 | context: .
45 | platforms: linux/amd64,linux/arm64,linux/386,linux/arm/v6
46 | push: true
47 | tags: markliu2018/moneynote-h5:latest
48 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Miscellaneous
2 | *.class
3 | *.log
4 | *.pyc
5 | *.swp
6 | .DS_Store
7 | .atom/
8 | .buildlog/
9 | .history
10 | .svn/
11 | migrate_working_dir/
12 |
13 | # IntelliJ related
14 | *.iml
15 | *.ipr
16 | *.iws
17 | .idea/
18 |
19 | # The .vscode folder contains launch configuration and tasks you configure in
20 | # VS Code which you may wish to be included in version control, so this line
21 | # is commented out by default.
22 | #.vscode/
23 |
24 | # Flutter/Dart/Pub related
25 | **/doc/api/
26 | **/ios/Flutter/.last_build_id
27 | .dart_tool/
28 | .flutter-plugins
29 | .flutter-plugins-dependencies
30 | .packages
31 | .pub-cache/
32 | .pub/
33 | /build/
34 |
35 | # Symbolication related
36 | app.*.symbols
37 |
38 | # Obfuscation related
39 | app.*.map.json
40 |
41 | # Android Studio will place build artifacts here
42 | /android/app/debug
43 | /android/app/profile
44 | /android/app/release
45 |
--------------------------------------------------------------------------------
/.metadata:
--------------------------------------------------------------------------------
1 | # This file tracks properties of this Flutter project.
2 | # Used by Flutter tool to assess capabilities and perform upgrades etc.
3 | #
4 | # This file should be version controlled and should not be manually edited.
5 |
6 | version:
7 | revision: "12fccda598477eddd19f93040a1dba24f915b9be"
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: 12fccda598477eddd19f93040a1dba24f915b9be
17 | base_revision: 12fccda598477eddd19f93040a1dba24f915b9be
18 | - platform: web
19 | create_revision: 12fccda598477eddd19f93040a1dba24f915b9be
20 | base_revision: 12fccda598477eddd19f93040a1dba24f915b9be
21 |
22 | # User provided section
23 |
24 | # List of Local paths (relative to this file) that should be
25 | # ignored by the migrate tool.
26 | #
27 | # Files that are not part of the templates will be ignored by default.
28 | unmanaged_files:
29 | - 'lib/main.dart'
30 | - 'ios/Runner.xcodeproj/project.pbxproj'
31 |
--------------------------------------------------------------------------------
/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM nginx:1.21-alpine
2 | COPY ./docker/nginx.conf.template /etc/nginx/templates/default.conf.template
3 | COPY ./docker/gzip.conf /etc/nginx/conf.d/gzip.conf
4 | COPY ./web2/ /usr/share/nginx/html
5 |
6 | #FROM node:16-slim as build
7 | #WORKDIR /workspace/app
8 | #COPY src src
9 | #COPY package.json .
10 | #COPY package-lock.json .
11 | #RUN npm install
12 | #RUN npm run build
13 | #
14 | #FROM nginx:1.21-alpine
15 | #COPY ./docker/nginx.conf.template /etc/nginx/templates/default.conf.template
16 | #COPY ./docker/gzip.conf /etc/nginx/conf.d/gzip.conf
17 | #COPY --from=build /workspace/app/dist/ /usr/share/nginx/html
18 |
--------------------------------------------------------------------------------
/Dockerfile2:
--------------------------------------------------------------------------------
1 | FROM markliu2018/moneynote-all:latest
2 | COPY ./web2/ /var/www/h5
3 |
4 | WORKDIR /app
5 | CMD service php8.1-fpm start && service mysql start && service nginx start && java -jar app.jar
6 |
7 | EXPOSE 3306
8 | EXPOSE 80
9 | EXPOSE 9092
10 | EXPOSE 81
11 | EXPOSE 82
12 |
--------------------------------------------------------------------------------
/Dockerfile3:
--------------------------------------------------------------------------------
1 | FROM markliu2018/moneynote-all-no-mysql:latest
2 | COPY ./web2/ /var/www/h5
3 |
4 | WORKDIR /app
5 | CMD service nginx start && java -jar app.jar
6 |
7 | EXPOSE 9092
8 | EXPOSE 81
9 | EXPOSE 82
10 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # 九快记账App
2 |
3 | 本项目是九快记账App端源代码,使用Flutter开发,支持安卓和iOS端。
4 |
5 | [安卓APK下载地址](https://github.com/getmoneynote/moneynote-flutter/releases)
6 |
7 | 登录界面后台地址为运行API的地址。示例:http://www.xxx.com, http://ip:43743
8 |
9 |
--------------------------------------------------------------------------------
/analysis_options.yaml:
--------------------------------------------------------------------------------
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
29 |
--------------------------------------------------------------------------------
/android/.gitignore:
--------------------------------------------------------------------------------
1 | gradle-wrapper.jar
2 | /.gradle
3 | /captures/
4 | /gradlew
5 | /gradlew.bat
6 | /local.properties
7 | GeneratedPluginRegistrant.java
8 |
9 | # Remember to never publicly share your keystore.
10 | # See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app
11 | key.properties
12 | **/*.keystore
13 | **/*.jks
14 |
--------------------------------------------------------------------------------
/android/app/build.gradle:
--------------------------------------------------------------------------------
1 | plugins {
2 | id "com.android.application"
3 | id "kotlin-android"
4 | id "dev.flutter.flutter-gradle-plugin"
5 | }
6 |
7 | def localProperties = new Properties()
8 | def localPropertiesFile = rootProject.file('local.properties')
9 | if (localPropertiesFile.exists()) {
10 | localPropertiesFile.withReader('UTF-8') { reader ->
11 | localProperties.load(reader)
12 | }
13 | }
14 |
15 | def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
16 | if (flutterVersionCode == null) {
17 | flutterVersionCode = '1'
18 | }
19 |
20 | def flutterVersionName = localProperties.getProperty('flutter.versionName')
21 | if (flutterVersionName == null) {
22 | flutterVersionName = '1.0'
23 | }
24 |
25 | android {
26 | namespace "cn.biq.moneynote"
27 | compileSdkVersion 34
28 | ndkVersion flutter.ndkVersion
29 |
30 | compileOptions {
31 | sourceCompatibility JavaVersion.VERSION_1_8
32 | targetCompatibility JavaVersion.VERSION_1_8
33 | }
34 |
35 | defaultConfig {
36 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
37 | applicationId "cn.biq.moneynote"
38 | // You can update the following values to match your application needs.
39 | // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
40 | minSdkVersion localProperties.getProperty('flutter.minSdkVersion')
41 | targetSdkVersion flutter.targetSdkVersion
42 | versionCode flutterVersionCode.toInteger()
43 | versionName flutterVersionName
44 | }
45 |
46 | buildTypes {
47 | release {
48 | // TODO: Add your own signing config for the release build.
49 | // Signing with the debug keys for now, so `flutter run --release` works.
50 | signingConfig signingConfigs.debug
51 | }
52 | }
53 | }
54 |
55 | flutter {
56 | source '../..'
57 | }
58 |
--------------------------------------------------------------------------------
/android/app/src/debug/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/android/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
15 |
19 |
23 |
24 |
25 |
26 |
27 |
28 |
30 |
33 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/android/app/src/main/java/cn/biq/moneynote/MainActivity.java:
--------------------------------------------------------------------------------
1 | package cn.biq.moneynote;
2 |
3 | import io.flutter.embedding.android.FlutterActivity;
4 |
5 | public class MainActivity extends FlutterActivity {
6 | }
7 |
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable-v21/launch_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
12 |
13 |
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable/launch_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
12 |
13 |
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/getmoneynote/moneynote-flutter/b10d02ea283de3798a4972685a18ab6af7dc1929/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-hdpi/launcher_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/getmoneynote/moneynote-flutter/b10d02ea283de3798a4972685a18ab6af7dc1929/android/app/src/main/res/mipmap-hdpi/launcher_icon.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/getmoneynote/moneynote-flutter/b10d02ea283de3798a4972685a18ab6af7dc1929/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-mdpi/launcher_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/getmoneynote/moneynote-flutter/b10d02ea283de3798a4972685a18ab6af7dc1929/android/app/src/main/res/mipmap-mdpi/launcher_icon.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/getmoneynote/moneynote-flutter/b10d02ea283de3798a4972685a18ab6af7dc1929/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xhdpi/launcher_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/getmoneynote/moneynote-flutter/b10d02ea283de3798a4972685a18ab6af7dc1929/android/app/src/main/res/mipmap-xhdpi/launcher_icon.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/getmoneynote/moneynote-flutter/b10d02ea283de3798a4972685a18ab6af7dc1929/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxhdpi/launcher_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/getmoneynote/moneynote-flutter/b10d02ea283de3798a4972685a18ab6af7dc1929/android/app/src/main/res/mipmap-xxhdpi/launcher_icon.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/getmoneynote/moneynote-flutter/b10d02ea283de3798a4972685a18ab6af7dc1929/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxxhdpi/launcher_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/getmoneynote/moneynote-flutter/b10d02ea283de3798a4972685a18ab6af7dc1929/android/app/src/main/res/mipmap-xxxhdpi/launcher_icon.png
--------------------------------------------------------------------------------
/android/app/src/main/res/values-night/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
15 |
18 |
19 |
--------------------------------------------------------------------------------
/android/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
15 |
18 |
19 |
--------------------------------------------------------------------------------
/android/app/src/profile/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/android/build.gradle:
--------------------------------------------------------------------------------
1 | buildscript {
2 | ext.kotlin_version = '1.7.10'
3 | repositories {
4 | google()
5 | mavenCentral()
6 | }
7 |
8 | dependencies {
9 | classpath 'com.android.tools.build:gradle:7.3.0'
10 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
11 | }
12 | }
13 |
14 | allprojects {
15 | repositories {
16 | google()
17 | mavenCentral()
18 | }
19 | }
20 |
21 | rootProject.buildDir = '../build'
22 | subprojects {
23 | project.buildDir = "${rootProject.buildDir}/${project.name}"
24 | }
25 | subprojects {
26 | project.evaluationDependsOn(':app')
27 | }
28 |
29 | tasks.register("clean", Delete) {
30 | delete rootProject.buildDir
31 | }
32 |
--------------------------------------------------------------------------------
/android/gradle.properties:
--------------------------------------------------------------------------------
1 | org.gradle.jvmargs=-Xmx1536M
2 | android.useAndroidX=true
3 | android.enableJetifier=true
4 |
--------------------------------------------------------------------------------
/android/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | distributionBase=GRADLE_USER_HOME
2 | distributionPath=wrapper/dists
3 | zipStoreBase=GRADLE_USER_HOME
4 | zipStorePath=wrapper/dists
5 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip
6 |
--------------------------------------------------------------------------------
/android/settings.gradle:
--------------------------------------------------------------------------------
1 | pluginManagement {
2 | def flutterSdkPath = {
3 | def properties = new Properties()
4 | file("local.properties").withInputStream { properties.load(it) }
5 | def flutterSdkPath = properties.getProperty("flutter.sdk")
6 | assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
7 | return flutterSdkPath
8 | }
9 | settings.ext.flutterSdkPath = flutterSdkPath()
10 |
11 | includeBuild("${settings.ext.flutterSdkPath}/packages/flutter_tools/gradle")
12 |
13 | plugins {
14 | id "dev.flutter.flutter-gradle-plugin" version "1.0.0" apply false
15 | }
16 | }
17 |
18 | include ":app"
19 |
20 | apply from: "${settings.ext.flutterSdkPath}/packages/flutter_tools/gradle/app_plugin_loader.gradle"
21 |
--------------------------------------------------------------------------------
/assets/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/getmoneynote/moneynote-flutter/b10d02ea283de3798a4972685a18ab6af7dc1929/assets/logo.png
--------------------------------------------------------------------------------
/docker-compose.yml:
--------------------------------------------------------------------------------
1 | version: '3.8'
2 |
3 | services:
4 | moneywhere-h5:
5 | image: nginx:1.21-alpine
6 | volumes:
7 | - ./web2:/usr/share/nginx/html
8 | ports:
9 | - "9000:80"
--------------------------------------------------------------------------------
/docker/gzip.conf:
--------------------------------------------------------------------------------
1 | gzip on;
2 | gzip_min_length 1k;
3 | gzip_buffers 4 16k;
4 | gzip_http_version 1.1;
5 | gzip_comp_level 2;
6 | gzip_types text/plain application/javascript application/x-javascript text/javascript text/css application/xml;
7 | gzip_vary on;
8 | gzip_proxied expired no-cache no-store private auth;
9 |
--------------------------------------------------------------------------------
/docker/nginx.conf.template:
--------------------------------------------------------------------------------
1 | server {
2 | listen 80;
3 | listen [::]:80;
4 | server_name localhost;
5 |
6 | client_max_body_size 50M;
7 | client_header_timeout 1m;
8 | client_body_timeout 1m;
9 | proxy_connect_timeout 60s;
10 | proxy_read_timeout 1m;
11 | proxy_send_timeout 1m;
12 |
13 | location / {
14 | root /usr/share/nginx/html;
15 | index index.html index.htm;
16 | }
17 | location ~ ^/api/v1 {
18 | proxy_pass ${USER_API_HOST};
19 | proxy_set_header Host $host;
20 | proxy_set_header Cookie $http_cookie;
21 | proxy_set_header X-Real-IP $remote_addr;
22 | proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
23 | proxy_set_header X-Forwarded-Proto $scheme;
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/flutter_launcher_icons.yaml:
--------------------------------------------------------------------------------
1 | dev_dependencies:
2 | flutter_launcher_icons: "^0.13.1"
3 |
4 | flutter_launcher_icons:
5 | android: "launcher_icon"
6 | ios: true
7 | image_path: "assets/logo.png"
8 | min_sdk_android: 21 # android min sdk min:16, default 21
9 | web:
10 | generate: true
11 | image_path: "assets/logo.png"
12 | background_color: "#hexcode"
13 | theme_color: "#hexcode"
14 | windows:
15 | generate: true
16 | image_path: "assets/logo.png"
17 | icon_size: 48 # min:48, max:256, default: 48
18 | macos:
19 | generate: true
20 | image_path: "assets/logo.png"
--------------------------------------------------------------------------------
/ios/.gitignore:
--------------------------------------------------------------------------------
1 | **/dgph
2 | *.mode1v3
3 | *.mode2v3
4 | *.moved-aside
5 | *.pbxuser
6 | *.perspectivev3
7 | **/*sync/
8 | .sconsign.dblite
9 | .tags*
10 | **/.vagrant/
11 | **/DerivedData/
12 | Icon?
13 | **/Pods/
14 | **/.symlinks/
15 | profile
16 | xcuserdata
17 | **/.generated/
18 | Flutter/App.framework
19 | Flutter/Flutter.framework
20 | Flutter/Flutter.podspec
21 | Flutter/Generated.xcconfig
22 | Flutter/ephemeral/
23 | Flutter/app.flx
24 | Flutter/app.zip
25 | Flutter/flutter_assets/
26 | Flutter/flutter_export_environment.sh
27 | ServiceDefinitions.json
28 | Runner/GeneratedPluginRegistrant.*
29 |
30 | # Exceptions to above rules.
31 | !default.mode1v3
32 | !default.mode2v3
33 | !default.pbxuser
34 | !default.perspectivev3
35 |
--------------------------------------------------------------------------------
/ios/Flutter/AppFrameworkInfo.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | App
9 | CFBundleIdentifier
10 | io.flutter.flutter.app
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | App
15 | CFBundlePackageType
16 | FMWK
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1.0
23 | MinimumOSVersion
24 | 11.0
25 |
26 |
27 |
--------------------------------------------------------------------------------
/ios/Flutter/Debug.xcconfig:
--------------------------------------------------------------------------------
1 | #include "Generated.xcconfig"
2 |
--------------------------------------------------------------------------------
/ios/Flutter/Release.xcconfig:
--------------------------------------------------------------------------------
1 | #include "Generated.xcconfig"
2 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PreviewsEnabled
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PreviewsEnabled
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | import UIKit
2 | import Flutter
3 |
4 | @UIApplicationMain
5 | @objc class AppDelegate: FlutterAppDelegate {
6 | override func application(
7 | _ application: UIApplication,
8 | didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
9 | ) -> Bool {
10 | GeneratedPluginRegistrant.register(with: self)
11 | return super.application(application, didFinishLaunchingWithOptions: launchOptions)
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "size" : "20x20",
5 | "idiom" : "iphone",
6 | "filename" : "Icon-App-20x20@2x.png",
7 | "scale" : "2x"
8 | },
9 | {
10 | "size" : "20x20",
11 | "idiom" : "iphone",
12 | "filename" : "Icon-App-20x20@3x.png",
13 | "scale" : "3x"
14 | },
15 | {
16 | "size" : "29x29",
17 | "idiom" : "iphone",
18 | "filename" : "Icon-App-29x29@1x.png",
19 | "scale" : "1x"
20 | },
21 | {
22 | "size" : "29x29",
23 | "idiom" : "iphone",
24 | "filename" : "Icon-App-29x29@2x.png",
25 | "scale" : "2x"
26 | },
27 | {
28 | "size" : "29x29",
29 | "idiom" : "iphone",
30 | "filename" : "Icon-App-29x29@3x.png",
31 | "scale" : "3x"
32 | },
33 | {
34 | "size" : "40x40",
35 | "idiom" : "iphone",
36 | "filename" : "Icon-App-40x40@2x.png",
37 | "scale" : "2x"
38 | },
39 | {
40 | "size" : "40x40",
41 | "idiom" : "iphone",
42 | "filename" : "Icon-App-40x40@3x.png",
43 | "scale" : "3x"
44 | },
45 | {
46 | "size" : "60x60",
47 | "idiom" : "iphone",
48 | "filename" : "Icon-App-60x60@2x.png",
49 | "scale" : "2x"
50 | },
51 | {
52 | "size" : "60x60",
53 | "idiom" : "iphone",
54 | "filename" : "Icon-App-60x60@3x.png",
55 | "scale" : "3x"
56 | },
57 | {
58 | "size" : "20x20",
59 | "idiom" : "ipad",
60 | "filename" : "Icon-App-20x20@1x.png",
61 | "scale" : "1x"
62 | },
63 | {
64 | "size" : "20x20",
65 | "idiom" : "ipad",
66 | "filename" : "Icon-App-20x20@2x.png",
67 | "scale" : "2x"
68 | },
69 | {
70 | "size" : "29x29",
71 | "idiom" : "ipad",
72 | "filename" : "Icon-App-29x29@1x.png",
73 | "scale" : "1x"
74 | },
75 | {
76 | "size" : "29x29",
77 | "idiom" : "ipad",
78 | "filename" : "Icon-App-29x29@2x.png",
79 | "scale" : "2x"
80 | },
81 | {
82 | "size" : "40x40",
83 | "idiom" : "ipad",
84 | "filename" : "Icon-App-40x40@1x.png",
85 | "scale" : "1x"
86 | },
87 | {
88 | "size" : "40x40",
89 | "idiom" : "ipad",
90 | "filename" : "Icon-App-40x40@2x.png",
91 | "scale" : "2x"
92 | },
93 | {
94 | "size" : "76x76",
95 | "idiom" : "ipad",
96 | "filename" : "Icon-App-76x76@1x.png",
97 | "scale" : "1x"
98 | },
99 | {
100 | "size" : "76x76",
101 | "idiom" : "ipad",
102 | "filename" : "Icon-App-76x76@2x.png",
103 | "scale" : "2x"
104 | },
105 | {
106 | "size" : "83.5x83.5",
107 | "idiom" : "ipad",
108 | "filename" : "Icon-App-83.5x83.5@2x.png",
109 | "scale" : "2x"
110 | },
111 | {
112 | "size" : "1024x1024",
113 | "idiom" : "ios-marketing",
114 | "filename" : "Icon-App-1024x1024@1x.png",
115 | "scale" : "1x"
116 | }
117 | ],
118 | "info" : {
119 | "version" : 1,
120 | "author" : "xcode"
121 | }
122 | }
123 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/getmoneynote/moneynote-flutter/b10d02ea283de3798a4972685a18ab6af7dc1929/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/getmoneynote/moneynote-flutter/b10d02ea283de3798a4972685a18ab6af7dc1929/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/getmoneynote/moneynote-flutter/b10d02ea283de3798a4972685a18ab6af7dc1929/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/getmoneynote/moneynote-flutter/b10d02ea283de3798a4972685a18ab6af7dc1929/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/getmoneynote/moneynote-flutter/b10d02ea283de3798a4972685a18ab6af7dc1929/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/getmoneynote/moneynote-flutter/b10d02ea283de3798a4972685a18ab6af7dc1929/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/getmoneynote/moneynote-flutter/b10d02ea283de3798a4972685a18ab6af7dc1929/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/getmoneynote/moneynote-flutter/b10d02ea283de3798a4972685a18ab6af7dc1929/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/getmoneynote/moneynote-flutter/b10d02ea283de3798a4972685a18ab6af7dc1929/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/getmoneynote/moneynote-flutter/b10d02ea283de3798a4972685a18ab6af7dc1929/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-50x50@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/getmoneynote/moneynote-flutter/b10d02ea283de3798a4972685a18ab6af7dc1929/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-50x50@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-50x50@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/getmoneynote/moneynote-flutter/b10d02ea283de3798a4972685a18ab6af7dc1929/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-50x50@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/getmoneynote/moneynote-flutter/b10d02ea283de3798a4972685a18ab6af7dc1929/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/getmoneynote/moneynote-flutter/b10d02ea283de3798a4972685a18ab6af7dc1929/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/getmoneynote/moneynote-flutter/b10d02ea283de3798a4972685a18ab6af7dc1929/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/getmoneynote/moneynote-flutter/b10d02ea283de3798a4972685a18ab6af7dc1929/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/getmoneynote/moneynote-flutter/b10d02ea283de3798a4972685a18ab6af7dc1929/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/getmoneynote/moneynote-flutter/b10d02ea283de3798a4972685a18ab6af7dc1929/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/getmoneynote/moneynote-flutter/b10d02ea283de3798a4972685a18ab6af7dc1929/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/getmoneynote/moneynote-flutter/b10d02ea283de3798a4972685a18ab6af7dc1929/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/getmoneynote/moneynote-flutter/b10d02ea283de3798a4972685a18ab6af7dc1929/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "LaunchImage.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "filename" : "LaunchImage@2x.png",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "universal",
15 | "filename" : "LaunchImage@3x.png",
16 | "scale" : "3x"
17 | }
18 | ],
19 | "info" : {
20 | "version" : 1,
21 | "author" : "xcode"
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/getmoneynote/moneynote-flutter/b10d02ea283de3798a4972685a18ab6af7dc1929/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/getmoneynote/moneynote-flutter/b10d02ea283de3798a4972685a18ab6af7dc1929/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/getmoneynote/moneynote-flutter/b10d02ea283de3798a4972685a18ab6af7dc1929/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md:
--------------------------------------------------------------------------------
1 | # Launch Screen Assets
2 |
3 | You can customize the launch screen with your own desired assets by replacing the image files in this directory.
4 |
5 | You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images.
--------------------------------------------------------------------------------
/ios/Runner/Base.lproj/LaunchScreen.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/ios/Runner/Base.lproj/Main.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/ios/Runner/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleDisplayName
8 | Moneynote
9 | CFBundleExecutable
10 | $(EXECUTABLE_NAME)
11 | CFBundleIdentifier
12 | $(PRODUCT_BUNDLE_IDENTIFIER)
13 | CFBundleInfoDictionaryVersion
14 | 6.0
15 | CFBundleName
16 | MoneyNote
17 | CFBundlePackageType
18 | APPL
19 | CFBundleShortVersionString
20 | $(FLUTTER_BUILD_NAME)
21 | CFBundleSignature
22 | ????
23 | CFBundleVersion
24 | $(FLUTTER_BUILD_NUMBER)
25 | LSRequiresIPhoneOS
26 |
27 | UILaunchStoryboardName
28 | LaunchScreen
29 | UIMainStoryboardFile
30 | Main
31 | UISupportedInterfaceOrientations
32 |
33 | UIInterfaceOrientationPortrait
34 | UIInterfaceOrientationLandscapeLeft
35 | UIInterfaceOrientationLandscapeRight
36 |
37 | UISupportedInterfaceOrientations~ipad
38 |
39 | UIInterfaceOrientationPortrait
40 | UIInterfaceOrientationPortraitUpsideDown
41 | UIInterfaceOrientationLandscapeLeft
42 | UIInterfaceOrientationLandscapeRight
43 |
44 | CADisableMinimumFrameDurationOnPhone
45 |
46 | UIApplicationSupportsIndirectInputEvents
47 |
48 |
49 |
50 |
--------------------------------------------------------------------------------
/ios/Runner/Runner-Bridging-Header.h:
--------------------------------------------------------------------------------
1 | #import "GeneratedPluginRegistrant.h"
2 |
--------------------------------------------------------------------------------
/ios/RunnerTests/RunnerTests.swift:
--------------------------------------------------------------------------------
1 | import Flutter
2 | import UIKit
3 | import XCTest
4 |
5 | class RunnerTests: XCTestCase {
6 |
7 | func testExample() {
8 | // If you add code to the Runner application, consider adding tests here.
9 | // See https://developer.apple.com/documentation/xctest for more information about using XCTest.
10 | }
11 |
12 | }
13 |
--------------------------------------------------------------------------------
/lib/app.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:flutter_easyloading/flutter_easyloading.dart';
3 | import 'package:get/get.dart';
4 | import 'package:flutter_localizations/flutter_localizations.dart';
5 | import 'package:pull_to_refresh/pull_to_refresh.dart';
6 | import '/app/bindings/initial_binding.dart';
7 | import '/app/core/values/app_values.dart';
8 | import '/app/routes/app_pages.dart';
9 | import '/generated/locales.g.dart';
10 | import 'theme.dart';
11 |
12 | class App extends StatelessWidget {
13 |
14 | const App({super.key});
15 |
16 | @override
17 | Widget build(BuildContext context) {
18 | return GetMaterialApp(
19 | title: AppValues.appName,
20 | translationsKeys: AppTranslation.translations,
21 | locale: Get.deviceLocale,
22 | // locale: const Locale('zh', 'CN'),
23 | // locale: const Locale('en', 'US'),
24 | fallbackLocale: const Locale('en', 'US'),
25 | localizationsDelegates: const [
26 | RefreshLocalizations.delegate,
27 | GlobalMaterialLocalizations.delegate,
28 | GlobalWidgetsLocalizations.delegate,
29 | GlobalCupertinoLocalizations.delegate,
30 | ],
31 | supportedLocales: const [
32 | Locale('en', 'US'),
33 | Locale('zh', 'CN'),
34 | ],
35 | theme: lightTheme,
36 | darkTheme: darkTheme,
37 | themeMode: ThemeMode.system,
38 | builder: EasyLoading.init(),
39 | initialRoute: AppPages.INITIAL,
40 | initialBinding: InitialBinding(),
41 | getPages: AppPages.routes,
42 | );
43 | }
44 |
45 | }
--------------------------------------------------------------------------------
/lib/app/bindings/initial_binding.dart:
--------------------------------------------------------------------------------
1 | import 'package:get/get.dart';
2 | import '/app/modules/common/select/select_controller.dart';
3 | import '/app/modules/my/controllers/language_controller.dart';
4 | import '/app/modules/my/controllers/theme_controller.dart';
5 | import '/app/modules/login/controllers/auth_controller.dart';
6 |
7 | class InitialBinding implements Bindings {
8 |
9 | @override
10 | void dependencies() {
11 | Get.put(AuthController());
12 | Get.put(LanguageController());
13 | Get.put(ThemeController());
14 | Get.put(SelectController());
15 | }
16 |
17 | }
--------------------------------------------------------------------------------
/lib/app/core/base/base_controller.dart:
--------------------------------------------------------------------------------
1 | import 'package:get/get.dart';
2 |
3 | abstract class BaseController extends GetxController {
4 |
5 | }
--------------------------------------------------------------------------------
/lib/app/core/base/base_repository.dart:
--------------------------------------------------------------------------------
1 | import '../../network/http.dart';
2 |
3 | class BaseRepository {
4 |
5 | static Future>> query(String prefix, Map query) async {
6 | List data = (await Http.get(prefix, params: {
7 | ...query,
8 | }))['data'];
9 | return List