Compare commits
2 Commits
be5b5bb951
...
main_2.0
| Author | SHA1 | Date | |
|---|---|---|---|
| 74a5bba5f1 | |||
| d6f27690c6 |
208
.idea/libraries/Dart_Packages.xml
generated
208
.idea/libraries/Dart_Packages.xml
generated
@@ -5,7 +5,7 @@
|
|||||||
<entry key="archive">
|
<entry key="archive">
|
||||||
<value>
|
<value>
|
||||||
<list>
|
<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>
|
</list>
|
||||||
</value>
|
</value>
|
||||||
</entry>
|
</entry>
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
<entry key="async">
|
<entry key="async">
|
||||||
<value>
|
<value>
|
||||||
<list>
|
<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>
|
</list>
|
||||||
</value>
|
</value>
|
||||||
</entry>
|
</entry>
|
||||||
@@ -103,7 +103,7 @@
|
|||||||
<entry key="cross_file">
|
<entry key="cross_file">
|
||||||
<value>
|
<value>
|
||||||
<list>
|
<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>
|
</list>
|
||||||
</value>
|
</value>
|
||||||
</entry>
|
</entry>
|
||||||
@@ -124,14 +124,14 @@
|
|||||||
<entry key="cupertino_icons">
|
<entry key="cupertino_icons">
|
||||||
<value>
|
<value>
|
||||||
<list>
|
<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>
|
</list>
|
||||||
</value>
|
</value>
|
||||||
</entry>
|
</entry>
|
||||||
<entry key="dbus">
|
<entry key="dbus">
|
||||||
<value>
|
<value>
|
||||||
<list>
|
<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>
|
</list>
|
||||||
</value>
|
</value>
|
||||||
</entry>
|
</entry>
|
||||||
@@ -159,14 +159,14 @@
|
|||||||
<entry key="dio">
|
<entry key="dio">
|
||||||
<value>
|
<value>
|
||||||
<list>
|
<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>
|
</list>
|
||||||
</value>
|
</value>
|
||||||
</entry>
|
</entry>
|
||||||
<entry key="dio_web_adapter">
|
<entry key="dio_web_adapter">
|
||||||
<value>
|
<value>
|
||||||
<list>
|
<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>
|
</list>
|
||||||
</value>
|
</value>
|
||||||
</entry>
|
</entry>
|
||||||
@@ -201,7 +201,7 @@
|
|||||||
<entry key="ffi">
|
<entry key="ffi">
|
||||||
<value>
|
<value>
|
||||||
<list>
|
<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>
|
</list>
|
||||||
</value>
|
</value>
|
||||||
</entry>
|
</entry>
|
||||||
@@ -292,42 +292,42 @@
|
|||||||
<entry key="flutter_image_compress">
|
<entry key="flutter_image_compress">
|
||||||
<value>
|
<value>
|
||||||
<list>
|
<list>
|
||||||
<option value="$PROJECT_DIR$/../../../wxl/.pub-cache/hosted/pub.flutter-io.cn/flutter_image_compress-2.4.0/lib" />
|
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/flutter_image_compress-2.4.0/lib" />
|
||||||
</list>
|
</list>
|
||||||
</value>
|
</value>
|
||||||
</entry>
|
</entry>
|
||||||
<entry key="flutter_image_compress_common">
|
<entry key="flutter_image_compress_common">
|
||||||
<value>
|
<value>
|
||||||
<list>
|
<list>
|
||||||
<option value="$PROJECT_DIR$/../../../wxl/.pub-cache/hosted/pub.flutter-io.cn/flutter_image_compress_common-1.0.6/lib" />
|
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/flutter_image_compress_common-1.0.6/lib" />
|
||||||
</list>
|
</list>
|
||||||
</value>
|
</value>
|
||||||
</entry>
|
</entry>
|
||||||
<entry key="flutter_image_compress_macos">
|
<entry key="flutter_image_compress_macos">
|
||||||
<value>
|
<value>
|
||||||
<list>
|
<list>
|
||||||
<option value="$PROJECT_DIR$/../../../wxl/.pub-cache/hosted/pub.flutter-io.cn/flutter_image_compress_macos-1.0.3/lib" />
|
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/flutter_image_compress_macos-1.0.3/lib" />
|
||||||
</list>
|
</list>
|
||||||
</value>
|
</value>
|
||||||
</entry>
|
</entry>
|
||||||
<entry key="flutter_image_compress_ohos">
|
<entry key="flutter_image_compress_ohos">
|
||||||
<value>
|
<value>
|
||||||
<list>
|
<list>
|
||||||
<option value="$PROJECT_DIR$/../../../wxl/.pub-cache/hosted/pub.flutter-io.cn/flutter_image_compress_ohos-0.0.3/lib" />
|
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/flutter_image_compress_ohos-0.0.3/lib" />
|
||||||
</list>
|
</list>
|
||||||
</value>
|
</value>
|
||||||
</entry>
|
</entry>
|
||||||
<entry key="flutter_image_compress_platform_interface">
|
<entry key="flutter_image_compress_platform_interface">
|
||||||
<value>
|
<value>
|
||||||
<list>
|
<list>
|
||||||
<option value="$PROJECT_DIR$/../../../wxl/.pub-cache/hosted/pub.flutter-io.cn/flutter_image_compress_platform_interface-1.0.5/lib" />
|
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/flutter_image_compress_platform_interface-1.0.5/lib" />
|
||||||
</list>
|
</list>
|
||||||
</value>
|
</value>
|
||||||
</entry>
|
</entry>
|
||||||
<entry key="flutter_image_compress_web">
|
<entry key="flutter_image_compress_web">
|
||||||
<value>
|
<value>
|
||||||
<list>
|
<list>
|
||||||
<option value="$PROJECT_DIR$/../../../wxl/.pub-cache/hosted/pub.flutter-io.cn/flutter_image_compress_web-0.1.5/lib" />
|
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/flutter_image_compress_web-0.1.5/lib" />
|
||||||
</list>
|
</list>
|
||||||
</value>
|
</value>
|
||||||
</entry>
|
</entry>
|
||||||
@@ -348,7 +348,7 @@
|
|||||||
<entry key="flutter_inappwebview_internal_annotations">
|
<entry key="flutter_inappwebview_internal_annotations">
|
||||||
<value>
|
<value>
|
||||||
<list>
|
<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>
|
</list>
|
||||||
</value>
|
</value>
|
||||||
</entry>
|
</entry>
|
||||||
@@ -397,7 +397,7 @@
|
|||||||
<entry key="flutter_plugin_android_lifecycle">
|
<entry key="flutter_plugin_android_lifecycle">
|
||||||
<value>
|
<value>
|
||||||
<list>
|
<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>
|
</list>
|
||||||
</value>
|
</value>
|
||||||
</entry>
|
</entry>
|
||||||
@@ -474,7 +474,7 @@
|
|||||||
<entry key="hooks">
|
<entry key="hooks">
|
||||||
<value>
|
<value>
|
||||||
<list>
|
<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>
|
</list>
|
||||||
</value>
|
</value>
|
||||||
</entry>
|
</entry>
|
||||||
@@ -509,7 +509,7 @@
|
|||||||
<entry key="image">
|
<entry key="image">
|
||||||
<value>
|
<value>
|
||||||
<list>
|
<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>
|
</list>
|
||||||
</value>
|
</value>
|
||||||
</entry>
|
</entry>
|
||||||
@@ -537,7 +537,7 @@
|
|||||||
<entry key="image_picker_android">
|
<entry key="image_picker_android">
|
||||||
<value>
|
<value>
|
||||||
<list>
|
<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>
|
</list>
|
||||||
</value>
|
</value>
|
||||||
</entry>
|
</entry>
|
||||||
@@ -551,7 +551,7 @@
|
|||||||
<entry key="image_picker_ios">
|
<entry key="image_picker_ios">
|
||||||
<value>
|
<value>
|
||||||
<list>
|
<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>
|
</list>
|
||||||
</value>
|
</value>
|
||||||
</entry>
|
</entry>
|
||||||
@@ -590,6 +590,20 @@
|
|||||||
</list>
|
</list>
|
||||||
</value>
|
</value>
|
||||||
</entry>
|
</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">
|
<entry key="js">
|
||||||
<value>
|
<value>
|
||||||
<list>
|
<list>
|
||||||
@@ -670,7 +684,7 @@
|
|||||||
<entry key="native_toolchain_c">
|
<entry key="native_toolchain_c">
|
||||||
<value>
|
<value>
|
||||||
<list>
|
<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>
|
</list>
|
||||||
</value>
|
</value>
|
||||||
</entry>
|
</entry>
|
||||||
@@ -684,7 +698,7 @@
|
|||||||
<entry key="objective_c">
|
<entry key="objective_c">
|
||||||
<value>
|
<value>
|
||||||
<list>
|
<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>
|
</list>
|
||||||
</value>
|
</value>
|
||||||
</entry>
|
</entry>
|
||||||
@@ -695,10 +709,17 @@
|
|||||||
</list>
|
</list>
|
||||||
</value>
|
</value>
|
||||||
</entry>
|
</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">
|
<entry key="package_info_plus">
|
||||||
<value>
|
<value>
|
||||||
<list>
|
<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>
|
</list>
|
||||||
</value>
|
</value>
|
||||||
</entry>
|
</entry>
|
||||||
@@ -726,7 +747,7 @@
|
|||||||
<entry key="path_provider_android">
|
<entry key="path_provider_android">
|
||||||
<value>
|
<value>
|
||||||
<list>
|
<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>
|
</list>
|
||||||
</value>
|
</value>
|
||||||
</entry>
|
</entry>
|
||||||
@@ -803,21 +824,21 @@
|
|||||||
<entry key="petitparser">
|
<entry key="petitparser">
|
||||||
<value>
|
<value>
|
||||||
<list>
|
<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>
|
</list>
|
||||||
</value>
|
</value>
|
||||||
</entry>
|
</entry>
|
||||||
<entry key="photo_manager">
|
<entry key="photo_manager">
|
||||||
<value>
|
<value>
|
||||||
<list>
|
<list>
|
||||||
<option value="$PROJECT_DIR$/../../../wxl/.pub-cache/hosted/pub.flutter-io.cn/photo_manager-3.8.3/lib" />
|
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/photo_manager-3.9.0/lib" />
|
||||||
</list>
|
</list>
|
||||||
</value>
|
</value>
|
||||||
</entry>
|
</entry>
|
||||||
<entry key="photo_manager_image_provider">
|
<entry key="photo_manager_image_provider">
|
||||||
<value>
|
<value>
|
||||||
<list>
|
<list>
|
||||||
<option value="$PROJECT_DIR$/../../../wxl/.pub-cache/hosted/pub.flutter-io.cn/photo_manager_image_provider-2.2.0/lib" />
|
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/photo_manager_image_provider-2.2.0/lib" />
|
||||||
</list>
|
</list>
|
||||||
</value>
|
</value>
|
||||||
</entry>
|
</entry>
|
||||||
@@ -845,7 +866,7 @@
|
|||||||
<entry key="posix">
|
<entry key="posix">
|
||||||
<value>
|
<value>
|
||||||
<list>
|
<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>
|
</list>
|
||||||
</value>
|
</value>
|
||||||
</entry>
|
</entry>
|
||||||
@@ -950,14 +971,14 @@
|
|||||||
<entry key="shared_preferences">
|
<entry key="shared_preferences">
|
||||||
<value>
|
<value>
|
||||||
<list>
|
<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>
|
</list>
|
||||||
</value>
|
</value>
|
||||||
</entry>
|
</entry>
|
||||||
<entry key="shared_preferences_android">
|
<entry key="shared_preferences_android">
|
||||||
<value>
|
<value>
|
||||||
<list>
|
<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>
|
</list>
|
||||||
</value>
|
</value>
|
||||||
</entry>
|
</entry>
|
||||||
@@ -978,7 +999,7 @@
|
|||||||
<entry key="shared_preferences_platform_interface">
|
<entry key="shared_preferences_platform_interface">
|
||||||
<value>
|
<value>
|
||||||
<list>
|
<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>
|
</list>
|
||||||
</value>
|
</value>
|
||||||
</entry>
|
</entry>
|
||||||
@@ -1006,7 +1027,7 @@
|
|||||||
<entry key="source_span">
|
<entry key="source_span">
|
||||||
<value>
|
<value>
|
||||||
<list>
|
<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>
|
</list>
|
||||||
</value>
|
</value>
|
||||||
</entry>
|
</entry>
|
||||||
@@ -1027,7 +1048,7 @@
|
|||||||
<entry key="sqflite_android">
|
<entry key="sqflite_android">
|
||||||
<value>
|
<value>
|
||||||
<list>
|
<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>
|
</list>
|
||||||
</value>
|
</value>
|
||||||
</entry>
|
</entry>
|
||||||
@@ -1125,14 +1146,14 @@
|
|||||||
<entry key="url_launcher_android">
|
<entry key="url_launcher_android">
|
||||||
<value>
|
<value>
|
||||||
<list>
|
<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>
|
</list>
|
||||||
</value>
|
</value>
|
||||||
</entry>
|
</entry>
|
||||||
<entry key="url_launcher_ios">
|
<entry key="url_launcher_ios">
|
||||||
<value>
|
<value>
|
||||||
<list>
|
<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>
|
</list>
|
||||||
</value>
|
</value>
|
||||||
</entry>
|
</entry>
|
||||||
@@ -1174,7 +1195,7 @@
|
|||||||
<entry key="uuid">
|
<entry key="uuid">
|
||||||
<value>
|
<value>
|
||||||
<list>
|
<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>
|
</list>
|
||||||
</value>
|
</value>
|
||||||
</entry>
|
</entry>
|
||||||
@@ -1188,21 +1209,21 @@
|
|||||||
<entry key="video_player">
|
<entry key="video_player">
|
||||||
<value>
|
<value>
|
||||||
<list>
|
<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>
|
</list>
|
||||||
</value>
|
</value>
|
||||||
</entry>
|
</entry>
|
||||||
<entry key="video_player_android">
|
<entry key="video_player_android">
|
||||||
<value>
|
<value>
|
||||||
<list>
|
<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>
|
</list>
|
||||||
</value>
|
</value>
|
||||||
</entry>
|
</entry>
|
||||||
<entry key="video_player_avfoundation">
|
<entry key="video_player_avfoundation">
|
||||||
<value>
|
<value>
|
||||||
<list>
|
<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>
|
</list>
|
||||||
</value>
|
</value>
|
||||||
</entry>
|
</entry>
|
||||||
@@ -1220,24 +1241,31 @@
|
|||||||
</list>
|
</list>
|
||||||
</value>
|
</value>
|
||||||
</entry>
|
</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">
|
<entry key="vm_service">
|
||||||
<value>
|
<value>
|
||||||
<list>
|
<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>
|
</list>
|
||||||
</value>
|
</value>
|
||||||
</entry>
|
</entry>
|
||||||
<entry key="wakelock_plus">
|
<entry key="wakelock_plus">
|
||||||
<value>
|
<value>
|
||||||
<list>
|
<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>
|
</list>
|
||||||
</value>
|
</value>
|
||||||
</entry>
|
</entry>
|
||||||
<entry key="wakelock_plus_platform_interface">
|
<entry key="wakelock_plus_platform_interface">
|
||||||
<value>
|
<value>
|
||||||
<list>
|
<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>
|
</list>
|
||||||
</value>
|
</value>
|
||||||
</entry>
|
</entry>
|
||||||
@@ -1251,14 +1279,14 @@
|
|||||||
<entry key="wechat_assets_picker">
|
<entry key="wechat_assets_picker">
|
||||||
<value>
|
<value>
|
||||||
<list>
|
<list>
|
||||||
<option value="$PROJECT_DIR$/../../../wxl/.pub-cache/hosted/pub.flutter-io.cn/wechat_assets_picker-10.1.0/lib" />
|
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/wechat_assets_picker-10.1.1/lib" />
|
||||||
</list>
|
</list>
|
||||||
</value>
|
</value>
|
||||||
</entry>
|
</entry>
|
||||||
<entry key="wechat_picker_library">
|
<entry key="wechat_picker_library">
|
||||||
<value>
|
<value>
|
||||||
<list>
|
<list>
|
||||||
<option value="$PROJECT_DIR$/../../../wxl/.pub-cache/hosted/pub.flutter-io.cn/wechat_picker_library-1.0.7/lib" />
|
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/wechat_picker_library-1.0.7/lib" />
|
||||||
</list>
|
</list>
|
||||||
</value>
|
</value>
|
||||||
</entry>
|
</entry>
|
||||||
@@ -1300,9 +1328,9 @@
|
|||||||
</option>
|
</option>
|
||||||
</properties>
|
</properties>
|
||||||
<CLASSES>
|
<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/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/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-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" />
|
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/cached_network_image_platform_interface-4.1.1/lib" />
|
||||||
@@ -1314,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/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/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/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/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/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/cupertino_icons-1.0.9/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/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/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-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/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-5.9.2/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_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/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-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/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/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-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_linux-0.9.4/lib" />
|
||||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/file_selector_macos-0.9.5/lib" />
|
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/file_selector_macos-0.9.5/lib" />
|
||||||
@@ -1340,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/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_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_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-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_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_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_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_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_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_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_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_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_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" />
|
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/flutter_staggered_grid_view-0.7.0/lib" />
|
||||||
@@ -1358,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/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/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/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/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-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_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/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_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_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-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_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_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_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_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/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/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/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-11.0.2/lib" />
|
||||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/leak_tracker_flutter_testing-3.0.10/lib" />
|
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/leak_tracker_flutter_testing-3.0.10/lib" />
|
||||||
@@ -1386,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/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/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/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/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/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/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-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-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_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_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" />
|
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/path_provider_platform_interface-2.1.2/lib" />
|
||||||
@@ -1405,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_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_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/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/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/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/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/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/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" />
|
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/pull_to_refresh-2.0.0/lib" />
|
||||||
@@ -1424,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_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/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/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-2.5.5/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_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_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_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_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/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/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-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_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_darwin-2.4.2/lib" />
|
||||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/sqflite_platform_interface-2.4.0/lib" />
|
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/sqflite_platform_interface-2.4.0/lib" />
|
||||||
@@ -1448,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/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/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-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_android-6.3.29/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_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_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_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_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_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/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/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-2.11.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_android-2.9.5/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_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_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/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/visibility_detector-0.4.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/vm_service-15.1.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/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/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-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/win32_registry-2.1.0/lib" />
|
||||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/xdg_directories-1.1.0/lib" />
|
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/xdg_directories-1.1.0/lib" />
|
||||||
@@ -1475,16 +1517,6 @@
|
|||||||
<root url="file://$USER_HOME$/flutter/packages/flutter/lib" />
|
<root url="file://$USER_HOME$/flutter/packages/flutter/lib" />
|
||||||
<root url="file://$USER_HOME$/flutter/packages/flutter_test/lib" />
|
<root url="file://$USER_HOME$/flutter/packages/flutter_test/lib" />
|
||||||
<root url="file://$USER_HOME$/flutter/packages/flutter_web_plugins/lib" />
|
<root url="file://$USER_HOME$/flutter/packages/flutter_web_plugins/lib" />
|
||||||
<root url="file://$PROJECT_DIR$/../../../wxl/.pub-cache/hosted/pub.flutter-io.cn/flutter_image_compress-2.4.0/lib" />
|
|
||||||
<root url="file://$PROJECT_DIR$/../../../wxl/.pub-cache/hosted/pub.flutter-io.cn/flutter_image_compress_common-1.0.6/lib" />
|
|
||||||
<root url="file://$PROJECT_DIR$/../../../wxl/.pub-cache/hosted/pub.flutter-io.cn/flutter_image_compress_macos-1.0.3/lib" />
|
|
||||||
<root url="file://$PROJECT_DIR$/../../../wxl/.pub-cache/hosted/pub.flutter-io.cn/flutter_image_compress_ohos-0.0.3/lib" />
|
|
||||||
<root url="file://$PROJECT_DIR$/../../../wxl/.pub-cache/hosted/pub.flutter-io.cn/flutter_image_compress_platform_interface-1.0.5/lib" />
|
|
||||||
<root url="file://$PROJECT_DIR$/../../../wxl/.pub-cache/hosted/pub.flutter-io.cn/flutter_image_compress_web-0.1.5/lib" />
|
|
||||||
<root url="file://$PROJECT_DIR$/../../../wxl/.pub-cache/hosted/pub.flutter-io.cn/photo_manager-3.8.3/lib" />
|
|
||||||
<root url="file://$PROJECT_DIR$/../../../wxl/.pub-cache/hosted/pub.flutter-io.cn/photo_manager_image_provider-2.2.0/lib" />
|
|
||||||
<root url="file://$PROJECT_DIR$/../../../wxl/.pub-cache/hosted/pub.flutter-io.cn/wechat_assets_picker-10.1.0/lib" />
|
|
||||||
<root url="file://$PROJECT_DIR$/../../../wxl/.pub-cache/hosted/pub.flutter-io.cn/wechat_picker_library-1.0.7/lib" />
|
|
||||||
</CLASSES>
|
</CLASSES>
|
||||||
<JAVADOC />
|
<JAVADOC />
|
||||||
<SOURCES />
|
<SOURCES />
|
||||||
|
|||||||
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/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_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/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_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/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/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/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/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/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/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/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/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/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/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/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/url_launcher_windows-3.1.5" />
|
||||||
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/sqflite-2.4.2" />
|
<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_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/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/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/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/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/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/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/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/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/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/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/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/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/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>
|
</CLASSES>
|
||||||
<JAVADOC />
|
<JAVADOC />
|
||||||
<SOURCES />
|
<SOURCES />
|
||||||
|
|||||||
@@ -1,4 +1,13 @@
|
|||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
<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
|
<application
|
||||||
android:label="example"
|
android:label="example"
|
||||||
android:name="${applicationName}"
|
android:name="${applicationName}"
|
||||||
|
|||||||
@@ -22,6 +22,12 @@
|
|||||||
<string>????</string>
|
<string>????</string>
|
||||||
<key>CFBundleVersion</key>
|
<key>CFBundleVersion</key>
|
||||||
<string>$(FLUTTER_BUILD_NUMBER)</string>
|
<string>$(FLUTTER_BUILD_NUMBER)</string>
|
||||||
|
<key>NSCameraUsageDescription</key>
|
||||||
|
<string>示例需要使用相机拍照后上传到 OSS。</string>
|
||||||
|
<key>NSPhotoLibraryUsageDescription</key>
|
||||||
|
<string>示例需要访问相册以选择图片进行上传和预览。</string>
|
||||||
|
<key>NSPhotoLibraryAddUsageDescription</key>
|
||||||
|
<string>示例需要将长按查看的图片保存到系统相册。</string>
|
||||||
<key>LSRequiresIPhoneOS</key>
|
<key>LSRequiresIPhoneOS</key>
|
||||||
<true/>
|
<true/>
|
||||||
<key>UILaunchStoryboardName</key>
|
<key>UILaunchStoryboardName</key>
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
import 'package:flutter_easyloading/flutter_easyloading.dart';
|
||||||
import 'package:flutter_common/flutter_common.dart';
|
import 'package:flutter_common/flutter_common.dart';
|
||||||
import 'package:get/get.dart';
|
import 'package:get/get.dart';
|
||||||
|
|
||||||
@@ -14,6 +15,7 @@ class MyApp extends StatelessWidget {
|
|||||||
return GetMaterialApp(
|
return GetMaterialApp(
|
||||||
title: 'flutter_common Demo',
|
title: 'flutter_common Demo',
|
||||||
debugShowCheckedModeBanner: false,
|
debugShowCheckedModeBanner: false,
|
||||||
|
builder: EasyLoading.init(),
|
||||||
theme: ThemeData(
|
theme: ThemeData(
|
||||||
scaffoldBackgroundColor: const Color(0xFFF5F7FB),
|
scaffoldBackgroundColor: const Color(0xFFF5F7FB),
|
||||||
colorScheme: ColorScheme.fromSeed(seedColor: const Color(0xFF4D6FD5)),
|
colorScheme: ColorScheme.fromSeed(seedColor: const Color(0xFF4D6FD5)),
|
||||||
@@ -36,8 +38,89 @@ class MyHomePage extends StatefulWidget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class _MyHomePageState extends State<MyHomePage> {
|
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 _singleDateText = '未选择';
|
||||||
String _rangeDateText = '未选择';
|
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
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
@@ -52,6 +135,8 @@ class _MyHomePageState extends State<MyHomePage> {
|
|||||||
children: [
|
children: [
|
||||||
_buildIntroCard(),
|
_buildIntroCard(),
|
||||||
const SizedBox(height: 16),
|
const SizedBox(height: 16),
|
||||||
|
_buildImageDemoCard(),
|
||||||
|
const SizedBox(height: 16),
|
||||||
_buildDemoCard(
|
_buildDemoCard(
|
||||||
title: '单日选择组件',
|
title: '单日选择组件',
|
||||||
description: '使用 `CalendarChooseWidget` 的单选模式,适合筛选某一天的数据。',
|
description: '使用 `CalendarChooseWidget` 的单选模式,适合筛选某一天的数据。',
|
||||||
@@ -64,7 +149,7 @@ class _MyHomePageState extends State<MyHomePage> {
|
|||||||
tapAction: (value) {
|
tapAction: (value) {
|
||||||
final startTime = value['startTime'] as DateTime?;
|
final startTime = value['startTime'] as DateTime?;
|
||||||
setState(() {
|
setState(() {
|
||||||
_singleDateText = _formatDate(startTime);
|
_singleDateText = _formatDateWithWeekday(startTime);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
@@ -114,8 +199,8 @@ class _MyHomePageState extends State<MyHomePage> {
|
|||||||
),
|
),
|
||||||
SizedBox(height: 12),
|
SizedBox(height: 12),
|
||||||
Text(
|
Text(
|
||||||
'lib/calendarcalendar 里提供了日期选择相关组件,'
|
'lib/calendarcalendar 提供日期筛选能力,'
|
||||||
'lib/upload_image 聚合图片上传与预览能力,'
|
'lib/upload_image 包含 OSS 上传、图片预览、编辑和下载到相册的能力,'
|
||||||
'lib/utils 则放了日期、弹窗等通用工具。',
|
'lib/utils 则放了日期、弹窗等通用工具。',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontSize: 15,
|
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({
|
Widget _buildDemoCard({
|
||||||
required String title,
|
required String title,
|
||||||
required String description,
|
required String description,
|
||||||
@@ -194,4 +445,50 @@ class _MyHomePageState extends State<MyHomePage> {
|
|||||||
dateTimeUtilsType: DateTimeUtilsType.yearMonthDay,
|
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),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -326,7 +326,7 @@ packages:
|
|||||||
source: path
|
source: path
|
||||||
version: "0.0.1"
|
version: "0.0.1"
|
||||||
flutter_easyloading:
|
flutter_easyloading:
|
||||||
dependency: transitive
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
name: flutter_easyloading
|
name: flutter_easyloading
|
||||||
sha256: ba21a3c883544e582f9cc455a4a0907556714e1e9cf0eababfcb600da191d17c
|
sha256: ba21a3c883544e582f9cc455a4a0907556714e1e9cf0eababfcb600da191d17c
|
||||||
|
|||||||
@@ -39,6 +39,7 @@ dependencies:
|
|||||||
image_editor_plus: ^1.0.6
|
image_editor_plus: ^1.0.6
|
||||||
get: ^4.6.5
|
get: ^4.6.5
|
||||||
dio: ^5.9.0
|
dio: ^5.9.0
|
||||||
|
flutter_easyloading: ^3.0.5
|
||||||
image_picker: ^1.1.0 #相册单选
|
image_picker: ^1.1.0 #相册单选
|
||||||
# native_exif: ^0.6.2
|
# native_exif: ^0.6.2
|
||||||
# exif: ^3.3.0
|
# exif: ^3.3.0
|
||||||
|
|||||||
@@ -83,38 +83,44 @@ class _CalendarChooseWidgetState extends State<CalendarChooseWidget> {
|
|||||||
String get dealTimeString {
|
String get dealTimeString {
|
||||||
String? time = "";
|
String? time = "";
|
||||||
if (endTime == null) {
|
if (endTime == null) {
|
||||||
time = DateTimeUtils.dateTimeUtilsTool(
|
time = _formatDisplayDate(startTime);
|
||||||
dateTime: startTime.toString(),
|
|
||||||
dateTimeUtilsType:
|
|
||||||
widget.dateTimeUtilsType ?? DateTimeUtilsType.yearMonthDay,
|
|
||||||
);
|
|
||||||
} else if (endTime == startTime) {
|
} else if (endTime == startTime) {
|
||||||
time = DateTimeUtils.dateTimeUtilsTool(
|
time = _formatDisplayDate(startTime);
|
||||||
dateTime: startTime.toString(),
|
|
||||||
dateTimeUtilsType:
|
|
||||||
widget.dateTimeUtilsType ?? DateTimeUtilsType.yearMonthDay,
|
|
||||||
);
|
|
||||||
} else {
|
} else {
|
||||||
time = "${DateTimeUtils.dateTimeUtilsTool(
|
time =
|
||||||
dateTime: startTime.toString(),
|
"${_formatDisplayDate(startTime)} - ${_formatDisplayDate(endTime)}";
|
||||||
dateTimeUtilsType:
|
|
||||||
widget.dateTimeUtilsType ?? DateTimeUtilsType.yearMonthDay,
|
|
||||||
)} - ${DateTimeUtils.dateTimeUtilsTool(
|
|
||||||
dateTime: endTime.toString(),
|
|
||||||
dateTimeUtilsType:
|
|
||||||
widget.dateTimeUtilsType ?? DateTimeUtilsType.yearMonthDay,
|
|
||||||
)}";
|
|
||||||
}
|
}
|
||||||
return time;
|
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() {
|
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) {
|
if (widget.chooseIndex == 1) {
|
||||||
ToastUtils.showBottomSheet(
|
ToastUtils.showBottomSheet(
|
||||||
context: context,
|
context: context,
|
||||||
title: '选择时间',
|
title: '选择时间',
|
||||||
height: MediaQuery.of(context).size.height / 2,
|
height: singlePickerHeight,
|
||||||
isShowConfirm: true,
|
isShowConfirm: true,
|
||||||
contentWidget: CustomDatePicker(
|
contentWidget: CustomDatePicker(
|
||||||
initialDate: DateTime.now(),
|
initialDate: DateTime.now(),
|
||||||
@@ -131,7 +137,7 @@ class _CalendarChooseWidgetState extends State<CalendarChooseWidget> {
|
|||||||
ToastUtils.showBottomSheet(
|
ToastUtils.showBottomSheet(
|
||||||
context: context,
|
context: context,
|
||||||
title: '选择时间',
|
title: '选择时间',
|
||||||
height: MediaQuery.of(context).size.height / 2,
|
height: rangePickerHeight,
|
||||||
isShowConfirm: true,
|
isShowConfirm: true,
|
||||||
contentWidget: CustomCalendarRangePickerWidget(
|
contentWidget: CustomCalendarRangePickerWidget(
|
||||||
firstDate: DateTime(DateTime.now().year - 2),
|
firstDate: DateTime(DateTime.now().year - 2),
|
||||||
|
|||||||
@@ -867,6 +867,7 @@ class _DayHeaders extends StatelessWidget {
|
|||||||
),
|
),
|
||||||
child: GridView.custom(
|
child: GridView.custom(
|
||||||
shrinkWrap: true,
|
shrinkWrap: true,
|
||||||
|
padding: EdgeInsets.zero,
|
||||||
gridDelegate: _monthItemGridDelegate,
|
gridDelegate: _monthItemGridDelegate,
|
||||||
childrenDelegate: SliverChildListDelegate(
|
childrenDelegate: SliverChildListDelegate(
|
||||||
labels,
|
labels,
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
library flutter_common;
|
|
||||||
|
|
||||||
export 'calendarcalendar/calendar_choose_widget.dart';
|
export 'calendarcalendar/calendar_choose_widget.dart';
|
||||||
export 'calendarcalendar/custom_calendar_range_picker_widget.dart';
|
export 'calendarcalendar/custom_calendar_range_picker_widget.dart';
|
||||||
export 'calendarcalendar/custom_date_picker.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';
|
export 'utils/date_utils.dart';
|
||||||
|
|||||||
@@ -11,45 +11,50 @@ import 'package:image_gallery_saver_plus/image_gallery_saver_plus.dart';
|
|||||||
import 'package:permission_handler/permission_handler.dart';
|
import 'package:permission_handler/permission_handler.dart';
|
||||||
|
|
||||||
class DownLoadImageTool {
|
class DownLoadImageTool {
|
||||||
|
|
||||||
// 请求照片库权限
|
// 请求照片库权限
|
||||||
static Future<bool> requestPhotoPermission() async {
|
static Future<bool> requestPhotoPermission() async {
|
||||||
// 检查当前权限状态
|
PermissionStatus status;
|
||||||
// var status = await Permission.photos.status;
|
if (Platform.isIOS) {
|
||||||
var status = await Permission.storage.request();
|
status = await Permission.photosAddOnly.request();
|
||||||
if (status.isDenied) {
|
} else {
|
||||||
// 请求权限
|
|
||||||
status = await Permission.photos.request();
|
status = await Permission.photos.request();
|
||||||
|
}
|
||||||
|
|
||||||
// 如果用户拒绝了权限,可以显示一个解释
|
|
||||||
if (status.isPermanentlyDenied) {
|
if (status.isPermanentlyDenied) {
|
||||||
// 打开应用设置,让用户手动启用权限
|
|
||||||
await openAppSettings();
|
await openAppSettings();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
return status.isGranted;
|
return status.isGranted || status.isLimited;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 或者请求存储权限(适用于Android)
|
// 或者请求存储权限(适用于Android)
|
||||||
static Future<bool> requestStoragePermission() async {
|
static Future<bool> requestStoragePermission() async {
|
||||||
|
if (Platform.isIOS) {
|
||||||
|
return requestPhotoPermission();
|
||||||
|
}
|
||||||
|
|
||||||
if (Platform.isAndroid) {
|
if (Platform.isAndroid) {
|
||||||
// 对于Android 13及以上版本
|
// 对于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();
|
var status = await Permission.photos.request();
|
||||||
if(status == PermissionStatus.denied){
|
if (status.isPermanentlyDenied) {
|
||||||
await requestPhotoPermission();
|
await openAppSettings();
|
||||||
}
|
}
|
||||||
return status.isGranted;
|
return status.isGranted || status.isLimited;
|
||||||
} else {
|
} else {
|
||||||
// 对于Android 13以下版本
|
// 对于Android 13以下版本
|
||||||
var status = await Permission.storage.request();
|
var status = await Permission.storage.request();
|
||||||
|
if (status.isPermanentlyDenied) {
|
||||||
|
await openAppSettings();
|
||||||
|
}
|
||||||
return status.isGranted;
|
return status.isGranted;
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
// iOS使用照片权限
|
|
||||||
return await requestPhotoPermission();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
///保存到相册
|
///保存到相册
|
||||||
@@ -98,10 +103,9 @@ class DownLoadImageTool {
|
|||||||
final result = await ImageGallerySaverPlus.saveImage(
|
final result = await ImageGallerySaverPlus.saveImage(
|
||||||
Uint8List.fromList(response.data),
|
Uint8List.fromList(response.data),
|
||||||
quality: 60,
|
quality: 60,
|
||||||
name: "hello",
|
name: "flutter_common_${DateTime.now().millisecondsSinceEpoch}",
|
||||||
isReturnImagePathOfIOS: true,
|
isReturnImagePathOfIOS: true,
|
||||||
);
|
);
|
||||||
print('=result ============ $result');
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -127,7 +131,6 @@ class DownLoadImageTool {
|
|||||||
EasyLoading.dismiss();
|
EasyLoading.dismiss();
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
EasyLoading.dismiss();
|
EasyLoading.dismiss();
|
||||||
// debugPrint('Error fetching image: $e');
|
// debugPrint('Error fetching image: $e');
|
||||||
|
|||||||
@@ -3,7 +3,9 @@ import 'dart:io';
|
|||||||
import 'package:dio/dio.dart';
|
import 'package:dio/dio.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:flutter/services.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/upload_image/ossUtil.dart';
|
||||||
|
import 'package:flutter_common/utils/toast_utils.dart';
|
||||||
import 'package:get/get.dart';
|
import 'package:get/get.dart';
|
||||||
import 'package:image_editor_plus/image_editor_plus.dart';
|
import 'package:image_editor_plus/image_editor_plus.dart';
|
||||||
import 'package:path_provider/path_provider.dart';
|
import 'package:path_provider/path_provider.dart';
|
||||||
@@ -14,6 +16,7 @@ class LookImagesTool {
|
|||||||
required List<String> listData,
|
required List<String> listData,
|
||||||
int? currentPage,
|
int? currentPage,
|
||||||
void Function(String)? onCallBack,
|
void Function(String)? onCallBack,
|
||||||
|
void Function(String, int)? onEditCallBack,
|
||||||
String? oSSAccessKeyId,
|
String? oSSAccessKeyId,
|
||||||
Function? callBack,
|
Function? callBack,
|
||||||
bool? isShowEdit,
|
bool? isShowEdit,
|
||||||
@@ -31,6 +34,7 @@ class LookImagesTool {
|
|||||||
listData: listData,
|
listData: listData,
|
||||||
currentPage: currentPage,
|
currentPage: currentPage,
|
||||||
onCallBack: onCallBack,
|
onCallBack: onCallBack,
|
||||||
|
onEditCallBack: onEditCallBack,
|
||||||
oSSAccessKeyId: oSSAccessKeyId,
|
oSSAccessKeyId: oSSAccessKeyId,
|
||||||
policy: policy,
|
policy: policy,
|
||||||
callback: callback,
|
callback: callback,
|
||||||
@@ -52,6 +56,7 @@ class LookImagesWidget extends StatefulWidget {
|
|||||||
final String? ossDirectory;
|
final String? ossDirectory;
|
||||||
final String? ossHost;
|
final String? ossHost;
|
||||||
final void Function(String)? onCallBack;
|
final void Function(String)? onCallBack;
|
||||||
|
final void Function(String, int)? onEditCallBack;
|
||||||
final bool? isShowEdit;
|
final bool? isShowEdit;
|
||||||
|
|
||||||
const LookImagesWidget({
|
const LookImagesWidget({
|
||||||
@@ -65,6 +70,7 @@ class LookImagesWidget extends StatefulWidget {
|
|||||||
this.ossDirectory,
|
this.ossDirectory,
|
||||||
this.ossHost,
|
this.ossHost,
|
||||||
this.onCallBack,
|
this.onCallBack,
|
||||||
|
this.onEditCallBack,
|
||||||
this.isShowEdit,
|
this.isShowEdit,
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -73,7 +79,7 @@ class LookImagesWidget extends StatefulWidget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class _LookImagesWidgetState extends State<LookImagesWidget> {
|
class _LookImagesWidgetState extends State<LookImagesWidget> {
|
||||||
List listData = [];
|
List<String> listData = [];
|
||||||
late int currentPage;
|
late int currentPage;
|
||||||
late int initialPage = 0;
|
late int initialPage = 0;
|
||||||
|
|
||||||
@@ -87,9 +93,11 @@ class _LookImagesWidgetState extends State<LookImagesWidget> {
|
|||||||
options: Options(responseType: ResponseType.bytes),
|
options: Options(responseType: ResponseType.bytes),
|
||||||
);
|
);
|
||||||
// 响应成功且数据非空时,直接转为 Uint8List
|
// 响应成功且数据非空时,直接转为 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) {
|
} catch (e) {
|
||||||
print('图片转换失败:$e'); // 捕获网络错误、URL 非法等异常
|
debugPrint('图片转换失败:$e'); // 捕获网络错误、URL 非法等异常
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -143,11 +151,16 @@ class _LookImagesWidgetState extends State<LookImagesWidget> {
|
|||||||
if (uint8List.length < 4) return "bin"; // 无法识别时返回二进制后缀
|
if (uint8List.length < 4) return "bin"; // 无法识别时返回二进制后缀
|
||||||
|
|
||||||
// PNG 头:89 50 4E 47
|
// 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";
|
return "png";
|
||||||
}
|
}
|
||||||
// JPG 头:FF D8 FF
|
// 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";
|
return "jpg";
|
||||||
}
|
}
|
||||||
// MP4 头:00 00 00 18 66 74 79 70
|
// MP4 头:00 00 00 18 66 74 79 70
|
||||||
@@ -169,7 +182,8 @@ class _LookImagesWidgetState extends State<LookImagesWidget> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Uint8List 转临时 File 并且上传到oss并返回访问路径
|
/// 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;
|
if (uint8List.isEmpty) return null;
|
||||||
try {
|
try {
|
||||||
// 1. 获取临时存储目录(跨平台兼容)
|
// 1. 获取临时存储目录(跨平台兼容)
|
||||||
@@ -178,7 +192,8 @@ class _LookImagesWidgetState extends State<LookImagesWidget> {
|
|||||||
String tempPath = tempDir.path;
|
String tempPath = tempDir.path;
|
||||||
|
|
||||||
// 2. 拼接文件路径(可自定义后缀,如 .png、.mp4 等)
|
// 2. 拼接文件路径(可自定义后缀,如 .png、.mp4 等)
|
||||||
File tempFile = File("$tempPath/$fileName.${getExtension(uint8List)}"); // 自动识别后缀(可选)
|
File tempFile =
|
||||||
|
File("$tempPath/$fileName.${getExtension(uint8List)}"); // 自动识别后缀(可选)
|
||||||
|
|
||||||
// 3. 将 Uint8List 写入文件
|
// 3. 将 Uint8List 写入文件
|
||||||
await tempFile.writeAsBytes(uint8List);
|
await tempFile.writeAsBytes(uint8List);
|
||||||
@@ -198,14 +213,29 @@ class _LookImagesWidgetState extends State<LookImagesWidget> {
|
|||||||
// print("上传后的访问路径:$imageUrl");
|
// print("上传后的访问路径:$imageUrl");
|
||||||
return imageUrl;
|
return imageUrl;
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
print("转换临时文件失败:$e");
|
debugPrint("转换临时文件失败:$e");
|
||||||
return null;
|
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
|
@override
|
||||||
void initState() {
|
void initState() {
|
||||||
listData = widget.listData;
|
listData = List<String>.from(widget.listData);
|
||||||
if (widget.currentPage == null) {
|
if (widget.currentPage == null) {
|
||||||
initialPage = 0;
|
initialPage = 0;
|
||||||
currentPage = 0;
|
currentPage = 0;
|
||||||
@@ -220,7 +250,10 @@ class _LookImagesWidgetState extends State<LookImagesWidget> {
|
|||||||
return Scaffold(
|
return Scaffold(
|
||||||
body: Stack(
|
body: Stack(
|
||||||
children: [
|
children: [
|
||||||
PhotoViewGallery.builder(
|
GestureDetector(
|
||||||
|
behavior: HitTestBehavior.translucent,
|
||||||
|
onLongPress: _saveCurrentImage,
|
||||||
|
child: PhotoViewGallery.builder(
|
||||||
itemCount: listData.length,
|
itemCount: listData.length,
|
||||||
pageController: PageController(initialPage: currentPage),
|
pageController: PageController(initialPage: currentPage),
|
||||||
onPageChanged: (index) {
|
onPageChanged: (index) {
|
||||||
@@ -236,24 +269,44 @@ class _LookImagesWidgetState extends State<LookImagesWidget> {
|
|||||||
);
|
);
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
|
),
|
||||||
Positioned(
|
Positioned(
|
||||||
left: 15,
|
left: 15,
|
||||||
top: 50,
|
top: 50,
|
||||||
child: GestureDetector(onTap: () => Get.back(), child: Icon(Icons.arrow_back_ios, color: Colors.white))),
|
child: GestureDetector(
|
||||||
|
onTap: () => Get.back(),
|
||||||
|
child: const Icon(Icons.arrow_back_ios, color: Colors.white),
|
||||||
|
),
|
||||||
|
),
|
||||||
Positioned(
|
Positioned(
|
||||||
right: 15,
|
right: 15,
|
||||||
top: 50,
|
top: 50,
|
||||||
child: GestureDetector(
|
child: GestureDetector(
|
||||||
onTap: () async {
|
onTap: () async {
|
||||||
Uint8List? imageFile = await editImage(url: listData[currentPage]);
|
Uint8List? imageFile =
|
||||||
String? url = await uint8ListToTempFile(imageFile ?? Uint8List(0));
|
await editImage(url: listData[currentPage]);
|
||||||
if(widget.onCallBack != null){
|
if (imageFile == null || imageFile.isEmpty) {
|
||||||
widget.onCallBack!(url??'');
|
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(
|
child: Visibility(
|
||||||
visible: widget.isShowEdit ?? false,
|
visible: widget.isShowEdit ?? false,
|
||||||
child: Icon(Icons.edit, color: Colors.white)))),
|
child: const Icon(Icons.edit, color: Colors.white),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
//图片张数指示器
|
//图片张数指示器
|
||||||
Positioned(
|
Positioned(
|
||||||
left: 0,
|
left: 0,
|
||||||
|
|||||||
@@ -67,16 +67,12 @@ class ToastUtils {
|
|||||||
context: context,
|
context: context,
|
||||||
builder: (BuildContext ctx) {
|
builder: (BuildContext ctx) {
|
||||||
final dialogHeight = height ?? MediaQuery.of(ctx).size.height / 2;
|
final dialogHeight = height ?? MediaQuery.of(ctx).size.height / 2;
|
||||||
final bottomInset = MediaQuery.of(ctx).padding.bottom;
|
|
||||||
return Material(
|
return Material(
|
||||||
type: MaterialType.transparency,
|
type: MaterialType.transparency,
|
||||||
child: Align(
|
child: Align(
|
||||||
alignment: Alignment.bottomCenter,
|
alignment: Alignment.bottomCenter,
|
||||||
child: Container(
|
child: Container(
|
||||||
width: double.infinity,
|
width: double.infinity,
|
||||||
height: dialogHeight,
|
|
||||||
padding: (padding ?? const EdgeInsets.only(bottom: 40))
|
|
||||||
.add(EdgeInsets.only(bottom: bottomInset)),
|
|
||||||
decoration: const BoxDecoration(
|
decoration: const BoxDecoration(
|
||||||
color: Colors.white,
|
color: Colors.white,
|
||||||
borderRadius: BorderRadius.only(
|
borderRadius: BorderRadius.only(
|
||||||
@@ -84,6 +80,12 @@ class ToastUtils {
|
|||||||
topRight: Radius.circular(12),
|
topRight: Radius.circular(12),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
child: SafeArea(
|
||||||
|
top: false,
|
||||||
|
child: SizedBox(
|
||||||
|
height: dialogHeight,
|
||||||
|
child: Padding(
|
||||||
|
padding: padding ?? EdgeInsets.zero,
|
||||||
child: Column(
|
child: Column(
|
||||||
children: [
|
children: [
|
||||||
header ??
|
header ??
|
||||||
@@ -102,8 +104,10 @@ class ToastUtils {
|
|||||||
GestureDetector(
|
GestureDetector(
|
||||||
onTap: () => Navigator.of(ctx).pop(),
|
onTap: () => Navigator.of(ctx).pop(),
|
||||||
child: Container(
|
child: Container(
|
||||||
padding:
|
padding: const EdgeInsets.only(
|
||||||
const EdgeInsets.only(left: 6, right: 10),
|
left: 6,
|
||||||
|
right: 10,
|
||||||
|
),
|
||||||
color: Colors.transparent,
|
color: Colors.transparent,
|
||||||
child: Icon(
|
child: Icon(
|
||||||
Icons.keyboard_arrow_down_rounded,
|
Icons.keyboard_arrow_down_rounded,
|
||||||
@@ -160,6 +164,9 @@ class ToastUtils {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user