├── .github
└── logo.png
├── .gitignore
├── .metadata
├── README.md
├── analysis_options.yaml
├── android
├── .gitignore
├── app
│ ├── build.gradle
│ └── src
│ │ ├── debug
│ │ └── AndroidManifest.xml
│ │ ├── main
│ │ ├── AndroidManifest.xml
│ │ ├── kotlin
│ │ │ └── com
│ │ │ │ └── cershy
│ │ │ │ └── linyu_mobile
│ │ │ │ └── MainActivity.kt
│ │ └── res
│ │ │ ├── drawable-v21
│ │ │ └── launch_background.xml
│ │ │ ├── drawable
│ │ │ └── launch_background.xml
│ │ │ ├── mipmap-hdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-mdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xhdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xxxhdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── values-night
│ │ │ └── styles.xml
│ │ │ ├── values
│ │ │ └── styles.xml
│ │ │ └── xml
│ │ │ └── network_security_config.xml
│ │ └── profile
│ │ └── AndroidManifest.xml
├── build.gradle
├── gradle.properties
├── gradle
│ └── wrapper
│ │ └── gradle-wrapper.properties
└── settings.gradle
├── assets
├── iconfont
│ └── iconfont.ttf
├── images
│ ├── call.png
│ ├── chat-blue.png
│ ├── chat-empty.png
│ ├── chat-pink.png
│ ├── default-portrait.jpeg
│ ├── edit.png
│ ├── empty-bg.png
│ ├── file-blue.png
│ ├── file-pink.png
│ ├── file-white.png
│ ├── flutter.png
│ ├── group.png
│ ├── icon-circle-of-friends.png
│ ├── linyu.png
│ ├── logo-about.png
│ ├── logo-login-blue.png
│ ├── logo-login-pink.png
│ ├── logo-qr-blue.png
│ ├── logo-qr-pink.png
│ ├── logo.png
│ ├── mine-about.png
│ ├── mine-blue.png
│ ├── mine-empty.png
│ ├── mine-notify-blue.png
│ ├── mine-notify-pink.png
│ ├── mine-password.png
│ ├── mine-pink.png
│ ├── mine-set.png
│ ├── mine-talk-blue.png
│ ├── mine-talk-pink.png
│ ├── more.png
│ ├── qr-affirm.png
│ ├── signature.png
│ ├── talk-blue.png
│ ├── talk-empty.png
│ ├── talk-pink.png
│ ├── user-blue.png
│ ├── user-empty.png
│ └── user-pink.png
└── sounds
│ └── success.mp3
├── 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-60x60@2x.png
│ │ │ ├── Icon-App-60x60@3x.png
│ │ │ ├── Icon-App-76x76@1x.png
│ │ │ ├── Icon-App-76x76@2x.png
│ │ │ └── Icon-App-83.5x83.5@2x.png
│ │ └── LaunchImage.imageset
│ │ │ ├── Contents.json
│ │ │ ├── LaunchImage.png
│ │ │ ├── LaunchImage@2x.png
│ │ │ ├── LaunchImage@3x.png
│ │ │ └── README.md
│ ├── Base.lproj
│ │ ├── LaunchScreen.storyboard
│ │ └── Main.storyboard
│ ├── Info.plist
│ └── Runner-Bridging-Header.h
└── RunnerTests
│ └── RunnerTests.swift
├── lib
├── api
│ ├── Http.dart
│ ├── chat_group_api.dart
│ ├── chat_group_member.dart
│ ├── chat_group_notice_api.dart
│ ├── chat_list_api.dart
│ ├── friend_api.dart
│ ├── group_api.dart
│ ├── msg_api.dart
│ ├── notify_api.dart
│ ├── qr_api.dart
│ ├── talk_api.dart
│ ├── talk_comment_api.dart
│ ├── talk_like_api.dart
│ ├── user_api.dart
│ └── video_api.dart
├── components
│ ├── CustomDialog
│ │ └── index.dart
│ ├── app_bar_title
│ │ └── index.dart
│ ├── custom_animated_dots_text
│ │ └── index.dart
│ ├── custom_audio
│ │ └── index.dart
│ ├── custom_badge
│ │ └── index.dart
│ ├── custom_button
│ │ └── index.dart
│ ├── custom_drop_menu
│ │ └── index.dart
│ ├── custom_flutter_toast
│ │ └── index.dart
│ ├── custom_gradient_line
│ │ └── index.dart
│ ├── custom_icon_button
│ │ └── index.dart
│ ├── custom_image
│ │ └── index.dart
│ ├── custom_image_group
│ │ └── index.dart
│ ├── custom_label_value
│ │ └── index.dart
│ ├── custom_label_value_button
│ │ └── index.dart
│ ├── custom_least_button
│ │ └── index.dart
│ ├── custom_material_button
│ │ └── index.dart
│ ├── custom_portrait
│ │ └── index.dart
│ ├── custom_search_box
│ │ └── index.dart
│ ├── custom_shadow_text
│ │ └── index.dart
│ ├── custom_sound_icon
│ │ └── index.dart
│ ├── custom_text_button
│ │ └── index.dart
│ ├── custom_text_field
│ │ └── index.dart
│ ├── custom_tip
│ │ └── index.dart
│ ├── custom_update_portrait
│ │ └── index.dart
│ └── custom_voice_record_buttom
│ │ └── index.dart
├── main.dart
├── pages
│ ├── add_friend
│ │ ├── friend_info
│ │ │ ├── index.dart
│ │ │ └── logic.dart
│ │ ├── friend_request
│ │ │ ├── index.dart
│ │ │ └── logic.dart
│ │ ├── index.dart
│ │ └── logic.dart
│ ├── chat_frame
│ │ ├── chat_content
│ │ │ ├── call.dart
│ │ │ ├── file.dart
│ │ │ ├── image.dart
│ │ │ ├── msg.dart
│ │ │ ├── retraction.dart
│ │ │ ├── system.dart
│ │ │ ├── text.dart
│ │ │ ├── time.dart
│ │ │ └── voice.dart
│ │ ├── chat_setting
│ │ │ ├── index.dart
│ │ │ └── logic.dart
│ │ ├── index.dart
│ │ └── logic.dart
│ ├── chat_list
│ │ ├── index.dart
│ │ └── logic.dart
│ ├── contacts
│ │ ├── chat_group_information
│ │ │ ├── chat_group_member
│ │ │ │ ├── index.dart
│ │ │ │ └── logic.dart
│ │ │ ├── chat_group_notice
│ │ │ │ ├── add_chat_group_notice
│ │ │ │ │ ├── index.dart
│ │ │ │ │ └── logic.dart
│ │ │ │ ├── index.dart
│ │ │ │ └── logic.dart
│ │ │ ├── index.dart
│ │ │ ├── logic.dart
│ │ │ ├── set_group_name
│ │ │ │ ├── index.dart
│ │ │ │ └── logic.dart
│ │ │ ├── set_group_nickname
│ │ │ │ ├── index.dart
│ │ │ │ └── logic.dart
│ │ │ └── set_group_remark
│ │ │ │ ├── index.dart
│ │ │ │ └── logic.dart
│ │ ├── create_chat_group
│ │ │ ├── index.dart
│ │ │ ├── logic.dart
│ │ │ └── select_user
│ │ │ │ ├── index.dart
│ │ │ │ └── logic.dart
│ │ ├── friend_information
│ │ │ ├── index.dart
│ │ │ ├── logic.dart
│ │ │ ├── set_group
│ │ │ │ ├── index.dart
│ │ │ │ └── logic.dart
│ │ │ ├── set_remark
│ │ │ │ ├── index.dart
│ │ │ │ └── logic.dart
│ │ │ └── signature_info
│ │ │ │ ├── index.dart
│ │ │ │ └── logic.dart
│ │ ├── index.dart
│ │ ├── logic.dart
│ │ └── user_select
│ │ │ ├── index.dart
│ │ │ └── logic.dart
│ ├── file_details
│ │ ├── index.dart
│ │ └── logic.dart
│ ├── image_viewer
│ │ ├── image_viewer_update
│ │ │ ├── index.dart
│ │ │ └── logic.dart
│ │ ├── index.dart
│ │ └── logic.dart
│ ├── login
│ │ ├── index.dart
│ │ └── logic.dart
│ ├── mine
│ │ ├── about
│ │ │ ├── index.dart
│ │ │ └── logic.dart
│ │ ├── edit
│ │ │ ├── index.dart
│ │ │ └── logic.dart
│ │ ├── index.dart
│ │ ├── logic.dart
│ │ ├── mine_qr_code
│ │ │ ├── index.dart
│ │ │ └── logic.dart
│ │ └── system_notify
│ │ │ ├── index.dart
│ │ │ └── logic.dart
│ ├── navigation
│ │ ├── index.dart
│ │ └── logic.dart
│ ├── password
│ │ ├── retrieve
│ │ │ ├── index.dart
│ │ │ └── logic.dart
│ │ └── update
│ │ │ ├── index.dart
│ │ │ └── logic.dart
│ ├── qr_code_scan
│ │ ├── index.dart
│ │ ├── logic.dart
│ │ ├── qr_friend_affirm
│ │ │ ├── index.dart
│ │ │ └── logic.dart
│ │ ├── qr_login_affirm
│ │ │ ├── index.dart
│ │ │ └── logic.dart
│ │ └── qr_other_result
│ │ │ ├── index.dart
│ │ │ └── logic.dart
│ ├── re_forward
│ │ ├── index.dart
│ │ └── logic.dart
│ ├── register
│ │ ├── index.dart
│ │ └── logic.dart
│ ├── talk
│ │ ├── index.dart
│ │ ├── logic.dart
│ │ ├── talk_create
│ │ │ ├── index.dart
│ │ │ └── logic.dart
│ │ └── talk_details
│ │ │ ├── index.dart
│ │ │ └── logic.dart
│ └── video_chat
│ │ ├── index.dart
│ │ └── logic.dart
└── utils
│ ├── String.dart
│ ├── app_badger.dart
│ ├── cropPicture.dart
│ ├── date.dart
│ ├── emoji.dart
│ ├── encrypt.dart
│ ├── extension.dart
│ ├── getx_config
│ ├── ControllerBinding.dart
│ ├── GlobalData.dart
│ ├── GlobalThemeConfig.dart
│ ├── config.dart
│ └── route.dart
│ ├── linyu_msg.dart
│ ├── notification.dart
│ ├── permission_handler.dart
│ └── web_socket.dart
├── pubspec.yaml
└── test
└── widget_test.dart
/.github/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/.github/logo.png
--------------------------------------------------------------------------------
/.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 | *.lock
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 | .pub-cache/
31 | .pub/
32 | /build/
33 |
34 | # Symbolication related
35 | app.*.symbols
36 |
37 | # Obfuscation related
38 | app.*.map.json
39 |
40 | # Android Studio will place build artifacts here
41 | /android/app/debug
42 | /android/app/profile
43 | /android/app/release
44 |
--------------------------------------------------------------------------------
/.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: "80c2e84975bbd28ecf5f8d4bd4ca5a2490bfc819"
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: 80c2e84975bbd28ecf5f8d4bd4ca5a2490bfc819
17 | base_revision: 80c2e84975bbd28ecf5f8d4bd4ca5a2490bfc819
18 | - platform: android
19 | create_revision: 80c2e84975bbd28ecf5f8d4bd4ca5a2490bfc819
20 | base_revision: 80c2e84975bbd28ecf5f8d4bd4ca5a2490bfc819
21 | - platform: ios
22 | create_revision: 80c2e84975bbd28ecf5f8d4bd4ca5a2490bfc819
23 | base_revision: 80c2e84975bbd28ecf5f8d4bd4ca5a2490bfc819
24 |
25 | # User provided section
26 |
27 | # List of Local paths (relative to this file) that should be
28 | # ignored by the migrate tool.
29 | #
30 | # Files that are not part of the templates will be ignored by default.
31 | unmanaged_files:
32 | - 'lib/main.dart'
33 | - 'ios/Runner.xcodeproj/project.pbxproj'
34 |
--------------------------------------------------------------------------------
/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 | analyzer:
11 | errors:
12 | avoid_function_literals_in_foreach_calls: ignore
13 | curly_braces_in_flow_control_structures: ignore
14 | unnecessary_new: ignore
15 |
16 |
17 | include: package:flutter_lints/flutter.yaml
18 |
19 | linter:
20 | # The lint rules applied to this project can be customized in the
21 | # section below to disable rules from the `package:flutter_lints/flutter.yaml`
22 | # included above or to enable additional rules. A list of all available lints
23 | # and their documentation is published at https://dart.dev/lints.
24 | #
25 | # Instead of disabling a lint rule for the entire project in the
26 | # section below, it can also be suppressed for a single line of code
27 | # or a specific dart file by using the `// ignore: name_of_lint` and
28 | # `// ignore_for_file: name_of_lint` syntax on the line or in the file
29 | # producing the lint.
30 | rules:
31 | # avoid_print: false # Uncomment to disable the `avoid_print` rule
32 | # prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule
33 |
34 | # Additional information about this file can be found at
35 | # https://dart.dev/guides/language/analysis-options
36 |
--------------------------------------------------------------------------------
/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/to/reference-keystore
11 | key.properties
12 | **/*.keystore
13 | **/*.jks
14 |
--------------------------------------------------------------------------------
/android/app/build.gradle:
--------------------------------------------------------------------------------
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.cershy.linyu_mobile"
10 | compileSdk = flutter.compileSdkVersion
11 | ndkVersion = flutter.ndkVersion
12 |
13 | compileOptions {
14 | sourceCompatibility = JavaVersion.VERSION_1_8
15 | targetCompatibility = JavaVersion.VERSION_1_8
16 | }
17 |
18 | kotlinOptions {
19 | jvmTarget = JavaVersion.VERSION_1_8
20 | }
21 |
22 | defaultConfig {
23 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
24 | applicationId = "com.cershy.linyu_mobile"
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.debug
38 | }
39 | }
40 | }
41 |
42 | flutter {
43 | source = "../.."
44 | }
45 |
--------------------------------------------------------------------------------
/android/app/src/debug/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
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 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
--------------------------------------------------------------------------------
/android/app/src/main/kotlin/com/cershy/linyu_mobile/MainActivity.kt:
--------------------------------------------------------------------------------
1 | package com.cershy.linyu_mobile
2 |
3 | import io.flutter.embedding.android.FlutterActivity
4 |
5 | class MainActivity: FlutterActivity()
6 |
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable-v21/launch_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | -
8 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable/launch_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | -
8 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.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/main/res/xml/network_security_config.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/android/app/src/profile/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
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 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
--------------------------------------------------------------------------------
/android/build.gradle:
--------------------------------------------------------------------------------
1 | allprojects {
2 | repositories {
3 | google()
4 | mavenCentral()
5 | }
6 | }
7 |
8 | rootProject.buildDir = "../build"
9 | subprojects {
10 | project.buildDir = "${rootProject.buildDir}/${project.name}"
11 | }
12 | subprojects {
13 | project.evaluationDependsOn(":app")
14 | }
15 |
16 | tasks.register("clean", Delete) {
17 | delete rootProject.buildDir
18 | }
19 |
--------------------------------------------------------------------------------
/android/gradle.properties:
--------------------------------------------------------------------------------
1 | org.gradle.jvmargs=-Xmx4G -XX:MaxMetaspaceSize=2G -XX:+HeapDumpOnOutOfMemoryError
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.6.3-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 |
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 "7.3.0" apply false
22 | id "org.jetbrains.kotlin.android" version "1.9.10" apply false
23 | }
24 |
25 | include ":app"
26 |
--------------------------------------------------------------------------------
/assets/iconfont/iconfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/assets/iconfont/iconfont.ttf
--------------------------------------------------------------------------------
/assets/images/call.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/assets/images/call.png
--------------------------------------------------------------------------------
/assets/images/chat-blue.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/assets/images/chat-blue.png
--------------------------------------------------------------------------------
/assets/images/chat-empty.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/assets/images/chat-empty.png
--------------------------------------------------------------------------------
/assets/images/chat-pink.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/assets/images/chat-pink.png
--------------------------------------------------------------------------------
/assets/images/default-portrait.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/assets/images/default-portrait.jpeg
--------------------------------------------------------------------------------
/assets/images/edit.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/assets/images/edit.png
--------------------------------------------------------------------------------
/assets/images/empty-bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/assets/images/empty-bg.png
--------------------------------------------------------------------------------
/assets/images/file-blue.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/assets/images/file-blue.png
--------------------------------------------------------------------------------
/assets/images/file-pink.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/assets/images/file-pink.png
--------------------------------------------------------------------------------
/assets/images/file-white.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/assets/images/file-white.png
--------------------------------------------------------------------------------
/assets/images/flutter.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/assets/images/flutter.png
--------------------------------------------------------------------------------
/assets/images/group.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/assets/images/group.png
--------------------------------------------------------------------------------
/assets/images/icon-circle-of-friends.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/assets/images/icon-circle-of-friends.png
--------------------------------------------------------------------------------
/assets/images/linyu.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/assets/images/linyu.png
--------------------------------------------------------------------------------
/assets/images/logo-about.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/assets/images/logo-about.png
--------------------------------------------------------------------------------
/assets/images/logo-login-blue.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/assets/images/logo-login-blue.png
--------------------------------------------------------------------------------
/assets/images/logo-login-pink.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/assets/images/logo-login-pink.png
--------------------------------------------------------------------------------
/assets/images/logo-qr-blue.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/assets/images/logo-qr-blue.png
--------------------------------------------------------------------------------
/assets/images/logo-qr-pink.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/assets/images/logo-qr-pink.png
--------------------------------------------------------------------------------
/assets/images/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/assets/images/logo.png
--------------------------------------------------------------------------------
/assets/images/mine-about.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/assets/images/mine-about.png
--------------------------------------------------------------------------------
/assets/images/mine-blue.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/assets/images/mine-blue.png
--------------------------------------------------------------------------------
/assets/images/mine-empty.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/assets/images/mine-empty.png
--------------------------------------------------------------------------------
/assets/images/mine-notify-blue.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/assets/images/mine-notify-blue.png
--------------------------------------------------------------------------------
/assets/images/mine-notify-pink.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/assets/images/mine-notify-pink.png
--------------------------------------------------------------------------------
/assets/images/mine-password.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/assets/images/mine-password.png
--------------------------------------------------------------------------------
/assets/images/mine-pink.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/assets/images/mine-pink.png
--------------------------------------------------------------------------------
/assets/images/mine-set.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/assets/images/mine-set.png
--------------------------------------------------------------------------------
/assets/images/mine-talk-blue.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/assets/images/mine-talk-blue.png
--------------------------------------------------------------------------------
/assets/images/mine-talk-pink.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/assets/images/mine-talk-pink.png
--------------------------------------------------------------------------------
/assets/images/more.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/assets/images/more.png
--------------------------------------------------------------------------------
/assets/images/qr-affirm.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/assets/images/qr-affirm.png
--------------------------------------------------------------------------------
/assets/images/signature.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/assets/images/signature.png
--------------------------------------------------------------------------------
/assets/images/talk-blue.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/assets/images/talk-blue.png
--------------------------------------------------------------------------------
/assets/images/talk-empty.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/assets/images/talk-empty.png
--------------------------------------------------------------------------------
/assets/images/talk-pink.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/assets/images/talk-pink.png
--------------------------------------------------------------------------------
/assets/images/user-blue.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/assets/images/user-blue.png
--------------------------------------------------------------------------------
/assets/images/user-empty.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/assets/images/user-empty.png
--------------------------------------------------------------------------------
/assets/images/user-pink.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/assets/images/user-pink.png
--------------------------------------------------------------------------------
/assets/sounds/success.mp3:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/assets/sounds/success.mp3
--------------------------------------------------------------------------------
/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 | 12.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 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 | }
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/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/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/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/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/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/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/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/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/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/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/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/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/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/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/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/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/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/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/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/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/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/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/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/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/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/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/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DWHengr/linyu_mobile/a207b3ce7dfeb3ed5aa5d2bc2f9c899926b61287/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 | Linyu Mobile
9 | CFBundleExecutable
10 | $(EXECUTABLE_NAME)
11 | CFBundleIdentifier
12 | $(PRODUCT_BUNDLE_IDENTIFIER)
13 | CFBundleInfoDictionaryVersion
14 | 6.0
15 | CFBundleName
16 | linyu_mobile
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 | LSApplicationQueriesSchemes
49 |
50 | sms
51 | tel
52 | http
53 | https
54 |
55 | NSPhotoLibraryAddUsageDescription
56 | 需要访问相册权限以保存图片
57 |
58 |
59 |
--------------------------------------------------------------------------------
/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/api/Http.dart:
--------------------------------------------------------------------------------
1 | import 'package:dio/dio.dart';
2 | import 'package:flutter/foundation.dart' show kReleaseMode;
3 | import 'package:pretty_dio_logger/pretty_dio_logger.dart' show PrettyDioLogger;
4 | import 'package:shared_preferences/shared_preferences.dart';
5 |
6 | class Http {
7 | static final Http _instance = Http._internal();
8 |
9 | factory Http() => _instance;
10 |
11 | late Dio dio;
12 |
13 | Http._internal() {
14 | dio = Dio(BaseOptions(
15 | baseUrl: 'http://192.168.1.17:9200',
16 | connectTimeout: const Duration(seconds: 20),
17 | receiveTimeout: const Duration(seconds: 20),
18 | ));
19 | // 添加拦截器
20 | dio.interceptors
21 | .add(InterceptorsWrapper(onRequest: (options, handler) async {
22 | // 从本地存储获取token
23 | SharedPreferences prefs = await SharedPreferences.getInstance();
24 | final token = prefs.getString('x-token');
25 | if (token != null) {
26 | options.headers['x-token'] = token;
27 | }
28 | return handler.next(options);
29 | }, onError: (error, handler) {
30 | if (error.response?.statusCode == 401) {
31 | // 处理token过期
32 | }
33 | return handler.next(error);
34 | }));
35 | if (!kReleaseMode)
36 | dio.interceptors.add(PrettyDioLogger(
37 | // requestHeader: true,
38 | // requestBody: true,
39 | // responseHeader: true,
40 | responseBody: true,
41 | ));
42 | }
43 | }
44 |
--------------------------------------------------------------------------------
/lib/api/chat_group_api.dart:
--------------------------------------------------------------------------------
1 | import 'package:dio/dio.dart';
2 | import 'package:linyu_mobile/api/Http.dart';
3 |
4 | class ChatGroupApi {
5 | final Dio _dio = Http().dio;
6 |
7 | static final ChatGroupApi _instance = ChatGroupApi._internal();
8 |
9 | ChatGroupApi._internal();
10 |
11 | factory ChatGroupApi() {
12 | return _instance;
13 | }
14 |
15 | Future