Compare commits
21 Commits
6da78ca2a5
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 0c7fbe5897 | |||
| de127eeef5 | |||
| 01178bc033 | |||
| 74a5bba5f1 | |||
| 724e31ad7d | |||
| e6ea8182e4 | |||
| c585d5ce0d | |||
| d6f27690c6 | |||
| be5b5bb951 | |||
| 8a48c7afe2 | |||
| d0ba890ee3 | |||
| d57d5ae6ec | |||
| f107eb99f6 | |||
| faeeb52653 | |||
| bd452ddc82 | |||
| eb68269dc6 | |||
| 12091d5c02 | |||
| fb790ba81d | |||
| 5d89f23ddc | |||
| 0aea393ed0 | |||
| 179ce76a53 |
@@ -3,7 +3,7 @@
|
||||
"packages": [
|
||||
{
|
||||
"name": "archive",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/archive-4.0.7",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/archive-4.0.9",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "3.0"
|
||||
},
|
||||
@@ -15,7 +15,7 @@
|
||||
},
|
||||
{
|
||||
"name": "async",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/async-2.13.0",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/async-2.13.1",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "3.4"
|
||||
},
|
||||
@@ -87,7 +87,7 @@
|
||||
},
|
||||
{
|
||||
"name": "cross_file",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/cross_file-0.3.5+1",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/cross_file-0.3.5+2",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "3.8"
|
||||
},
|
||||
@@ -105,7 +105,7 @@
|
||||
},
|
||||
{
|
||||
"name": "dbus",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/dbus-0.7.11",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/dbus-0.7.12",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "2.17"
|
||||
},
|
||||
@@ -129,13 +129,13 @@
|
||||
},
|
||||
{
|
||||
"name": "dio",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/dio-5.9.0",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/dio-5.9.2",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "2.18"
|
||||
},
|
||||
{
|
||||
"name": "dio_web_adapter",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/dio_web_adapter-2.1.1",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/dio_web_adapter-2.1.2",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "3.3"
|
||||
},
|
||||
@@ -165,7 +165,7 @@
|
||||
},
|
||||
{
|
||||
"name": "ffi",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/ffi-2.1.5",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/ffi-2.2.0",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "3.7"
|
||||
},
|
||||
@@ -241,6 +241,42 @@
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "2.12"
|
||||
},
|
||||
{
|
||||
"name": "flutter_image_compress",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/flutter_image_compress-2.4.0",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "2.12"
|
||||
},
|
||||
{
|
||||
"name": "flutter_image_compress_common",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/flutter_image_compress_common-1.0.6",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "2.12"
|
||||
},
|
||||
{
|
||||
"name": "flutter_image_compress_macos",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/flutter_image_compress_macos-1.0.3",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "2.12"
|
||||
},
|
||||
{
|
||||
"name": "flutter_image_compress_ohos",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/flutter_image_compress_ohos-0.0.3",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "2.12"
|
||||
},
|
||||
{
|
||||
"name": "flutter_image_compress_platform_interface",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/flutter_image_compress_platform_interface-1.0.5",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "2.12"
|
||||
},
|
||||
{
|
||||
"name": "flutter_image_compress_web",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/flutter_image_compress_web-0.1.5",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "2.12"
|
||||
},
|
||||
{
|
||||
"name": "flutter_inappwebview",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/flutter_inappwebview-6.1.5",
|
||||
@@ -255,9 +291,9 @@
|
||||
},
|
||||
{
|
||||
"name": "flutter_inappwebview_internal_annotations",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/flutter_inappwebview_internal_annotations-1.2.0",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/flutter_inappwebview_internal_annotations-1.3.0",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "2.17"
|
||||
"languageVersion": "3.7"
|
||||
},
|
||||
{
|
||||
"name": "flutter_inappwebview_ios",
|
||||
@@ -297,7 +333,7 @@
|
||||
},
|
||||
{
|
||||
"name": "flutter_plugin_android_lifecycle",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/flutter_plugin_android_lifecycle-2.0.33",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/flutter_plugin_android_lifecycle-2.0.34",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "3.9"
|
||||
},
|
||||
@@ -363,9 +399,9 @@
|
||||
},
|
||||
{
|
||||
"name": "hooks",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/hooks-1.0.0",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/hooks-1.0.2",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "3.9"
|
||||
"languageVersion": "3.10"
|
||||
},
|
||||
{
|
||||
"name": "html",
|
||||
@@ -393,7 +429,7 @@
|
||||
},
|
||||
{
|
||||
"name": "image",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/image-4.7.2",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/image-4.8.0",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "3.0"
|
||||
},
|
||||
@@ -417,7 +453,7 @@
|
||||
},
|
||||
{
|
||||
"name": "image_picker_android",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/image_picker_android-0.8.13+12",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/image_picker_android-0.8.13+16",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "3.9"
|
||||
},
|
||||
@@ -429,9 +465,9 @@
|
||||
},
|
||||
{
|
||||
"name": "image_picker_ios",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/image_picker_ios-0.8.13+3",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/image_picker_ios-0.8.13+6",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "3.9"
|
||||
"languageVersion": "3.10"
|
||||
},
|
||||
{
|
||||
"name": "image_picker_linux",
|
||||
@@ -463,6 +499,18 @@
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "3.3"
|
||||
},
|
||||
{
|
||||
"name": "jni",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/jni-1.0.0",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "3.3"
|
||||
},
|
||||
{
|
||||
"name": "jni_flutter",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/jni_flutter-1.0.1",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "3.3"
|
||||
},
|
||||
{
|
||||
"name": "js",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/js-0.7.2",
|
||||
@@ -531,9 +579,9 @@
|
||||
},
|
||||
{
|
||||
"name": "native_toolchain_c",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/native_toolchain_c-0.17.4",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/native_toolchain_c-0.17.6",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "3.9"
|
||||
"languageVersion": "3.10"
|
||||
},
|
||||
{
|
||||
"name": "nested",
|
||||
@@ -543,7 +591,7 @@
|
||||
},
|
||||
{
|
||||
"name": "objective_c",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/objective_c-9.2.4",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/objective_c-9.3.0",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "3.10"
|
||||
},
|
||||
@@ -553,9 +601,15 @@
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "3.0"
|
||||
},
|
||||
{
|
||||
"name": "package_config",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/package_config-2.2.0",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "3.4"
|
||||
},
|
||||
{
|
||||
"name": "package_info_plus",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/package_info_plus-9.0.0",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/package_info_plus-9.0.1",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "3.3"
|
||||
},
|
||||
@@ -579,7 +633,7 @@
|
||||
},
|
||||
{
|
||||
"name": "path_provider_android",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/path_provider_android-2.2.22",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/path_provider_android-2.3.1",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "3.9"
|
||||
},
|
||||
@@ -645,10 +699,22 @@
|
||||
},
|
||||
{
|
||||
"name": "petitparser",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/petitparser-7.0.1",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/petitparser-7.0.2",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "3.8"
|
||||
},
|
||||
{
|
||||
"name": "photo_manager",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/photo_manager-3.9.0",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "2.13"
|
||||
},
|
||||
{
|
||||
"name": "photo_manager_image_provider",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/photo_manager_image_provider-2.2.0",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "2.13"
|
||||
},
|
||||
{
|
||||
"name": "photo_view",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/photo_view-0.15.0",
|
||||
@@ -669,7 +735,7 @@
|
||||
},
|
||||
{
|
||||
"name": "posix",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/posix-6.0.3",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/posix-6.5.0",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "3.0"
|
||||
},
|
||||
@@ -759,13 +825,13 @@
|
||||
},
|
||||
{
|
||||
"name": "shared_preferences",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences-2.5.4",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences-2.5.5",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "3.9"
|
||||
},
|
||||
{
|
||||
"name": "shared_preferences_android",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences_android-2.4.18",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences_android-2.4.23",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "3.9"
|
||||
},
|
||||
@@ -783,9 +849,9 @@
|
||||
},
|
||||
{
|
||||
"name": "shared_preferences_platform_interface",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences_platform_interface-2.4.1",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences_platform_interface-2.4.2",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "3.2"
|
||||
"languageVersion": "3.9"
|
||||
},
|
||||
{
|
||||
"name": "shared_preferences_web",
|
||||
@@ -807,7 +873,7 @@
|
||||
},
|
||||
{
|
||||
"name": "source_span",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/source_span-1.10.1",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/source_span-1.10.2",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "3.1"
|
||||
},
|
||||
@@ -825,9 +891,9 @@
|
||||
},
|
||||
{
|
||||
"name": "sqflite_android",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/sqflite_android-2.4.2+2",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/sqflite_android-2.4.2+3",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "3.9"
|
||||
"languageVersion": "3.10"
|
||||
},
|
||||
{
|
||||
"name": "sqflite_common",
|
||||
@@ -909,15 +975,15 @@
|
||||
},
|
||||
{
|
||||
"name": "url_launcher_android",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/url_launcher_android-6.3.28",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/url_launcher_android-6.3.29",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "3.9"
|
||||
},
|
||||
{
|
||||
"name": "url_launcher_ios",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/url_launcher_ios-6.3.6",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/url_launcher_ios-6.4.1",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "3.9"
|
||||
"languageVersion": "3.10"
|
||||
},
|
||||
{
|
||||
"name": "url_launcher_linux",
|
||||
@@ -951,7 +1017,7 @@
|
||||
},
|
||||
{
|
||||
"name": "uuid",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/uuid-4.5.2",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/uuid-4.5.3",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "3.0"
|
||||
},
|
||||
@@ -963,19 +1029,19 @@
|
||||
},
|
||||
{
|
||||
"name": "video_player",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/video_player-2.10.1",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/video_player-2.11.1",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "3.7"
|
||||
"languageVersion": "3.10"
|
||||
},
|
||||
{
|
||||
"name": "video_player_android",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/video_player_android-2.9.1",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/video_player_android-2.9.5",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "3.9"
|
||||
},
|
||||
{
|
||||
"name": "video_player_avfoundation",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/video_player_avfoundation-2.9.0",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/video_player_avfoundation-2.9.4",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "3.10"
|
||||
},
|
||||
@@ -991,23 +1057,29 @@
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "3.6"
|
||||
},
|
||||
{
|
||||
"name": "visibility_detector",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/visibility_detector-0.4.0+2",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "2.12"
|
||||
},
|
||||
{
|
||||
"name": "vm_service",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/vm_service-15.0.2",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/vm_service-15.1.0",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "3.5"
|
||||
},
|
||||
{
|
||||
"name": "wakelock_plus",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/wakelock_plus-1.4.0",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/wakelock_plus-1.5.2",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "3.4"
|
||||
"languageVersion": "3.10"
|
||||
},
|
||||
{
|
||||
"name": "wakelock_plus_platform_interface",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/wakelock_plus_platform_interface-1.3.0",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/wakelock_plus_platform_interface-1.4.0",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "3.4"
|
||||
"languageVersion": "3.10"
|
||||
},
|
||||
{
|
||||
"name": "web",
|
||||
@@ -1015,6 +1087,18 @@
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "3.4"
|
||||
},
|
||||
{
|
||||
"name": "wechat_assets_picker",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/wechat_assets_picker-10.1.1",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "3.6"
|
||||
},
|
||||
{
|
||||
"name": "wechat_picker_library",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/wechat_picker_library-1.0.7",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "3.4"
|
||||
},
|
||||
{
|
||||
"name": "win32",
|
||||
"rootUri": "file:///Users/threeone/.pub-cache/hosted/pub.flutter-io.cn/win32-5.15.0",
|
||||
|
||||
File diff suppressed because one or more lines are too long
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
/pubspec.lock
|
||||
248
.idea/libraries/Dart_Packages.xml
generated
248
.idea/libraries/Dart_Packages.xml
generated
@@ -5,7 +5,7 @@
|
||||
<entry key="archive">
|
||||
<value>
|
||||
<list>
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/archive-4.0.7/lib" />
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/archive-4.0.9/lib" />
|
||||
</list>
|
||||
</value>
|
||||
</entry>
|
||||
@@ -19,7 +19,7 @@
|
||||
<entry key="async">
|
||||
<value>
|
||||
<list>
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/async-2.13.0/lib" />
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/async-2.13.1/lib" />
|
||||
</list>
|
||||
</value>
|
||||
</entry>
|
||||
@@ -103,7 +103,7 @@
|
||||
<entry key="cross_file">
|
||||
<value>
|
||||
<list>
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/cross_file-0.3.5+1/lib" />
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/cross_file-0.3.5+2/lib" />
|
||||
</list>
|
||||
</value>
|
||||
</entry>
|
||||
@@ -124,14 +124,14 @@
|
||||
<entry key="cupertino_icons">
|
||||
<value>
|
||||
<list>
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/cupertino_icons-1.0.8/lib" />
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/cupertino_icons-1.0.9/lib" />
|
||||
</list>
|
||||
</value>
|
||||
</entry>
|
||||
<entry key="dbus">
|
||||
<value>
|
||||
<list>
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/dbus-0.7.11/lib" />
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/dbus-0.7.12/lib" />
|
||||
</list>
|
||||
</value>
|
||||
</entry>
|
||||
@@ -159,14 +159,14 @@
|
||||
<entry key="dio">
|
||||
<value>
|
||||
<list>
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/dio-5.9.0/lib" />
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/dio-5.9.2/lib" />
|
||||
</list>
|
||||
</value>
|
||||
</entry>
|
||||
<entry key="dio_web_adapter">
|
||||
<value>
|
||||
<list>
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/dio_web_adapter-2.1.1/lib" />
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/dio_web_adapter-2.1.2/lib" />
|
||||
</list>
|
||||
</value>
|
||||
</entry>
|
||||
@@ -201,7 +201,7 @@
|
||||
<entry key="ffi">
|
||||
<value>
|
||||
<list>
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/ffi-2.1.5/lib" />
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/ffi-2.2.0/lib" />
|
||||
</list>
|
||||
</value>
|
||||
</entry>
|
||||
@@ -289,6 +289,48 @@
|
||||
</list>
|
||||
</value>
|
||||
</entry>
|
||||
<entry key="flutter_image_compress">
|
||||
<value>
|
||||
<list>
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/flutter_image_compress-2.4.0/lib" />
|
||||
</list>
|
||||
</value>
|
||||
</entry>
|
||||
<entry key="flutter_image_compress_common">
|
||||
<value>
|
||||
<list>
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/flutter_image_compress_common-1.0.6/lib" />
|
||||
</list>
|
||||
</value>
|
||||
</entry>
|
||||
<entry key="flutter_image_compress_macos">
|
||||
<value>
|
||||
<list>
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/flutter_image_compress_macos-1.0.3/lib" />
|
||||
</list>
|
||||
</value>
|
||||
</entry>
|
||||
<entry key="flutter_image_compress_ohos">
|
||||
<value>
|
||||
<list>
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/flutter_image_compress_ohos-0.0.3/lib" />
|
||||
</list>
|
||||
</value>
|
||||
</entry>
|
||||
<entry key="flutter_image_compress_platform_interface">
|
||||
<value>
|
||||
<list>
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/flutter_image_compress_platform_interface-1.0.5/lib" />
|
||||
</list>
|
||||
</value>
|
||||
</entry>
|
||||
<entry key="flutter_image_compress_web">
|
||||
<value>
|
||||
<list>
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/flutter_image_compress_web-0.1.5/lib" />
|
||||
</list>
|
||||
</value>
|
||||
</entry>
|
||||
<entry key="flutter_inappwebview">
|
||||
<value>
|
||||
<list>
|
||||
@@ -306,7 +348,7 @@
|
||||
<entry key="flutter_inappwebview_internal_annotations">
|
||||
<value>
|
||||
<list>
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/flutter_inappwebview_internal_annotations-1.2.0/lib" />
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/flutter_inappwebview_internal_annotations-1.3.0/lib" />
|
||||
</list>
|
||||
</value>
|
||||
</entry>
|
||||
@@ -355,7 +397,7 @@
|
||||
<entry key="flutter_plugin_android_lifecycle">
|
||||
<value>
|
||||
<list>
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/flutter_plugin_android_lifecycle-2.0.33/lib" />
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/flutter_plugin_android_lifecycle-2.0.34/lib" />
|
||||
</list>
|
||||
</value>
|
||||
</entry>
|
||||
@@ -432,7 +474,7 @@
|
||||
<entry key="hooks">
|
||||
<value>
|
||||
<list>
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/hooks-1.0.0/lib" />
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/hooks-1.0.2/lib" />
|
||||
</list>
|
||||
</value>
|
||||
</entry>
|
||||
@@ -467,7 +509,7 @@
|
||||
<entry key="image">
|
||||
<value>
|
||||
<list>
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/image-4.7.2/lib" />
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/image-4.8.0/lib" />
|
||||
</list>
|
||||
</value>
|
||||
</entry>
|
||||
@@ -495,7 +537,7 @@
|
||||
<entry key="image_picker_android">
|
||||
<value>
|
||||
<list>
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/image_picker_android-0.8.13+12/lib" />
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/image_picker_android-0.8.13+16/lib" />
|
||||
</list>
|
||||
</value>
|
||||
</entry>
|
||||
@@ -509,7 +551,7 @@
|
||||
<entry key="image_picker_ios">
|
||||
<value>
|
||||
<list>
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/image_picker_ios-0.8.13+3/lib" />
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/image_picker_ios-0.8.13+6/lib" />
|
||||
</list>
|
||||
</value>
|
||||
</entry>
|
||||
@@ -548,6 +590,20 @@
|
||||
</list>
|
||||
</value>
|
||||
</entry>
|
||||
<entry key="jni">
|
||||
<value>
|
||||
<list>
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/jni-1.0.0/lib" />
|
||||
</list>
|
||||
</value>
|
||||
</entry>
|
||||
<entry key="jni_flutter">
|
||||
<value>
|
||||
<list>
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/jni_flutter-1.0.1/lib" />
|
||||
</list>
|
||||
</value>
|
||||
</entry>
|
||||
<entry key="js">
|
||||
<value>
|
||||
<list>
|
||||
@@ -628,7 +684,7 @@
|
||||
<entry key="native_toolchain_c">
|
||||
<value>
|
||||
<list>
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/native_toolchain_c-0.17.4/lib" />
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/native_toolchain_c-0.17.6/lib" />
|
||||
</list>
|
||||
</value>
|
||||
</entry>
|
||||
@@ -642,7 +698,7 @@
|
||||
<entry key="objective_c">
|
||||
<value>
|
||||
<list>
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/objective_c-9.2.4/lib" />
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/objective_c-9.3.0/lib" />
|
||||
</list>
|
||||
</value>
|
||||
</entry>
|
||||
@@ -653,10 +709,17 @@
|
||||
</list>
|
||||
</value>
|
||||
</entry>
|
||||
<entry key="package_config">
|
||||
<value>
|
||||
<list>
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/package_config-2.2.0/lib" />
|
||||
</list>
|
||||
</value>
|
||||
</entry>
|
||||
<entry key="package_info_plus">
|
||||
<value>
|
||||
<list>
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/package_info_plus-9.0.0/lib" />
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/package_info_plus-9.0.1/lib" />
|
||||
</list>
|
||||
</value>
|
||||
</entry>
|
||||
@@ -684,7 +747,7 @@
|
||||
<entry key="path_provider_android">
|
||||
<value>
|
||||
<list>
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/path_provider_android-2.2.22/lib" />
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/path_provider_android-2.3.1/lib" />
|
||||
</list>
|
||||
</value>
|
||||
</entry>
|
||||
@@ -761,7 +824,21 @@
|
||||
<entry key="petitparser">
|
||||
<value>
|
||||
<list>
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/petitparser-7.0.1/lib" />
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/petitparser-7.0.2/lib" />
|
||||
</list>
|
||||
</value>
|
||||
</entry>
|
||||
<entry key="photo_manager">
|
||||
<value>
|
||||
<list>
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/photo_manager-3.9.0/lib" />
|
||||
</list>
|
||||
</value>
|
||||
</entry>
|
||||
<entry key="photo_manager_image_provider">
|
||||
<value>
|
||||
<list>
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/photo_manager_image_provider-2.2.0/lib" />
|
||||
</list>
|
||||
</value>
|
||||
</entry>
|
||||
@@ -789,7 +866,7 @@
|
||||
<entry key="posix">
|
||||
<value>
|
||||
<list>
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/posix-6.0.3/lib" />
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/posix-6.5.0/lib" />
|
||||
</list>
|
||||
</value>
|
||||
</entry>
|
||||
@@ -894,14 +971,14 @@
|
||||
<entry key="shared_preferences">
|
||||
<value>
|
||||
<list>
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences-2.5.4/lib" />
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences-2.5.5/lib" />
|
||||
</list>
|
||||
</value>
|
||||
</entry>
|
||||
<entry key="shared_preferences_android">
|
||||
<value>
|
||||
<list>
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences_android-2.4.18/lib" />
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences_android-2.4.23/lib" />
|
||||
</list>
|
||||
</value>
|
||||
</entry>
|
||||
@@ -922,7 +999,7 @@
|
||||
<entry key="shared_preferences_platform_interface">
|
||||
<value>
|
||||
<list>
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences_platform_interface-2.4.1/lib" />
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences_platform_interface-2.4.2/lib" />
|
||||
</list>
|
||||
</value>
|
||||
</entry>
|
||||
@@ -950,7 +1027,7 @@
|
||||
<entry key="source_span">
|
||||
<value>
|
||||
<list>
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/source_span-1.10.1/lib" />
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/source_span-1.10.2/lib" />
|
||||
</list>
|
||||
</value>
|
||||
</entry>
|
||||
@@ -971,7 +1048,7 @@
|
||||
<entry key="sqflite_android">
|
||||
<value>
|
||||
<list>
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/sqflite_android-2.4.2+2/lib" />
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/sqflite_android-2.4.2+3/lib" />
|
||||
</list>
|
||||
</value>
|
||||
</entry>
|
||||
@@ -1069,14 +1146,14 @@
|
||||
<entry key="url_launcher_android">
|
||||
<value>
|
||||
<list>
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/url_launcher_android-6.3.28/lib" />
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/url_launcher_android-6.3.29/lib" />
|
||||
</list>
|
||||
</value>
|
||||
</entry>
|
||||
<entry key="url_launcher_ios">
|
||||
<value>
|
||||
<list>
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/url_launcher_ios-6.3.6/lib" />
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/url_launcher_ios-6.4.1/lib" />
|
||||
</list>
|
||||
</value>
|
||||
</entry>
|
||||
@@ -1118,7 +1195,7 @@
|
||||
<entry key="uuid">
|
||||
<value>
|
||||
<list>
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/uuid-4.5.2/lib" />
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/uuid-4.5.3/lib" />
|
||||
</list>
|
||||
</value>
|
||||
</entry>
|
||||
@@ -1132,21 +1209,21 @@
|
||||
<entry key="video_player">
|
||||
<value>
|
||||
<list>
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/video_player-2.10.1/lib" />
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/video_player-2.11.1/lib" />
|
||||
</list>
|
||||
</value>
|
||||
</entry>
|
||||
<entry key="video_player_android">
|
||||
<value>
|
||||
<list>
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/video_player_android-2.9.1/lib" />
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/video_player_android-2.9.5/lib" />
|
||||
</list>
|
||||
</value>
|
||||
</entry>
|
||||
<entry key="video_player_avfoundation">
|
||||
<value>
|
||||
<list>
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/video_player_avfoundation-2.9.0/lib" />
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/video_player_avfoundation-2.9.4/lib" />
|
||||
</list>
|
||||
</value>
|
||||
</entry>
|
||||
@@ -1164,24 +1241,31 @@
|
||||
</list>
|
||||
</value>
|
||||
</entry>
|
||||
<entry key="visibility_detector">
|
||||
<value>
|
||||
<list>
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/visibility_detector-0.4.0+2/lib" />
|
||||
</list>
|
||||
</value>
|
||||
</entry>
|
||||
<entry key="vm_service">
|
||||
<value>
|
||||
<list>
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/vm_service-15.0.2/lib" />
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/vm_service-15.1.0/lib" />
|
||||
</list>
|
||||
</value>
|
||||
</entry>
|
||||
<entry key="wakelock_plus">
|
||||
<value>
|
||||
<list>
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/wakelock_plus-1.4.0/lib" />
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/wakelock_plus-1.5.2/lib" />
|
||||
</list>
|
||||
</value>
|
||||
</entry>
|
||||
<entry key="wakelock_plus_platform_interface">
|
||||
<value>
|
||||
<list>
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/wakelock_plus_platform_interface-1.3.0/lib" />
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/wakelock_plus_platform_interface-1.4.0/lib" />
|
||||
</list>
|
||||
</value>
|
||||
</entry>
|
||||
@@ -1192,6 +1276,20 @@
|
||||
</list>
|
||||
</value>
|
||||
</entry>
|
||||
<entry key="wechat_assets_picker">
|
||||
<value>
|
||||
<list>
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/wechat_assets_picker-10.1.1/lib" />
|
||||
</list>
|
||||
</value>
|
||||
</entry>
|
||||
<entry key="wechat_picker_library">
|
||||
<value>
|
||||
<list>
|
||||
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/wechat_picker_library-1.0.7/lib" />
|
||||
</list>
|
||||
</value>
|
||||
</entry>
|
||||
<entry key="win32">
|
||||
<value>
|
||||
<list>
|
||||
@@ -1230,9 +1328,9 @@
|
||||
</option>
|
||||
</properties>
|
||||
<CLASSES>
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/archive-4.0.7/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/archive-4.0.9/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/args-2.7.0/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/async-2.13.0/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/async-2.13.1/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/boolean_selector-2.1.2/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/cached_network_image-3.4.1/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/cached_network_image_platform_interface-4.1.1/lib" />
|
||||
@@ -1244,21 +1342,21 @@
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/colorfilter_generator-0.0.8/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/common_utils-2.1.0/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/convert-3.1.2/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/cross_file-0.3.5+1/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/cross_file-0.3.5+2/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/crypto-3.0.7/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/csslib-1.0.2/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/cupertino_icons-1.0.8/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/dbus-0.7.11/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/cupertino_icons-1.0.9/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/dbus-0.7.12/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/decimal-3.2.4/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/device_info_plus-11.5.0/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/device_info_plus_platform_interface-7.0.3/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/dio-5.9.0/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/dio_web_adapter-2.1.1/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/dio-5.9.2/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/dio_web_adapter-2.1.2/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/easy_debounce-2.0.3/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/extended_image-8.3.1/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/extended_image_library-4.0.6/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/fake_async-1.3.3/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/ffi-2.1.5/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/ffi-2.2.0/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/file-7.0.1/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/file_selector_linux-0.9.4/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/file_selector_macos-0.9.5/lib" />
|
||||
@@ -1270,16 +1368,22 @@
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/flustars_flutter3-3.0.0/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/flutter_cache_manager-3.4.1/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/flutter_easyloading-3.0.5/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/flutter_image_compress-2.4.0/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/flutter_image_compress_common-1.0.6/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/flutter_image_compress_macos-1.0.3/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/flutter_image_compress_ohos-0.0.3/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/flutter_image_compress_platform_interface-1.0.5/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/flutter_image_compress_web-0.1.5/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/flutter_inappwebview-6.1.5/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/flutter_inappwebview_android-1.1.3/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/flutter_inappwebview_internal_annotations-1.2.0/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/flutter_inappwebview_internal_annotations-1.3.0/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/flutter_inappwebview_ios-1.1.2/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/flutter_inappwebview_macos-1.1.2/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/flutter_inappwebview_platform_interface-1.3.0+1/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/flutter_inappwebview_web-1.1.2/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/flutter_inappwebview_windows-0.6.0/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/flutter_lints-5.0.0/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/flutter_plugin_android_lifecycle-2.0.33/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/flutter_plugin_android_lifecycle-2.0.34/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/flutter_screenutil-5.9.3/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/flutter_spinkit-5.2.2/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/flutter_staggered_grid_view-0.7.0/lib" />
|
||||
@@ -1288,23 +1392,25 @@
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/get-4.7.3/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/glob-2.1.3/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/hand_signature-3.1.0+2/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/hooks-1.0.0/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/hooks-1.0.2/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/html-0.15.6/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/http-1.6.0/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/http_client_helper-3.0.0/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/http_parser-4.1.2/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/image-4.7.2/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/image-4.8.0/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/image_editor_plus-1.0.6/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/image_gallery_saver_plus-4.0.1/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/image_picker-1.2.1/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/image_picker_android-0.8.13+12/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/image_picker_android-0.8.13+16/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/image_picker_for_web-3.1.1/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/image_picker_ios-0.8.13+3/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/image_picker_ios-0.8.13+6/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/image_picker_linux-0.2.2/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/image_picker_macos-0.2.2+1/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/image_picker_platform_interface-2.11.1/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/image_picker_windows-0.2.2/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/intl-0.20.2/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/jni-1.0.0/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/jni_flutter-1.0.1/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/js-0.7.2/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/leak_tracker-11.0.2/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/leak_tracker_flutter_testing-3.0.10/lib" />
|
||||
@@ -1316,15 +1422,16 @@
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/matrix2d-1.0.4/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/meta-1.17.0/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/mime-2.0.0/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/native_toolchain_c-0.17.4/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/native_toolchain_c-0.17.6/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/nested-1.0.0/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/objective_c-9.2.4/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/objective_c-9.3.0/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/octo_image-2.1.0/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/package_info_plus-9.0.0/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/package_config-2.2.0/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/package_info_plus-9.0.1/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/package_info_plus_platform_interface-3.2.1/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/path-1.9.1/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/path_provider-2.1.5/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/path_provider_android-2.2.22/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/path_provider_android-2.3.1/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/path_provider_foundation-2.6.0/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/path_provider_linux-2.2.1/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/path_provider_platform_interface-2.1.2/lib" />
|
||||
@@ -1335,11 +1442,13 @@
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/permission_handler_html-0.1.3+5/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/permission_handler_platform_interface-4.3.0/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/permission_handler_windows-0.2.1/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/petitparser-7.0.1/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/petitparser-7.0.2/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/photo_manager-3.9.0/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/photo_manager_image_provider-2.2.0/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/photo_view-0.15.0/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/platform-3.1.6/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/plugin_platform_interface-2.1.8/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/posix-6.0.3/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/posix-6.5.0/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/provider-6.1.5+1/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/pub_semver-2.2.0/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/pull_to_refresh-2.0.0/lib" />
|
||||
@@ -1354,17 +1463,17 @@
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/screen_brightness_platform_interface-2.1.0/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/screen_brightness_windows-2.1.0/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/screenshot-3.0.0/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences-2.5.4/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences_android-2.4.18/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences-2.5.5/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences_android-2.4.23/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences_foundation-2.5.6/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences_linux-2.4.1/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences_platform_interface-2.4.1/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences_platform_interface-2.4.2/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences_web-2.4.3/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences_windows-2.4.1/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/source_span-1.10.1/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/source_span-1.10.2/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/sp_util-2.0.3/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/sqflite-2.4.2/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/sqflite_android-2.4.2+2/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/sqflite_android-2.4.2+3/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/sqflite_common-2.5.6/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/sqflite_darwin-2.4.2/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/sqflite_platform_interface-2.4.0/lib" />
|
||||
@@ -1378,24 +1487,27 @@
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/transparent_image-2.0.1/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/typed_data-1.4.0/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/url_launcher-6.3.2/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/url_launcher_android-6.3.28/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/url_launcher_ios-6.3.6/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/url_launcher_android-6.3.29/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/url_launcher_ios-6.4.1/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/url_launcher_linux-3.2.2/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/url_launcher_macos-3.2.5/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/url_launcher_platform_interface-2.3.2/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/url_launcher_web-2.4.2/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/url_launcher_windows-3.1.5/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/uuid-4.5.2/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/uuid-4.5.3/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/vector_math-2.2.0/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/video_player-2.10.1/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/video_player_android-2.9.1/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/video_player_avfoundation-2.9.0/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/video_player-2.11.1/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/video_player_android-2.9.5/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/video_player_avfoundation-2.9.4/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/video_player_platform_interface-6.6.0/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/video_player_web-2.4.0/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/vm_service-15.0.2/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/wakelock_plus-1.4.0/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/wakelock_plus_platform_interface-1.3.0/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/visibility_detector-0.4.0+2/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/vm_service-15.1.0/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/wakelock_plus-1.5.2/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/wakelock_plus_platform_interface-1.4.0/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/web-1.1.1/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/wechat_assets_picker-10.1.1/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/wechat_picker_library-1.0.7/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/win32-5.15.0/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/win32_registry-2.1.0/lib" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/xdg_directories-1.1.0/lib" />
|
||||
|
||||
34
.idea/libraries/Flutter_Plugins.xml
generated
34
.idea/libraries/Flutter_Plugins.xml
generated
@@ -5,23 +5,17 @@
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/url_launcher_linux-3.2.2" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/path_provider_windows-2.3.0" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/path_provider_foundation-2.6.0" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/package_info_plus-9.0.0" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences-2.5.4" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/image_picker_linux-0.2.2" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/image_picker_android-0.8.13+12" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences_windows-2.4.1" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/flutter_inappwebview_windows-0.6.0" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/video_player_web-2.4.0" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/screen_brightness-2.1.7" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/url_launcher_android-6.3.28" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/device_info_plus-11.5.0" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/image_picker-1.2.1" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/url_launcher_ios-6.3.6" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/image_picker_for_web-3.1.1" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/permission_handler-11.4.0" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/flutter_inappwebview-6.1.5" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/file_selector_linux-0.9.4" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/path_provider_android-2.2.22" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/flutter_inappwebview_android-1.1.3" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/url_launcher_windows-3.1.5" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/sqflite-2.4.2" />
|
||||
@@ -31,24 +25,38 @@
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/url_launcher_macos-3.2.5" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/url_launcher_web-2.4.2" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/image_picker_windows-0.2.2" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences_android-2.4.18" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/sqflite_android-2.4.2+2" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/video_player-2.10.1" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences_foundation-2.5.6" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/url_launcher-6.3.2" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/wakelock_plus-1.4.0" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/image_picker_ios-0.8.13+3" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/flutter_inappwebview_web-1.1.2" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/path_provider_linux-2.2.1" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/video_player_avfoundation-2.9.0" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/permission_handler_html-0.1.3+5" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/flutter_inappwebview_macos-1.1.2" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/video_player_android-2.9.1" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/image_picker_macos-0.2.2+1" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/file_selector_macos-0.9.5" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/sqflite_darwin-2.4.2" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/flutter_inappwebview_ios-1.1.2" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences_linux-2.4.1" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/image_picker_android-0.8.13+16" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences-2.5.5" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/url_launcher_android-6.3.29" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/flutter_image_compress_web-0.1.5" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/url_launcher_ios-6.4.1" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/flutter_image_compress_macos-1.0.3" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/sqflite_android-2.4.2+3" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/video_player-2.11.1" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/flutter_image_compress_common-1.0.6" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/path_provider_android-2.3.1" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/video_player_avfoundation-2.9.4" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/flutter_image_compress_ohos-0.0.3" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/video_player_android-2.9.5" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/jni_flutter-1.0.1" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/package_info_plus-9.0.1" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/photo_manager-3.9.0" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences_android-2.4.23" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/jni-1.0.0" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/flutter_image_compress-2.4.0" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/image_picker_ios-0.8.13+6" />
|
||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/wakelock_plus-1.5.2" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
|
||||
@@ -1,4 +1,13 @@
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<uses-permission android:name="android.permission.INTERNET" />
|
||||
<uses-permission android:name="android.permission.CAMERA" />
|
||||
<uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />
|
||||
<uses-permission android:name="android.permission.READ_MEDIA_VIDEO" />
|
||||
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
|
||||
<uses-permission
|
||||
android:name="android.permission.WRITE_EXTERNAL_STORAGE"
|
||||
android:maxSdkVersion="28" />
|
||||
|
||||
<application
|
||||
android:label="example"
|
||||
android:name="${applicationName}"
|
||||
|
||||
@@ -22,6 +22,12 @@
|
||||
<string>????</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>$(FLUTTER_BUILD_NUMBER)</string>
|
||||
<key>NSCameraUsageDescription</key>
|
||||
<string>示例需要使用相机拍照后上传到 OSS。</string>
|
||||
<key>NSPhotoLibraryUsageDescription</key>
|
||||
<string>示例需要访问相册以选择图片进行上传和预览。</string>
|
||||
<key>NSPhotoLibraryAddUsageDescription</key>
|
||||
<string>示例需要将长按查看的图片保存到系统相册。</string>
|
||||
<key>LSRequiresIPhoneOS</key>
|
||||
<true/>
|
||||
<key>UILaunchStoryboardName</key>
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_easyloading/flutter_easyloading.dart';
|
||||
import 'package:flutter_common/flutter_common.dart';
|
||||
import 'package:get/get.dart';
|
||||
|
||||
@@ -14,6 +15,7 @@ class MyApp extends StatelessWidget {
|
||||
return GetMaterialApp(
|
||||
title: 'flutter_common Demo',
|
||||
debugShowCheckedModeBanner: false,
|
||||
builder: EasyLoading.init(),
|
||||
theme: ThemeData(
|
||||
scaffoldBackgroundColor: const Color(0xFFF5F7FB),
|
||||
colorScheme: ColorScheme.fromSeed(seedColor: const Color(0xFF4D6FD5)),
|
||||
@@ -36,8 +38,89 @@ class MyHomePage extends StatefulWidget {
|
||||
}
|
||||
|
||||
class _MyHomePageState extends State<MyHomePage> {
|
||||
static const String _ossAccessKeyId = 'LTAI5tRJh3W4TrfQC3mDK9Vp';
|
||||
static const String _ossHost =
|
||||
'https://jingheyijia-cop.oss-cn-chengdu.aliyuncs.com';
|
||||
static const String _bindHost = 'https://static.cop.jingheyijia.com';
|
||||
static const String _policy =
|
||||
'eyJleHBpcmF0aW9uIjoiMjAyNi0wNi0zMFQyMTo0OTozNVoiLCJjb25kaXRpb25zIjpbWyJzdGFydHMtd2l0aCIsIiRrZXkiLCJ3eGFwcC1tYXAyL3VwbG9hZC8iXV19';
|
||||
static const String _signature = 're2VV8BiN5oS2altXSmiTG/Y0wc=';
|
||||
static const String _ossDirectory = 'wxapp-map2/upload/';
|
||||
static const String _callback =
|
||||
'eyJjYWxsYmFja1VybCI6Imh0dHBzOi8vdGVzdGluZy52aWN0b3JtZW4uY29tL2FwaS9haXN0b3JlL29zcy9jYWxsYmFjayIsImNhbGxiYWNrQm9keSI6ImZpbGVuYW1lPSR7b2JqZWN0fVx1MDAyNnNpemU9JHtzaXplfVx1MDAyNm1pbWVUeXBlPSR7bWltZVR5cGV9XHUwMDI2aGVpZ2h0PSR7aW1hZ2VJbmZvLmhlaWdodH1cdTAwMjZ3aWR0aD0ke2ltYWdlSW5mby53aWR0aH0iLCJjYWxsYmFja0JvZHlUeXBlIjoiYXBwbGljYXRpb24veC13d3ctZm9ybS11cmxlbmNvZGVkIn0=';
|
||||
static const String _seedImageUrl =
|
||||
'$_bindHost/wxapp-map2/upload/moment/2025625/app-yctgxYDwcPkh.jpg';
|
||||
|
||||
String _singleDateText = '未选择';
|
||||
String _rangeDateText = '未选择';
|
||||
String _imageStatus = '已预置 1 张示例图,点击缩略图预览,长按大图保存到相册';
|
||||
late List<String> _imageUrls;
|
||||
|
||||
@override
|
||||
void initState() {
|
||||
super.initState();
|
||||
_imageUrls = [_seedImageUrl];
|
||||
}
|
||||
|
||||
Future<void> _uploadImages() async {
|
||||
await UploadImagesTool.uploadImagesTool(
|
||||
context: context,
|
||||
max: 9,
|
||||
isShowLoading: true,
|
||||
oSSAccessKeyId: _ossAccessKeyId,
|
||||
policy: _policy,
|
||||
callback: _callback,
|
||||
signature: _signature,
|
||||
ossDirectory: _ossDirectory,
|
||||
ossHost: _ossHost,
|
||||
chooseImagesTap: (list) {
|
||||
final uploadedUrls = List<String>.from(list as List)
|
||||
.where((item) => item.isNotEmpty)
|
||||
.toList();
|
||||
if (uploadedUrls.isEmpty) {
|
||||
return;
|
||||
}
|
||||
setState(() {
|
||||
_imageUrls = [..._imageUrls, ...uploadedUrls];
|
||||
_imageStatus =
|
||||
'已上传 ${uploadedUrls.length} 张图片,当前共 ${_imageUrls.length} 张';
|
||||
});
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
void _openPreview(int index) {
|
||||
if (_imageUrls.isEmpty) {
|
||||
return;
|
||||
}
|
||||
|
||||
LookImagesTool.lookImages(
|
||||
listData: _imageUrls,
|
||||
currentPage: index,
|
||||
isShowEdit: true,
|
||||
oSSAccessKeyId: _ossAccessKeyId,
|
||||
policy: _policy,
|
||||
callback: _callback,
|
||||
signature: _signature,
|
||||
ossDirectory: _ossDirectory,
|
||||
ossHost: _ossHost,
|
||||
onEditCallBack: (imageUrl, currentIndex) {
|
||||
setState(() {
|
||||
_imageUrls[currentIndex] = imageUrl;
|
||||
_imageStatus = '第 ${currentIndex + 1} 张图片已重新编辑并上传';
|
||||
});
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
void _removeImage(int index) {
|
||||
setState(() {
|
||||
_imageUrls.removeAt(index);
|
||||
_imageStatus = _imageUrls.isEmpty
|
||||
? '暂无图片,请先上传后再体验预览和下载'
|
||||
: '已删除 1 张图片,当前剩余 ${_imageUrls.length} 张';
|
||||
});
|
||||
}
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
@@ -52,6 +135,8 @@ class _MyHomePageState extends State<MyHomePage> {
|
||||
children: [
|
||||
_buildIntroCard(),
|
||||
const SizedBox(height: 16),
|
||||
_buildImageDemoCard(),
|
||||
const SizedBox(height: 16),
|
||||
_buildDemoCard(
|
||||
title: '单日选择组件',
|
||||
description: '使用 `CalendarChooseWidget` 的单选模式,适合筛选某一天的数据。',
|
||||
@@ -64,7 +149,7 @@ class _MyHomePageState extends State<MyHomePage> {
|
||||
tapAction: (value) {
|
||||
final startTime = value['startTime'] as DateTime?;
|
||||
setState(() {
|
||||
_singleDateText = _formatDate(startTime);
|
||||
_singleDateText = _formatDateWithWeekday(startTime);
|
||||
});
|
||||
},
|
||||
),
|
||||
@@ -114,8 +199,8 @@ class _MyHomePageState extends State<MyHomePage> {
|
||||
),
|
||||
SizedBox(height: 12),
|
||||
Text(
|
||||
'lib/calendarcalendar 里提供了日期选择相关组件,'
|
||||
'lib/upload_image 聚合图片上传与预览能力,'
|
||||
'lib/calendarcalendar 提供日期筛选能力,'
|
||||
'lib/upload_image 包含 OSS 上传、图片预览、编辑和下载到相册的能力,'
|
||||
'lib/utils 则放了日期、弹窗等通用工具。',
|
||||
style: TextStyle(
|
||||
fontSize: 15,
|
||||
@@ -129,6 +214,172 @@ class _MyHomePageState extends State<MyHomePage> {
|
||||
);
|
||||
}
|
||||
|
||||
Widget _buildImageDemoCard() {
|
||||
return Card(
|
||||
shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(20)),
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.all(20),
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
const Text(
|
||||
'LookImagesTool 图片预览',
|
||||
style: TextStyle(
|
||||
fontSize: 18,
|
||||
fontWeight: FontWeight.w700,
|
||||
color: Color(0xFF1A1A1A),
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 8),
|
||||
const Text(
|
||||
'这个示例使用你提供的 OSS 配置上传图片,点击缩略图进入 `LookImagesTool` 预览,支持编辑后重新上传,也支持长按大图保存到手机相册。',
|
||||
style: TextStyle(
|
||||
fontSize: 14,
|
||||
height: 1.6,
|
||||
color: Color(0xFF5C6670),
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 14),
|
||||
Wrap(
|
||||
spacing: 8,
|
||||
runSpacing: 8,
|
||||
children: [
|
||||
const _InfoChip(
|
||||
label: 'Host',
|
||||
value: 'jingheyijia-cop.oss-cn-chengdu.aliyuncs.com',
|
||||
),
|
||||
_InfoChip(label: 'Bind', value: _bindHost),
|
||||
const _InfoChip(label: '目录', value: _ossDirectory),
|
||||
],
|
||||
),
|
||||
const SizedBox(height: 16),
|
||||
FilledButton.icon(
|
||||
onPressed: _uploadImages,
|
||||
icon: const Icon(Icons.cloud_upload_outlined),
|
||||
label: const Text('上传图片到 OSS'),
|
||||
),
|
||||
const SizedBox(height: 16),
|
||||
Wrap(
|
||||
spacing: 12,
|
||||
runSpacing: 12,
|
||||
children: [
|
||||
for (int index = 0; index < _imageUrls.length; index++)
|
||||
_buildImageTile(
|
||||
imageUrl: _imageUrls[index],
|
||||
index: index,
|
||||
),
|
||||
],
|
||||
),
|
||||
const SizedBox(height: 14),
|
||||
Text(
|
||||
_imageStatus,
|
||||
style: const TextStyle(
|
||||
fontSize: 14,
|
||||
fontWeight: FontWeight.w500,
|
||||
color: Color(0xFF4D6FD5),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Widget _buildImageTile({
|
||||
required String imageUrl,
|
||||
required int index,
|
||||
}) {
|
||||
return SizedBox(
|
||||
width: 104,
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
ClipRRect(
|
||||
borderRadius: BorderRadius.circular(16),
|
||||
child: Material(
|
||||
color: Colors.white,
|
||||
child: InkWell(
|
||||
onTap: () => _openPreview(index),
|
||||
child: Stack(
|
||||
children: [
|
||||
SizedBox(
|
||||
width: 104,
|
||||
height: 104,
|
||||
child: Image.network(
|
||||
imageUrl,
|
||||
fit: BoxFit.cover,
|
||||
errorBuilder: (_, __, ___) {
|
||||
return Container(
|
||||
color: const Color(0xFFF1F4FA),
|
||||
alignment: Alignment.center,
|
||||
child: const Icon(
|
||||
Icons.broken_image_outlined,
|
||||
color: Color(0xFF7A8694),
|
||||
),
|
||||
);
|
||||
},
|
||||
),
|
||||
),
|
||||
Positioned(
|
||||
left: 8,
|
||||
top: 8,
|
||||
child: Container(
|
||||
padding: const EdgeInsets.symmetric(
|
||||
horizontal: 8,
|
||||
vertical: 4,
|
||||
),
|
||||
decoration: BoxDecoration(
|
||||
color: Colors.black.withValues(alpha: 0.5),
|
||||
borderRadius: BorderRadius.circular(12),
|
||||
),
|
||||
child: Text(
|
||||
'${index + 1}',
|
||||
style: const TextStyle(
|
||||
color: Colors.white,
|
||||
fontSize: 12,
|
||||
fontWeight: FontWeight.w600,
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
Positioned(
|
||||
right: 6,
|
||||
top: 6,
|
||||
child: GestureDetector(
|
||||
onTap: () => _removeImage(index),
|
||||
child: Container(
|
||||
width: 24,
|
||||
height: 24,
|
||||
decoration: BoxDecoration(
|
||||
color: Colors.black.withValues(alpha: 0.45),
|
||||
shape: BoxShape.circle,
|
||||
),
|
||||
child: const Icon(
|
||||
Icons.close,
|
||||
size: 14,
|
||||
color: Colors.white,
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 8),
|
||||
Text(
|
||||
'点击预览',
|
||||
style: const TextStyle(
|
||||
fontSize: 12,
|
||||
color: Color(0xFF5C6670),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Widget _buildDemoCard({
|
||||
required String title,
|
||||
required String description,
|
||||
@@ -194,4 +445,50 @@ class _MyHomePageState extends State<MyHomePage> {
|
||||
dateTimeUtilsType: DateTimeUtilsType.yearMonthDay,
|
||||
);
|
||||
}
|
||||
|
||||
String _formatDateWithWeekday(DateTime? date) {
|
||||
if (date == null) {
|
||||
return '未选择';
|
||||
}
|
||||
return '${DateTimeUtils.dateTimeUtilsTool(
|
||||
dateTime: date.toIso8601String(),
|
||||
dateTimeUtilsType: DateTimeUtilsType.yearMonthDayWord,
|
||||
)} ${DateTimeUtils.getWeekDay(date)}';
|
||||
}
|
||||
}
|
||||
|
||||
class _InfoChip extends StatelessWidget {
|
||||
final String label;
|
||||
final String value;
|
||||
|
||||
const _InfoChip({
|
||||
required this.label,
|
||||
required this.value,
|
||||
});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Container(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 10, vertical: 8),
|
||||
decoration: BoxDecoration(
|
||||
color: const Color(0xFFF1F4FA),
|
||||
borderRadius: BorderRadius.circular(999),
|
||||
),
|
||||
child: RichText(
|
||||
text: TextSpan(
|
||||
style: const TextStyle(
|
||||
fontSize: 12,
|
||||
color: Color(0xFF5C6670),
|
||||
),
|
||||
children: [
|
||||
TextSpan(
|
||||
text: '$label: ',
|
||||
style: const TextStyle(fontWeight: FontWeight.w700),
|
||||
),
|
||||
TextSpan(text: value),
|
||||
],
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,6 +8,7 @@ list(APPEND FLUTTER_PLUGIN_LIST
|
||||
)
|
||||
|
||||
list(APPEND FLUTTER_FFI_PLUGIN_LIST
|
||||
jni
|
||||
)
|
||||
|
||||
set(PLUGIN_BUNDLED_LIBRARIES)
|
||||
|
||||
@@ -5,10 +5,10 @@ packages:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: archive
|
||||
sha256: "2fde1607386ab523f7a36bb3e7edb43bd58e6edaf2ffb29d8a6d578b297fdbbd"
|
||||
sha256: a96e8b390886ee8abb49b7bd3ac8df6f451c621619f52a26e815fdcf568959ff
|
||||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "4.0.7"
|
||||
version: "4.0.9"
|
||||
args:
|
||||
dependency: transitive
|
||||
description:
|
||||
@@ -21,10 +21,10 @@ packages:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: async
|
||||
sha256: "758e6d74e971c3e5aceb4110bfd6698efc7f501675bcfe0c775459a8140750eb"
|
||||
sha256: e2eb0491ba5ddb6177742d2da23904574082139b07c1e33b8503b9f46f3e1a37
|
||||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "2.13.0"
|
||||
version: "2.13.1"
|
||||
boolean_selector:
|
||||
dependency: transitive
|
||||
description:
|
||||
@@ -117,10 +117,10 @@ packages:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: cross_file
|
||||
sha256: "701dcfc06da0882883a2657c445103380e53e647060ad8d9dfb710c100996608"
|
||||
sha256: "28bb3ae56f117b5aec029d702a90f57d285cd975c3c5c281eaca38dbc47c5937"
|
||||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "0.3.5+1"
|
||||
version: "0.3.5+2"
|
||||
crypto:
|
||||
dependency: transitive
|
||||
description:
|
||||
@@ -141,18 +141,18 @@ packages:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
name: cupertino_icons
|
||||
sha256: ba631d1c7f7bef6b729a622b7b752645a2d076dba9976925b8f25725a30e1ee6
|
||||
sha256: "41e005c33bd814be4d3096aff55b1908d419fde52ca656c8c47719ec745873cd"
|
||||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "1.0.8"
|
||||
version: "1.0.9"
|
||||
dbus:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: dbus
|
||||
sha256: "79e0c23480ff85dc68de79e2cd6334add97e48f7f4865d17686dd6ea81a47e8c"
|
||||
sha256: d0c98dcd4f5169878b6cf8f6e0a52403a9dff371a3e2f019697accbf6f44a270
|
||||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "0.7.11"
|
||||
version: "0.7.12"
|
||||
decimal:
|
||||
dependency: transitive
|
||||
description:
|
||||
@@ -181,18 +181,18 @@ packages:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
name: dio
|
||||
sha256: d90ee57923d1828ac14e492ca49440f65477f4bb1263575900be731a3dac66a9
|
||||
sha256: aff32c08f92787a557dd5c0145ac91536481831a01b4648136373cddb0e64f8c
|
||||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "5.9.0"
|
||||
version: "5.9.2"
|
||||
dio_web_adapter:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: dio_web_adapter
|
||||
sha256: "7586e476d70caecaf1686d21eee7247ea43ef5c345eab9e0cc3583ff13378d78"
|
||||
sha256: "2f9e64323a7c3c7ef69567d5c800424a11f8337b8b228bad02524c9fb3c1f340"
|
||||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "2.1.1"
|
||||
version: "2.1.2"
|
||||
easy_debounce:
|
||||
dependency: transitive
|
||||
description:
|
||||
@@ -229,10 +229,10 @@ packages:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: ffi
|
||||
sha256: d07d37192dbf97461359c1518788f203b0c9102cfd2c35a716b823741219542c
|
||||
sha256: "6d7fd89431262d8f3125e81b50d3847a091d846eafcd4fdb88dd06f36d705a45"
|
||||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "2.1.5"
|
||||
version: "2.2.0"
|
||||
file:
|
||||
dependency: transitive
|
||||
description:
|
||||
@@ -326,13 +326,61 @@ packages:
|
||||
source: path
|
||||
version: "0.0.1"
|
||||
flutter_easyloading:
|
||||
dependency: transitive
|
||||
dependency: "direct main"
|
||||
description:
|
||||
name: flutter_easyloading
|
||||
sha256: ba21a3c883544e582f9cc455a4a0907556714e1e9cf0eababfcb600da191d17c
|
||||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "3.0.5"
|
||||
flutter_image_compress:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: flutter_image_compress
|
||||
sha256: "51d23be39efc2185e72e290042a0da41aed70b14ef97db362a6b5368d0523b27"
|
||||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "2.4.0"
|
||||
flutter_image_compress_common:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: flutter_image_compress_common
|
||||
sha256: c5c5d50c15e97dd7dc72ff96bd7077b9f791932f2076c5c5b6c43f2c88607bfb
|
||||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "1.0.6"
|
||||
flutter_image_compress_macos:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: flutter_image_compress_macos
|
||||
sha256: "20019719b71b743aba0ef874ed29c50747461e5e8438980dfa5c2031898f7337"
|
||||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "1.0.3"
|
||||
flutter_image_compress_ohos:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: flutter_image_compress_ohos
|
||||
sha256: e76b92bbc830ee08f5b05962fc78a532011fcd2041f620b5400a593e96da3f51
|
||||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "0.0.3"
|
||||
flutter_image_compress_platform_interface:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: flutter_image_compress_platform_interface
|
||||
sha256: "579cb3947fd4309103afe6442a01ca01e1e6f93dc53bb4cbd090e8ce34a41889"
|
||||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "1.0.5"
|
||||
flutter_image_compress_web:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: flutter_image_compress_web
|
||||
sha256: b9b141ac7c686a2ce7bb9a98176321e1182c9074650e47bb140741a44b6f5a96
|
||||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "0.1.5"
|
||||
flutter_inappwebview:
|
||||
dependency: transitive
|
||||
description:
|
||||
@@ -353,10 +401,10 @@ packages:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: flutter_inappwebview_internal_annotations
|
||||
sha256: "787171d43f8af67864740b6f04166c13190aa74a1468a1f1f1e9ee5b90c359cd"
|
||||
sha256: e30fba942e3debea7b7e6cdd4f0f59ce89dd403a9865193e3221293b6d1544c6
|
||||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "1.2.0"
|
||||
version: "1.3.0"
|
||||
flutter_inappwebview_ios:
|
||||
dependency: transitive
|
||||
description:
|
||||
@@ -409,10 +457,10 @@ packages:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: flutter_plugin_android_lifecycle
|
||||
sha256: ee8068e0e1cd16c4a82714119918efdeed33b3ba7772c54b5d094ab53f9b7fd1
|
||||
sha256: "38d1c268de9097ff59cf0e844ac38759fc78f76836d37edad06fa21e182055a0"
|
||||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "2.0.33"
|
||||
version: "2.0.34"
|
||||
flutter_screenutil:
|
||||
dependency: transitive
|
||||
description:
|
||||
@@ -491,10 +539,10 @@ packages:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: hooks
|
||||
sha256: "5d309c86e7ce34cd8e37aa71cb30cb652d3829b900ab145e4d9da564b31d59f7"
|
||||
sha256: e79ed1e8e1929bc6ecb6ec85f0cb519c887aa5b423705ded0d0f2d9226def388
|
||||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "1.0.0"
|
||||
version: "1.0.2"
|
||||
html:
|
||||
dependency: transitive
|
||||
description:
|
||||
@@ -531,10 +579,10 @@ packages:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: image
|
||||
sha256: "492bd52f6c4fbb6ee41f781ff27765ce5f627910e1e0cbecfa3d9add5562604c"
|
||||
sha256: f9881ff4998044947ec38d098bc7c8316ae1186fa786eddffdb867b9bc94dfce
|
||||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "4.7.2"
|
||||
version: "4.8.0"
|
||||
image_editor_plus:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
@@ -563,10 +611,10 @@ packages:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: image_picker_android
|
||||
sha256: "297e42bd236c4ac4b091d4277292159b3280545e030cae2be3d503f9ecf7e6a1"
|
||||
sha256: "66810af8e99b2657ee98e5c6f02064f69bb63f7a70e343937f70946c5f8c6622"
|
||||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "0.8.13+12"
|
||||
version: "0.8.13+16"
|
||||
image_picker_for_web:
|
||||
dependency: transitive
|
||||
description:
|
||||
@@ -579,10 +627,10 @@ packages:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: image_picker_ios
|
||||
sha256: "956c16a42c0c708f914021666ffcd8265dde36e673c9fa68c81f7d085d9774ad"
|
||||
sha256: b9c4a438a9ff4f60808c9cf0039b93a42bb6c2211ef6ebb647394b2b3fa84588
|
||||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "0.8.13+3"
|
||||
version: "0.8.13+6"
|
||||
image_picker_linux:
|
||||
dependency: transitive
|
||||
description:
|
||||
@@ -623,6 +671,22 @@ packages:
|
||||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "0.20.2"
|
||||
jni:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: jni
|
||||
sha256: c2230682d5bc2362c1c9e8d3c7f406d9cbba23ab3f2e203a025dd47e0fb2e68f
|
||||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "1.0.0"
|
||||
jni_flutter:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: jni_flutter
|
||||
sha256: "8b59e590786050b1cd866677dddaf76b1ade5e7bc751abe04b86e84d379d3ba6"
|
||||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "1.0.1"
|
||||
js:
|
||||
dependency: transitive
|
||||
description:
|
||||
@@ -715,10 +779,10 @@ packages:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: native_toolchain_c
|
||||
sha256: "89e83885ba09da5fdf2cdacc8002a712ca238c28b7f717910b34bcd27b0d03ac"
|
||||
sha256: "6ba77bb18063eebe9de401f5e6437e95e1438af0a87a3a39084fbd37c90df572"
|
||||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "0.17.4"
|
||||
version: "0.17.6"
|
||||
nested:
|
||||
dependency: transitive
|
||||
description:
|
||||
@@ -731,10 +795,10 @@ packages:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: objective_c
|
||||
sha256: "7fd0c4d8ac8980011753b9bdaed2bf15111365924cdeeeaeb596214ea2b03537"
|
||||
sha256: "100a1c87616ab6ed41ec263b083c0ef3261ee6cd1dc3b0f35f8ddfa4f996fe52"
|
||||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "9.2.4"
|
||||
version: "9.3.0"
|
||||
octo_image:
|
||||
dependency: transitive
|
||||
description:
|
||||
@@ -743,14 +807,22 @@ packages:
|
||||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "2.1.0"
|
||||
package_config:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: package_config
|
||||
sha256: f096c55ebb7deb7e384101542bfba8c52696c1b56fca2eb62827989ef2353bbc
|
||||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "2.2.0"
|
||||
package_info_plus:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: package_info_plus
|
||||
sha256: f69da0d3189a4b4ceaeb1a3defb0f329b3b352517f52bed4290f83d4f06bc08d
|
||||
sha256: "468c26b4254ab01979fa5e4a98cb343ea3631b9acee6f21028997419a80e1a20"
|
||||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "9.0.0"
|
||||
version: "9.0.1"
|
||||
package_info_plus_platform_interface:
|
||||
dependency: transitive
|
||||
description:
|
||||
@@ -779,10 +851,10 @@ packages:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: path_provider_android
|
||||
sha256: f2c65e21139ce2c3dad46922be8272bb5963516045659e71bb16e151c93b580e
|
||||
sha256: "69cbd515a62b94d32a7944f086b2f82b4ac40a1d45bebfc00813a430ab2dabcd"
|
||||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "2.2.22"
|
||||
version: "2.3.1"
|
||||
path_provider_foundation:
|
||||
dependency: transitive
|
||||
description:
|
||||
@@ -867,10 +939,26 @@ packages:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: petitparser
|
||||
sha256: "1a97266a94f7350d30ae522c0af07890c70b8e62c71e8e3920d1db4d23c057d1"
|
||||
sha256: "91bd59303e9f769f108f8df05e371341b15d59e995e6806aefab827b58336675"
|
||||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "7.0.1"
|
||||
version: "7.0.2"
|
||||
photo_manager:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: photo_manager
|
||||
sha256: fb3bc8ea653370f88742b3baa304700107c83d12748aa58b2b9f2ed3ef15e6c2
|
||||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "3.9.0"
|
||||
photo_manager_image_provider:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: photo_manager_image_provider
|
||||
sha256: b6015b67b32f345f57cf32c126f871bced2501236c405aafaefa885f7c821e4f
|
||||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "2.2.0"
|
||||
photo_view:
|
||||
dependency: transitive
|
||||
description:
|
||||
@@ -899,10 +987,10 @@ packages:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: posix
|
||||
sha256: "6323a5b0fa688b6a010df4905a56b00181479e6d10534cecfecede2aa55add61"
|
||||
sha256: "185ef7606574f789b40f289c233efa52e96dead518aed988e040a10737febb07"
|
||||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "6.0.3"
|
||||
version: "6.5.0"
|
||||
provider:
|
||||
dependency: transitive
|
||||
description:
|
||||
@@ -1019,18 +1107,18 @@ packages:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: shared_preferences
|
||||
sha256: "2939ae520c9024cb197fc20dee269cd8cdbf564c8b5746374ec6cacdc5169e64"
|
||||
sha256: c3025c5534b01739267eb7d76959bbc25a6d10f6988e1c2a3036940133dd10bf
|
||||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "2.5.4"
|
||||
version: "2.5.5"
|
||||
shared_preferences_android:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: shared_preferences_android
|
||||
sha256: "83af5c682796c0f7719c2bbf74792d113e40ae97981b8f266fa84574573556bc"
|
||||
sha256: e8d4762b1e2e8578fc4d0fd548cebf24afd24f49719c08974df92834565e2c53
|
||||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "2.4.18"
|
||||
version: "2.4.23"
|
||||
shared_preferences_foundation:
|
||||
dependency: transitive
|
||||
description:
|
||||
@@ -1051,10 +1139,10 @@ packages:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: shared_preferences_platform_interface
|
||||
sha256: "57cbf196c486bc2cf1f02b85784932c6094376284b3ad5779d1b1c6c6a816b80"
|
||||
sha256: "649dc798a33931919ea356c4305c2d1f81619ea6e92244070b520187b5140ef9"
|
||||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "2.4.1"
|
||||
version: "2.4.2"
|
||||
shared_preferences_web:
|
||||
dependency: transitive
|
||||
description:
|
||||
@@ -1080,10 +1168,10 @@ packages:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: source_span
|
||||
sha256: "254ee5351d6cb365c859e20ee823c3bb479bf4a293c22d17a9f1bf144ce86f7c"
|
||||
sha256: "56a02f1f4cd1a2d96303c0144c93bd6d909eea6bee6bf5a0e0b685edbd4c47ab"
|
||||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "1.10.1"
|
||||
version: "1.10.2"
|
||||
sp_util:
|
||||
dependency: transitive
|
||||
description:
|
||||
@@ -1104,10 +1192,10 @@ packages:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: sqflite_android
|
||||
sha256: ecd684501ebc2ae9a83536e8b15731642b9570dc8623e0073d227d0ee2bfea88
|
||||
sha256: "881e28efdcc9950fd8e9bb42713dcf1103e62a2e7168f23c9338d82db13dec40"
|
||||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "2.4.2+2"
|
||||
version: "2.4.2+3"
|
||||
sqflite_common:
|
||||
dependency: transitive
|
||||
description:
|
||||
@@ -1216,18 +1304,18 @@ packages:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: url_launcher_android
|
||||
sha256: "767344bf3063897b5cf0db830e94f904528e6dd50a6dfaf839f0abf509009611"
|
||||
sha256: "3bb000251e55d4a209aa0e2e563309dc9bb2befea2295fd0cec1f51760aac572"
|
||||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "6.3.28"
|
||||
version: "6.3.29"
|
||||
url_launcher_ios:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: url_launcher_ios
|
||||
sha256: cfde38aa257dae62ffe79c87fab20165dfdf6988c1d31b58ebf59b9106062aad
|
||||
sha256: "580fe5dfb51671ae38191d316e027f6b76272b026370708c2d898799750a02b0"
|
||||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "6.3.6"
|
||||
version: "6.4.1"
|
||||
url_launcher_linux:
|
||||
dependency: transitive
|
||||
description:
|
||||
@@ -1272,10 +1360,10 @@ packages:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: uuid
|
||||
sha256: a11b666489b1954e01d992f3d601b1804a33937b5a8fe677bd26b8a9f96f96e8
|
||||
sha256: "1fef9e8e11e2991bb773070d4656b7bd5d850967a2456cfc83cf47925ba79489"
|
||||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "4.5.2"
|
||||
version: "4.5.3"
|
||||
vector_math:
|
||||
dependency: transitive
|
||||
description:
|
||||
@@ -1288,26 +1376,26 @@ packages:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: video_player
|
||||
sha256: "096bc28ce10d131be80dfb00c223024eb0fba301315a406728ab43dd99c45bdf"
|
||||
sha256: "48a7bdaa38a3d50ec10c78627abdbfad863fdf6f0d6e08c7c3c040cfd80ae36f"
|
||||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "2.10.1"
|
||||
version: "2.11.1"
|
||||
video_player_android:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: video_player_android
|
||||
sha256: ee4fd520b0cafa02e4a867a0f882092e727cdaa1a2d24762171e787f8a502b0a
|
||||
sha256: "877a6c7ba772456077d7bfd71314629b3fe2b73733ce503fc77c3314d43a0ca0"
|
||||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "2.9.1"
|
||||
version: "2.9.5"
|
||||
video_player_avfoundation:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: video_player_avfoundation
|
||||
sha256: "7cc0a9257103851eb299a2407e895b0fd6832d323dcfde622a23cdc25a1de269"
|
||||
sha256: af0e5b8a7a4876fb37e7cc8cb2a011e82bb3ecfa45844ef672e32cb14a1f259e
|
||||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "2.9.0"
|
||||
version: "2.9.4"
|
||||
video_player_platform_interface:
|
||||
dependency: transitive
|
||||
description:
|
||||
@@ -1324,30 +1412,38 @@ packages:
|
||||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "2.4.0"
|
||||
visibility_detector:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: visibility_detector
|
||||
sha256: dd5cc11e13494f432d15939c3aa8ae76844c42b723398643ce9addb88a5ed420
|
||||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "0.4.0+2"
|
||||
vm_service:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: vm_service
|
||||
sha256: "45caa6c5917fa127b5dbcfbd1fa60b14e583afdc08bfc96dda38886ca252eb60"
|
||||
sha256: "046d3928e16fa4dc46e8350415661755ab759d9fc97fc21b5ab295f71e4f0499"
|
||||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "15.0.2"
|
||||
version: "15.1.0"
|
||||
wakelock_plus:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: wakelock_plus
|
||||
sha256: "9296d40c9adbedaba95d1e704f4e0b434be446e2792948d0e4aa977048104228"
|
||||
sha256: ddf3db70eaa10c37558ff817519b85d527dbd21034fd5d8e1c2e85f31588f1c1
|
||||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "1.4.0"
|
||||
version: "1.5.2"
|
||||
wakelock_plus_platform_interface:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: wakelock_plus_platform_interface
|
||||
sha256: "036deb14cd62f558ca3b73006d52ce049fabcdcb2eddfe0bf0fe4e8a943b5cf2"
|
||||
sha256: "24b84143787220a403491c2e5de0877fbbb87baf3f0b18a2a988973863db4b03"
|
||||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "1.3.0"
|
||||
version: "1.4.0"
|
||||
web:
|
||||
dependency: transitive
|
||||
description:
|
||||
@@ -1356,6 +1452,22 @@ packages:
|
||||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "1.1.1"
|
||||
wechat_assets_picker:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: wechat_assets_picker
|
||||
sha256: "58d15c4369596f62d9c6e4202fc7ccf0b863a1adf7893989d3982df9716eb5e5"
|
||||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "10.1.1"
|
||||
wechat_picker_library:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: wechat_picker_library
|
||||
sha256: "5cb61b9aa935b60da5b043f8446fbb9c5077419f20ccc4856bf444aec4f44bc1"
|
||||
url: "https://pub.flutter-io.cn"
|
||||
source: hosted
|
||||
version: "1.0.7"
|
||||
win32:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
||||
@@ -39,6 +39,7 @@ dependencies:
|
||||
image_editor_plus: ^1.0.6
|
||||
get: ^4.6.5
|
||||
dio: ^5.9.0
|
||||
flutter_easyloading: ^3.0.5
|
||||
image_picker: ^1.1.0 #相册单选
|
||||
# native_exif: ^0.6.2
|
||||
# exif: ^3.3.0
|
||||
|
||||
@@ -83,38 +83,44 @@ class _CalendarChooseWidgetState extends State<CalendarChooseWidget> {
|
||||
String get dealTimeString {
|
||||
String? time = "";
|
||||
if (endTime == null) {
|
||||
time = DateTimeUtils.dateTimeUtilsTool(
|
||||
dateTime: startTime.toString(),
|
||||
dateTimeUtilsType:
|
||||
widget.dateTimeUtilsType ?? DateTimeUtilsType.yearMonthDay,
|
||||
);
|
||||
time = _formatDisplayDate(startTime);
|
||||
} else if (endTime == startTime) {
|
||||
time = DateTimeUtils.dateTimeUtilsTool(
|
||||
dateTime: startTime.toString(),
|
||||
dateTimeUtilsType:
|
||||
widget.dateTimeUtilsType ?? DateTimeUtilsType.yearMonthDay,
|
||||
);
|
||||
time = _formatDisplayDate(startTime);
|
||||
} else {
|
||||
time = "${DateTimeUtils.dateTimeUtilsTool(
|
||||
dateTime: startTime.toString(),
|
||||
dateTimeUtilsType:
|
||||
widget.dateTimeUtilsType ?? DateTimeUtilsType.yearMonthDay,
|
||||
)} - ${DateTimeUtils.dateTimeUtilsTool(
|
||||
dateTime: endTime.toString(),
|
||||
dateTimeUtilsType:
|
||||
widget.dateTimeUtilsType ?? DateTimeUtilsType.yearMonthDay,
|
||||
)}";
|
||||
time =
|
||||
"${_formatDisplayDate(startTime)} - ${_formatDisplayDate(endTime)}";
|
||||
}
|
||||
return time;
|
||||
}
|
||||
|
||||
String _formatDisplayDate(DateTime? dateTime) {
|
||||
if (dateTime == null) {
|
||||
return '-- --';
|
||||
}
|
||||
final dateType = widget.dateTimeUtilsType ?? DateTimeUtilsType.yearMonthDay;
|
||||
final formatted = DateTimeUtils.dateTimeUtilsTool(
|
||||
dateTime: dateTime.toString(),
|
||||
dateTimeUtilsType: dateType,
|
||||
);
|
||||
if (widget.chooseIndex == 1 &&
|
||||
dateType == DateTimeUtilsType.yearMonthDayWord) {
|
||||
return '$formatted ${DateTimeUtils.getWeekDay(dateTime)}';
|
||||
}
|
||||
return formatted;
|
||||
}
|
||||
|
||||
///日历弹窗
|
||||
onTapDate() {
|
||||
final screenHeight = MediaQuery.of(context).size.height;
|
||||
final singlePickerHeight =
|
||||
screenHeight * 0.5 < 420 ? 420.0 : screenHeight * 0.5;
|
||||
final rangePickerHeight =
|
||||
screenHeight * 0.5 < 460 ? 460.0 : screenHeight * 0.5;
|
||||
if (widget.chooseIndex == 1) {
|
||||
ToastUtils.showBottomSheet(
|
||||
context: context,
|
||||
title: '选择时间',
|
||||
height: MediaQuery.of(context).size.height / 2,
|
||||
height: singlePickerHeight,
|
||||
isShowConfirm: true,
|
||||
contentWidget: CustomDatePicker(
|
||||
initialDate: DateTime.now(),
|
||||
@@ -131,7 +137,7 @@ class _CalendarChooseWidgetState extends State<CalendarChooseWidget> {
|
||||
ToastUtils.showBottomSheet(
|
||||
context: context,
|
||||
title: '选择时间',
|
||||
height: MediaQuery.of(context).size.height / 2,
|
||||
height: rangePickerHeight,
|
||||
isShowConfirm: true,
|
||||
contentWidget: CustomCalendarRangePickerWidget(
|
||||
firstDate: DateTime(DateTime.now().year - 2),
|
||||
|
||||
@@ -867,6 +867,7 @@ class _DayHeaders extends StatelessWidget {
|
||||
),
|
||||
child: GridView.custom(
|
||||
shrinkWrap: true,
|
||||
padding: EdgeInsets.zero,
|
||||
gridDelegate: _monthItemGridDelegate,
|
||||
childrenDelegate: SliverChildListDelegate(
|
||||
labels,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
library flutter_common;
|
||||
|
||||
export 'calendarcalendar/calendar_choose_widget.dart';
|
||||
export 'calendarcalendar/custom_calendar_range_picker_widget.dart';
|
||||
export 'calendarcalendar/custom_date_picker.dart';
|
||||
export 'upload_image/look_images_widget.dart';
|
||||
export 'upload_image/upload_images_tool.dart';
|
||||
export 'utils/date_utils.dart';
|
||||
|
||||
@@ -19,8 +19,8 @@ class HttpUtils {
|
||||
BaseOptions options = BaseOptions(
|
||||
baseUrl: baseUrl,
|
||||
contentType: 'application/json; charset=utf-8',
|
||||
connectTimeout: const Duration(milliseconds: 15000),
|
||||
receiveTimeout: const Duration(milliseconds: 15000),
|
||||
connectTimeout: const Duration(seconds: 60),
|
||||
receiveTimeout: const Duration(seconds: 60),
|
||||
responseType: ResponseType.json,
|
||||
validateStatus: (status) {
|
||||
return true;
|
||||
@@ -189,6 +189,7 @@ class HttpUtils {
|
||||
}
|
||||
|
||||
if (resultCode.toUpperCase() == "UNLOGIN") {
|
||||
ToastUtils.showToast(msg: map['resultMsg']);
|
||||
unLoginAction?.call();
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -11,45 +11,50 @@ import 'package:image_gallery_saver_plus/image_gallery_saver_plus.dart';
|
||||
import 'package:permission_handler/permission_handler.dart';
|
||||
|
||||
class DownLoadImageTool {
|
||||
|
||||
// 请求照片库权限
|
||||
static Future<bool> requestPhotoPermission() async {
|
||||
// 检查当前权限状态
|
||||
// var status = await Permission.photos.status;
|
||||
var status = await Permission.storage.request();
|
||||
if (status.isDenied) {
|
||||
// 请求权限
|
||||
PermissionStatus status;
|
||||
if (Platform.isIOS) {
|
||||
status = await Permission.photosAddOnly.request();
|
||||
} else {
|
||||
status = await Permission.photos.request();
|
||||
|
||||
// 如果用户拒绝了权限,可以显示一个解释
|
||||
if (status.isPermanentlyDenied) {
|
||||
// 打开应用设置,让用户手动启用权限
|
||||
await openAppSettings();
|
||||
}
|
||||
}
|
||||
|
||||
return status.isGranted;
|
||||
if (status.isPermanentlyDenied) {
|
||||
await openAppSettings();
|
||||
}
|
||||
|
||||
return status.isGranted || status.isLimited;
|
||||
}
|
||||
|
||||
// 或者请求存储权限(适用于Android)
|
||||
static Future<bool> requestStoragePermission() async {
|
||||
if (Platform.isIOS) {
|
||||
return requestPhotoPermission();
|
||||
}
|
||||
|
||||
if (Platform.isAndroid) {
|
||||
// 对于Android 13及以上版本
|
||||
if (await DeviceInfoPlugin().androidInfo.then((info) => info.version.sdkInt) >= 33) {
|
||||
if (await DeviceInfoPlugin()
|
||||
.androidInfo
|
||||
.then((info) => info.version.sdkInt) >=
|
||||
33) {
|
||||
var status = await Permission.photos.request();
|
||||
if(status == PermissionStatus.denied){
|
||||
await requestPhotoPermission();
|
||||
if (status.isPermanentlyDenied) {
|
||||
await openAppSettings();
|
||||
}
|
||||
return status.isGranted;
|
||||
return status.isGranted || status.isLimited;
|
||||
} else {
|
||||
// 对于Android 13以下版本
|
||||
var status = await Permission.storage.request();
|
||||
if (status.isPermanentlyDenied) {
|
||||
await openAppSettings();
|
||||
}
|
||||
return status.isGranted;
|
||||
}
|
||||
} else {
|
||||
// iOS使用照片权限
|
||||
return await requestPhotoPermission();
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
///保存到相册
|
||||
@@ -98,10 +103,9 @@ class DownLoadImageTool {
|
||||
final result = await ImageGallerySaverPlus.saveImage(
|
||||
Uint8List.fromList(response.data),
|
||||
quality: 60,
|
||||
name: "hello",
|
||||
name: "flutter_common_${DateTime.now().millisecondsSinceEpoch}",
|
||||
isReturnImagePathOfIOS: true,
|
||||
);
|
||||
print('=result ============ $result');
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -127,7 +131,6 @@ class DownLoadImageTool {
|
||||
EasyLoading.dismiss();
|
||||
return null;
|
||||
}
|
||||
|
||||
} catch (e) {
|
||||
EasyLoading.dismiss();
|
||||
// debugPrint('Error fetching image: $e');
|
||||
|
||||
@@ -3,7 +3,9 @@ import 'dart:io';
|
||||
import 'package:dio/dio.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/services.dart';
|
||||
import 'package:flutter_common/upload_image/down_load_image_tool.dart';
|
||||
import 'package:flutter_common/upload_image/ossUtil.dart';
|
||||
import 'package:flutter_common/utils/toast_utils.dart';
|
||||
import 'package:get/get.dart';
|
||||
import 'package:image_editor_plus/image_editor_plus.dart';
|
||||
import 'package:path_provider/path_provider.dart';
|
||||
@@ -14,6 +16,7 @@ class LookImagesTool {
|
||||
required List<String> listData,
|
||||
int? currentPage,
|
||||
void Function(String)? onCallBack,
|
||||
void Function(String, int)? onEditCallBack,
|
||||
String? oSSAccessKeyId,
|
||||
Function? callBack,
|
||||
bool? isShowEdit,
|
||||
@@ -31,6 +34,7 @@ class LookImagesTool {
|
||||
listData: listData,
|
||||
currentPage: currentPage,
|
||||
onCallBack: onCallBack,
|
||||
onEditCallBack: onEditCallBack,
|
||||
oSSAccessKeyId: oSSAccessKeyId,
|
||||
policy: policy,
|
||||
callback: callback,
|
||||
@@ -52,6 +56,7 @@ class LookImagesWidget extends StatefulWidget {
|
||||
final String? ossDirectory;
|
||||
final String? ossHost;
|
||||
final void Function(String)? onCallBack;
|
||||
final void Function(String, int)? onEditCallBack;
|
||||
final bool? isShowEdit;
|
||||
|
||||
const LookImagesWidget({
|
||||
@@ -65,6 +70,7 @@ class LookImagesWidget extends StatefulWidget {
|
||||
this.ossDirectory,
|
||||
this.ossHost,
|
||||
this.onCallBack,
|
||||
this.onEditCallBack,
|
||||
this.isShowEdit,
|
||||
});
|
||||
|
||||
@@ -73,7 +79,7 @@ class LookImagesWidget extends StatefulWidget {
|
||||
}
|
||||
|
||||
class _LookImagesWidgetState extends State<LookImagesWidget> {
|
||||
List listData = [];
|
||||
List<String> listData = [];
|
||||
late int currentPage;
|
||||
late int initialPage = 0;
|
||||
|
||||
@@ -87,9 +93,11 @@ class _LookImagesWidgetState extends State<LookImagesWidget> {
|
||||
options: Options(responseType: ResponseType.bytes),
|
||||
);
|
||||
// 响应成功且数据非空时,直接转为 Uint8List
|
||||
return response.statusCode == 200 && response.data != null ? Uint8List.fromList(response.data!) : null;
|
||||
return response.statusCode == 200 && response.data != null
|
||||
? Uint8List.fromList(response.data!)
|
||||
: null;
|
||||
} catch (e) {
|
||||
print('图片转换失败:$e'); // 捕获网络错误、URL 非法等异常
|
||||
debugPrint('图片转换失败:$e'); // 捕获网络错误、URL 非法等异常
|
||||
return null;
|
||||
}
|
||||
}
|
||||
@@ -143,11 +151,16 @@ class _LookImagesWidgetState extends State<LookImagesWidget> {
|
||||
if (uint8List.length < 4) return "bin"; // 无法识别时返回二进制后缀
|
||||
|
||||
// PNG 头:89 50 4E 47
|
||||
if (uint8List[0] == 0x89 && uint8List[1] == 0x50 && uint8List[2] == 0x4E && uint8List[3] == 0x47) {
|
||||
if (uint8List[0] == 0x89 &&
|
||||
uint8List[1] == 0x50 &&
|
||||
uint8List[2] == 0x4E &&
|
||||
uint8List[3] == 0x47) {
|
||||
return "png";
|
||||
}
|
||||
// JPG 头:FF D8 FF
|
||||
else if (uint8List[0] == 0xFF && uint8List[1] == 0xD8 && uint8List[2] == 0xFF) {
|
||||
else if (uint8List[0] == 0xFF &&
|
||||
uint8List[1] == 0xD8 &&
|
||||
uint8List[2] == 0xFF) {
|
||||
return "jpg";
|
||||
}
|
||||
// MP4 头:00 00 00 18 66 74 79 70
|
||||
@@ -169,7 +182,8 @@ class _LookImagesWidgetState extends State<LookImagesWidget> {
|
||||
}
|
||||
|
||||
/// Uint8List 转临时 File 并且上传到oss并返回访问路径
|
||||
Future<String?> uint8ListToTempFile(Uint8List uint8List, {String fileName = "temp_file"}) async {
|
||||
Future<String?> uint8ListToTempFile(Uint8List uint8List,
|
||||
{String fileName = "temp_file"}) async {
|
||||
if (uint8List.isEmpty) return null;
|
||||
try {
|
||||
// 1. 获取临时存储目录(跨平台兼容)
|
||||
@@ -178,7 +192,8 @@ class _LookImagesWidgetState extends State<LookImagesWidget> {
|
||||
String tempPath = tempDir.path;
|
||||
|
||||
// 2. 拼接文件路径(可自定义后缀,如 .png、.mp4 等)
|
||||
File tempFile = File("$tempPath/$fileName.${getExtension(uint8List)}"); // 自动识别后缀(可选)
|
||||
File tempFile =
|
||||
File("$tempPath/$fileName.${getExtension(uint8List)}"); // 自动识别后缀(可选)
|
||||
|
||||
// 3. 将 Uint8List 写入文件
|
||||
await tempFile.writeAsBytes(uint8List);
|
||||
@@ -198,14 +213,29 @@ class _LookImagesWidgetState extends State<LookImagesWidget> {
|
||||
// print("上传后的访问路径:$imageUrl");
|
||||
return imageUrl;
|
||||
} catch (e) {
|
||||
print("转换临时文件失败:$e");
|
||||
debugPrint("转换临时文件失败:$e");
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
Future<void> _saveCurrentImage() async {
|
||||
if (listData.isEmpty) {
|
||||
ToastUtils.showToast(msg: '暂无可保存的图片');
|
||||
return;
|
||||
}
|
||||
|
||||
final result = await DownLoadImageTool.savePhoto(
|
||||
imageUrl: listData[currentPage],
|
||||
);
|
||||
|
||||
if (result != null) {
|
||||
ToastUtils.showToast(msg: '已保存到相册');
|
||||
}
|
||||
}
|
||||
|
||||
@override
|
||||
void initState() {
|
||||
listData = widget.listData;
|
||||
listData = List<String>.from(widget.listData);
|
||||
if (widget.currentPage == null) {
|
||||
initialPage = 0;
|
||||
currentPage = 0;
|
||||
@@ -220,40 +250,63 @@ class _LookImagesWidgetState extends State<LookImagesWidget> {
|
||||
return Scaffold(
|
||||
body: Stack(
|
||||
children: [
|
||||
PhotoViewGallery.builder(
|
||||
itemCount: listData.length,
|
||||
pageController: PageController(initialPage: currentPage),
|
||||
onPageChanged: (index) {
|
||||
setState(() {
|
||||
currentPage = index;
|
||||
});
|
||||
},
|
||||
builder: (_, index) {
|
||||
return PhotoViewGalleryPageOptions(
|
||||
imageProvider: NetworkImage(
|
||||
listData[index],
|
||||
),
|
||||
);
|
||||
},
|
||||
GestureDetector(
|
||||
behavior: HitTestBehavior.translucent,
|
||||
onLongPress: _saveCurrentImage,
|
||||
child: PhotoViewGallery.builder(
|
||||
itemCount: listData.length,
|
||||
pageController: PageController(initialPage: currentPage),
|
||||
onPageChanged: (index) {
|
||||
setState(() {
|
||||
currentPage = index;
|
||||
});
|
||||
},
|
||||
builder: (_, index) {
|
||||
return PhotoViewGalleryPageOptions(
|
||||
imageProvider: NetworkImage(
|
||||
listData[index],
|
||||
),
|
||||
);
|
||||
},
|
||||
),
|
||||
),
|
||||
Positioned(
|
||||
left: 15,
|
||||
top: 50,
|
||||
child: GestureDetector(onTap: () => Get.back(), child: Icon(Icons.arrow_back_ios, color: Colors.white))),
|
||||
left: 15,
|
||||
top: 50,
|
||||
child: GestureDetector(
|
||||
onTap: () => Get.back(),
|
||||
child: const Icon(Icons.arrow_back_ios, color: Colors.white),
|
||||
),
|
||||
),
|
||||
Positioned(
|
||||
right: 15,
|
||||
top: 50,
|
||||
child: GestureDetector(
|
||||
onTap: () async {
|
||||
Uint8List? imageFile = await editImage(url: listData[currentPage]);
|
||||
String? url = await uint8ListToTempFile(imageFile ?? Uint8List(0));
|
||||
if(widget.onCallBack != null){
|
||||
widget.onCallBack!(url??'');
|
||||
}
|
||||
},
|
||||
child: Visibility(
|
||||
visible: widget.isShowEdit??false,
|
||||
child: Icon(Icons.edit, color: Colors.white)))),
|
||||
right: 15,
|
||||
top: 50,
|
||||
child: GestureDetector(
|
||||
onTap: () async {
|
||||
Uint8List? imageFile =
|
||||
await editImage(url: listData[currentPage]);
|
||||
if (imageFile == null || imageFile.isEmpty) {
|
||||
return;
|
||||
}
|
||||
|
||||
String? url = await uint8ListToTempFile(imageFile);
|
||||
if (url == null || url.isEmpty) {
|
||||
ToastUtils.showToast(msg: '图片上传失败');
|
||||
return;
|
||||
}
|
||||
|
||||
setState(() {
|
||||
listData[currentPage] = url;
|
||||
});
|
||||
widget.onEditCallBack?.call(url, currentPage);
|
||||
widget.onCallBack?.call(url);
|
||||
},
|
||||
child: Visibility(
|
||||
visible: widget.isShowEdit ?? false,
|
||||
child: const Icon(Icons.edit, color: Colors.white),
|
||||
),
|
||||
),
|
||||
),
|
||||
//图片张数指示器
|
||||
Positioned(
|
||||
left: 0,
|
||||
|
||||
@@ -77,6 +77,10 @@ class UploadOss {
|
||||
);
|
||||
print("response ===== $response");
|
||||
EasyLoading.dismiss();
|
||||
if(fileType == 'jpg'){
|
||||
/// 删除临时文件
|
||||
File(path).deleteSync();
|
||||
}
|
||||
// 成功后返回文件访问路径
|
||||
return "$ossHost/$ossDirectory$pathName";
|
||||
} on DioError catch (e) {
|
||||
|
||||
@@ -133,9 +133,12 @@ class _UploadImagesState extends State<UploadImages> {
|
||||
}) {
|
||||
return GestureDetector(
|
||||
onTap: () => widget.oneTap?.call(index),
|
||||
child: CustomerImagesNetworking(
|
||||
imageUrl: imageUrl,
|
||||
fit: widget.fit ?? BoxFit.cover,
|
||||
child: ClipRRect(
|
||||
borderRadius: BorderRadiusGeometry.circular(20.r),
|
||||
child: CustomerImagesNetworking(
|
||||
imageUrl: imageUrl,
|
||||
fit: widget.fit ?? BoxFit.cover,
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
@@ -280,7 +283,7 @@ class _UploadImagesState extends State<UploadImages> {
|
||||
title: const Text('上传图片'),
|
||||
message: (max == null || max == 0)
|
||||
? null
|
||||
: Text('请选择上传方式\n相册最多${max ?? 9}张'),
|
||||
: Text('请选择上传方式\n相册最多$max张'),
|
||||
actions: <Widget>[
|
||||
CupertinoActionSheetAction(
|
||||
child: const Text('拍照上传'),
|
||||
|
||||
@@ -1,13 +1,16 @@
|
||||
import 'dart:io';
|
||||
import 'dart:math';
|
||||
|
||||
import 'package:flutter/cupertino.dart';
|
||||
import 'package:flutter_common/upload_image/ossUtil.dart';
|
||||
import 'package:flutter_image_compress/flutter_image_compress.dart';
|
||||
import 'package:get/get.dart';
|
||||
import 'package:image_picker/image_picker.dart';
|
||||
|
||||
// import 'package:images_picker/images_picker.dart';
|
||||
// import 'package:images_picker/images_picker.dart';
|
||||
import 'package:permission_handler/permission_handler.dart';
|
||||
import 'package:wechat_assets_picker/wechat_assets_picker.dart';
|
||||
|
||||
class UploadImagesTool {
|
||||
static uploadImagesTool({
|
||||
@@ -136,9 +139,7 @@ class UploadImagesTool {
|
||||
)
|
||||
: CupertinoActionSheet(
|
||||
title: const Text('上传图片'),
|
||||
message: (max == null || max == 0)
|
||||
? null
|
||||
: Text('请选择上传方式\n相册最多${max ?? 9}张'),
|
||||
message: (max == null || max == 0) ? null : Text('请选择上传方式\n相册最多${max}张'),
|
||||
actions: isAddOtherWidget != null
|
||||
? <Widget>[
|
||||
isAddOtherWidget,
|
||||
@@ -152,8 +153,7 @@ class UploadImagesTool {
|
||||
policy: policy ?? '',
|
||||
callback: callback ?? '',
|
||||
signature: signature ?? '',
|
||||
chooseImages: (list) =>
|
||||
chooseImages?.call(list),
|
||||
chooseImages: (list) => chooseImages?.call(list),
|
||||
);
|
||||
Get.back();
|
||||
},
|
||||
@@ -169,8 +169,7 @@ class UploadImagesTool {
|
||||
policy: policy ?? '',
|
||||
callback: callback ?? '',
|
||||
signature: signature ?? '',
|
||||
chooseImages: (list) =>
|
||||
chooseImages?.call(list),
|
||||
chooseImages: (list) => chooseImages?.call(list),
|
||||
);
|
||||
Get.back();
|
||||
},
|
||||
@@ -187,8 +186,7 @@ class UploadImagesTool {
|
||||
policy: policy ?? '',
|
||||
callback: callback ?? '',
|
||||
signature: signature ?? '',
|
||||
chooseImages: (list) =>
|
||||
chooseImages?.call(list),
|
||||
chooseImages: (list) => chooseImages?.call(list),
|
||||
);
|
||||
Get.back();
|
||||
},
|
||||
@@ -205,8 +203,7 @@ class UploadImagesTool {
|
||||
callback: callback ?? '',
|
||||
signature: signature ?? '',
|
||||
isShowLoading: isShowLoading,
|
||||
chooseImages: (list) =>
|
||||
chooseImages?.call(list),
|
||||
chooseImages: (list) => chooseImages?.call(list),
|
||||
);
|
||||
Get.back();
|
||||
},
|
||||
@@ -235,6 +232,9 @@ class UploadImagesTool {
|
||||
}) async {
|
||||
XFile? file = await ImagePicker().pickImage(
|
||||
source: ImageSource.camera,
|
||||
maxHeight: 1080,
|
||||
maxWidth: 1920,
|
||||
imageQuality: 80
|
||||
);
|
||||
if (file == null) {
|
||||
Get.back();
|
||||
@@ -265,7 +265,11 @@ class UploadImagesTool {
|
||||
bool? isShowLoading,
|
||||
}) async {
|
||||
if (isVideo == true) {
|
||||
XFile? video = await ImagePicker().pickVideo(source: ImageSource.gallery);
|
||||
final List<AssetEntity>? result = await AssetPicker.pickAssets(
|
||||
Get.context!,
|
||||
pickerConfig: AssetPickerConfig(maxAssets: 1, requestType: RequestType.video),
|
||||
);
|
||||
final File? video = await result?.first.file;
|
||||
String path = await saveNetworkImgGallery(
|
||||
video?.path ?? '',
|
||||
fileType: 'mp4',
|
||||
@@ -277,11 +281,34 @@ class UploadImagesTool {
|
||||
signature: signature ?? '',
|
||||
);
|
||||
chooseImages?.call([path]);
|
||||
print('video path ============ $path');
|
||||
} else {
|
||||
List<XFile>? images = await ImagePicker().pickMultiImage();
|
||||
/// 创建临时目录
|
||||
final Directory tempDir = Directory.systemTemp.createTempSync('compressed_images_');
|
||||
final List<AssetEntity>? result = await AssetPicker.pickAssets(
|
||||
Get.context!,
|
||||
pickerConfig: AssetPickerConfig(maxAssets: max ?? 50),
|
||||
);
|
||||
/// 临时存储选中的图片
|
||||
final List<XFile> selectedFiles = [];
|
||||
if (result != null && result.isNotEmpty) {
|
||||
for (int i = 0; i < result.length; i++) {
|
||||
final File? file = await result[i].file;
|
||||
if (file != null) {
|
||||
/// 获取文件扩展名
|
||||
final String extension = file.absolute.path.split('.').last;
|
||||
/// 压缩并保存到临时文件
|
||||
final XFile? compressedFile = await FlutterImageCompress.compressAndGetFile(
|
||||
file.absolute.path, '${tempDir.path}/${DateTime.now().millisecondsSinceEpoch}_compressed.$extension',
|
||||
quality: 80, minWidth: 1920, minHeight: 1080);
|
||||
if (compressedFile != null) {
|
||||
selectedFiles.add(compressedFile);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
/// 上传选中的图片
|
||||
List<String> list = [];
|
||||
for (var element in images) {
|
||||
for (var element in selectedFiles) {
|
||||
String path = await saveNetworkImgGallery(
|
||||
element.path,
|
||||
oSSAccessKeyId: oSSAccessKeyId ?? '',
|
||||
|
||||
@@ -96,16 +96,28 @@ class CustomerImagesNetworking extends StatelessWidget {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
String sizeParams = '';
|
||||
if (height != null && width != null) {
|
||||
final h = height!.toInt() <= 1080 ? 1080 : height!.toInt();
|
||||
final w = width!.toInt() <= 1080 ? 1080 : width!.toInt();
|
||||
sizeParams = 'x-oss-process=image/resize,h_$h,w_$w';
|
||||
} else if (width != null) {
|
||||
final w = width!.toInt() <= 1080 ? 1080 : width!.toInt();
|
||||
sizeParams = 'x-oss-process=image/resize,h_$w,w_$w';
|
||||
} else if (height != null) {
|
||||
final h = height!.toInt() <= 1080 ? 1080 : height!.toInt();
|
||||
sizeParams = 'x-oss-process=image/resize,h_$h,w_$h';
|
||||
}
|
||||
final separator = imageUrl.contains('?') ? '&' : '?';
|
||||
return CachedNetworkImage(
|
||||
imageUrl: imageUrl,
|
||||
imageUrl: imageUrl.isEmpty ? imageUrl : '$imageUrl$separator$sizeParams',
|
||||
width: width,
|
||||
height: height,
|
||||
fit: fit,
|
||||
errorWidget: (_, object, s) {
|
||||
return Container(
|
||||
return SizedBox(
|
||||
width: width,
|
||||
height: height,
|
||||
padding: EdgeInsets.all((width ?? 0) / 2),
|
||||
child: Center(
|
||||
child: Image.asset(
|
||||
'assets/images/noContainer.png',
|
||||
|
||||
@@ -67,16 +67,12 @@ class ToastUtils {
|
||||
context: context,
|
||||
builder: (BuildContext ctx) {
|
||||
final dialogHeight = height ?? MediaQuery.of(ctx).size.height / 2;
|
||||
final bottomInset = MediaQuery.of(ctx).padding.bottom;
|
||||
return Material(
|
||||
type: MaterialType.transparency,
|
||||
child: Align(
|
||||
alignment: Alignment.bottomCenter,
|
||||
child: Container(
|
||||
width: double.infinity,
|
||||
height: dialogHeight,
|
||||
padding: (padding ?? const EdgeInsets.only(bottom: 40))
|
||||
.add(EdgeInsets.only(bottom: bottomInset)),
|
||||
decoration: const BoxDecoration(
|
||||
color: Colors.white,
|
||||
borderRadius: BorderRadius.only(
|
||||
@@ -84,79 +80,90 @@ class ToastUtils {
|
||||
topRight: Radius.circular(12),
|
||||
),
|
||||
),
|
||||
child: Column(
|
||||
children: [
|
||||
header ??
|
||||
Container(
|
||||
padding: const EdgeInsets.only(bottom: 5),
|
||||
decoration: const BoxDecoration(
|
||||
border: Border(
|
||||
bottom: BorderSide(
|
||||
color: Color(0xffE1E1E1),
|
||||
width: 0.5,
|
||||
),
|
||||
),
|
||||
),
|
||||
child: Row(
|
||||
children: [
|
||||
GestureDetector(
|
||||
onTap: () => Navigator.of(ctx).pop(),
|
||||
child: Container(
|
||||
padding:
|
||||
const EdgeInsets.only(left: 6, right: 10),
|
||||
color: Colors.transparent,
|
||||
child: Icon(
|
||||
Icons.keyboard_arrow_down_rounded,
|
||||
size: leftIconSize ?? 40,
|
||||
),
|
||||
),
|
||||
),
|
||||
Expanded(
|
||||
child: Container(
|
||||
alignment: Alignment.center,
|
||||
child: Text(
|
||||
title ?? '头部',
|
||||
style: TextStyle(
|
||||
color: const Color(0xff333333),
|
||||
fontSize: titleFontSize ?? 18,
|
||||
fontWeight: FontWeight.bold,
|
||||
child: SafeArea(
|
||||
top: false,
|
||||
child: SizedBox(
|
||||
height: dialogHeight,
|
||||
child: Padding(
|
||||
padding: padding ?? EdgeInsets.zero,
|
||||
child: Column(
|
||||
children: [
|
||||
header ??
|
||||
Container(
|
||||
padding: const EdgeInsets.only(bottom: 5),
|
||||
decoration: const BoxDecoration(
|
||||
border: Border(
|
||||
bottom: BorderSide(
|
||||
color: Color(0xffE1E1E1),
|
||||
width: 0.5,
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
GestureDetector(
|
||||
onTap: () {
|
||||
if (isShowConfirm) {
|
||||
if (onConfirm != null) {
|
||||
onConfirm();
|
||||
Navigator.of(ctx).pop();
|
||||
}
|
||||
}
|
||||
},
|
||||
child: Container(
|
||||
padding: const EdgeInsets.only(
|
||||
left: 10,
|
||||
top: 8,
|
||||
bottom: 8,
|
||||
right: 18,
|
||||
),
|
||||
alignment: Alignment.center,
|
||||
color: Colors.transparent,
|
||||
child: Text(
|
||||
'确定',
|
||||
style: TextStyle(
|
||||
color: isShowConfirm
|
||||
? const Color(0xff4D6FD5)
|
||||
: Colors.transparent,
|
||||
fontSize: 16),
|
||||
),
|
||||
child: Row(
|
||||
children: [
|
||||
GestureDetector(
|
||||
onTap: () => Navigator.of(ctx).pop(),
|
||||
child: Container(
|
||||
padding: const EdgeInsets.only(
|
||||
left: 6,
|
||||
right: 10,
|
||||
),
|
||||
color: Colors.transparent,
|
||||
child: Icon(
|
||||
Icons.keyboard_arrow_down_rounded,
|
||||
size: leftIconSize ?? 40,
|
||||
),
|
||||
),
|
||||
),
|
||||
Expanded(
|
||||
child: Container(
|
||||
alignment: Alignment.center,
|
||||
child: Text(
|
||||
title ?? '头部',
|
||||
style: TextStyle(
|
||||
color: const Color(0xff333333),
|
||||
fontSize: titleFontSize ?? 18,
|
||||
fontWeight: FontWeight.bold,
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
GestureDetector(
|
||||
onTap: () {
|
||||
if (isShowConfirm) {
|
||||
if (onConfirm != null) {
|
||||
onConfirm();
|
||||
Navigator.of(ctx).pop();
|
||||
}
|
||||
}
|
||||
},
|
||||
child: Container(
|
||||
padding: const EdgeInsets.only(
|
||||
left: 10,
|
||||
top: 8,
|
||||
bottom: 8,
|
||||
right: 18,
|
||||
),
|
||||
alignment: Alignment.center,
|
||||
color: Colors.transparent,
|
||||
child: Text(
|
||||
'确定',
|
||||
style: TextStyle(
|
||||
color: isShowConfirm
|
||||
? const Color(0xff4D6FD5)
|
||||
: Colors.transparent,
|
||||
fontSize: 16),
|
||||
),
|
||||
),
|
||||
)
|
||||
],
|
||||
),
|
||||
)
|
||||
],
|
||||
),
|
||||
),
|
||||
Expanded(child: contentWidget ?? const SizedBox())
|
||||
],
|
||||
),
|
||||
Expanded(child: contentWidget ?? const SizedBox())
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
1386
pubspec.lock
1386
pubspec.lock
File diff suppressed because it is too large
Load Diff
@@ -42,6 +42,8 @@ dependencies:
|
||||
image_editor_plus: ^1.0.6
|
||||
path_provider: ^2.1.5
|
||||
cached_network_image: ^3.4.1
|
||||
wechat_assets_picker: ^10.1.0
|
||||
flutter_image_compress: ^2.4.0
|
||||
|
||||
dev_dependencies:
|
||||
flutter_test:
|
||||
|
||||
Reference in New Issue
Block a user