feat:新增防抖工具类

This commit is contained in:
2026-01-23 15:41:31 +08:00
parent d19a49da0d
commit c6a42fa9bb
7 changed files with 299 additions and 64 deletions

View File

@@ -65,6 +65,13 @@
</list>
</value>
</entry>
<entry key="code_assets">
<value>
<list>
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/code_assets-1.0.0/lib" />
</list>
</value>
</entry>
<entry key="collection">
<value>
<list>
@@ -163,6 +170,13 @@
</list>
</value>
</entry>
<entry key="easy_debounce">
<value>
<list>
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/easy_debounce-2.0.3/lib" />
</list>
</value>
</entry>
<entry key="extended_image">
<value>
<list>
@@ -187,7 +201,7 @@
<entry key="ffi">
<value>
<list>
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/ffi-2.1.4/lib" />
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/ffi-2.1.5/lib" />
</list>
</value>
</entry>
@@ -408,6 +422,13 @@
</list>
</value>
</entry>
<entry key="glob">
<value>
<list>
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/glob-2.1.3/lib" />
</list>
</value>
</entry>
<entry key="hand_signature">
<value>
<list>
@@ -415,6 +436,13 @@
</list>
</value>
</entry>
<entry key="hooks">
<value>
<list>
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/hooks-1.0.0/lib" />
</list>
</value>
</entry>
<entry key="html">
<value>
<list>
@@ -474,7 +502,7 @@
<entry key="image_picker_android">
<value>
<list>
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/image_picker_android-0.8.13+10/lib" />
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/image_picker_android-0.8.13+12/lib" />
</list>
</value>
</entry>
@@ -611,6 +639,13 @@
</list>
</value>
</entry>
<entry key="native_toolchain_c">
<value>
<list>
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/native_toolchain_c-0.17.4/lib" />
</list>
</value>
</entry>
<entry key="nested">
<value>
<list>
@@ -618,6 +653,13 @@
</list>
</value>
</entry>
<entry key="objective_c">
<value>
<list>
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/objective_c-9.2.4/lib" />
</list>
</value>
</entry>
<entry key="octo_image">
<value>
<list>
@@ -628,7 +670,7 @@
<entry key="omni_video_player">
<value>
<list>
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/omni_video_player-3.5.3/lib" />
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/omni_video_player-3.7.2/lib" />
</list>
</value>
</entry>
@@ -670,7 +712,7 @@
<entry key="path_provider_foundation">
<value>
<list>
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/path_provider_foundation-2.5.1/lib" />
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/path_provider_foundation-2.6.0/lib" />
</list>
</value>
</entry>
@@ -779,6 +821,13 @@
</list>
</value>
</entry>
<entry key="pub_semver">
<value>
<list>
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/pub_semver-2.2.0/lib" />
</list>
</value>
</entry>
<entry key="pull_to_refresh">
<value>
<list>
@@ -1041,7 +1090,7 @@
<entry key="unicode">
<value>
<list>
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/unicode-1.1.8/lib" />
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/unicode-1.1.9/lib" />
</list>
</value>
</entry>
@@ -1090,7 +1139,7 @@
<entry key="url_launcher_web">
<value>
<list>
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/url_launcher_web-2.4.1/lib" />
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/url_launcher_web-2.4.2/lib" />
</list>
</value>
</entry>
@@ -1132,7 +1181,7 @@
<entry key="video_player_avfoundation">
<value>
<list>
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/video_player_avfoundation-2.8.8/lib" />
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/video_player_avfoundation-2.9.0/lib" />
</list>
</value>
</entry>
@@ -1220,6 +1269,13 @@
</list>
</value>
</entry>
<entry key="yaml">
<value>
<list>
<option value="$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/yaml-3.1.3/lib" />
</list>
</value>
</entry>
<entry key="youtube_explode_dart">
<value>
<list>
@@ -1239,6 +1295,7 @@
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/cached_network_image_web-1.3.1/lib" />
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/characters-1.4.0/lib" />
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/clock-1.1.2/lib" />
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/code_assets-1.0.0/lib" />
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/collection-1.19.1/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" />
@@ -1253,10 +1310,11 @@
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/device_info_plus_platform_interface-7.0.3/lib" />
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/dio-5.9.0/lib" />
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/dio_web_adapter-2.1.1/lib" />
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/easy_debounce-2.0.3/lib" />
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/extended_image-8.3.1/lib" />
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/extended_image_library-4.0.6/lib" />
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/fake_async-1.3.3/lib" />
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/ffi-2.1.4/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/file-7.0.1/lib" />
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/file_selector_linux-0.9.4/lib" />
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/file_selector_macos-0.9.5/lib" />
@@ -1285,7 +1343,9 @@
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/font_awesome_flutter-10.12.0/lib" />
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/freezed_annotation-3.1.0/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/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/html-0.15.6/lib" />
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/http-1.6.0/lib" />
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/http_client_helper-3.0.0/lib" />
@@ -1294,7 +1354,7 @@
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/image_editor_plus-1.0.6/lib" />
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/image_gallery_saver_plus-4.0.1/lib" />
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/image_picker-1.2.1/lib" />
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/image_picker_android-0.8.13+10/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_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_linux-0.2.2/lib" />
@@ -1314,15 +1374,17 @@
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/matrix2d-1.0.4/lib" />
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/meta-1.17.0/lib" />
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/mime-2.0.0/lib" />
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/native_toolchain_c-0.17.4/lib" />
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/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/octo_image-2.1.0/lib" />
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/omni_video_player-3.5.3/lib" />
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/omni_video_player-3.7.2/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_info_plus_platform_interface-3.2.1/lib" />
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/path-1.9.1/lib" />
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/path_provider-2.1.5/lib" />
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/path_provider_android-2.2.22/lib" />
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/path_provider_foundation-2.5.1/lib" />
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/path_provider_foundation-2.6.0/lib" />
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/path_provider_linux-2.2.1/lib" />
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/path_provider_platform_interface-2.1.2/lib" />
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/path_provider_windows-2.3.0/lib" />
@@ -1338,6 +1400,7 @@
<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/provider-6.1.5+1/lib" />
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/pub_semver-2.2.0/lib" />
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/pull_to_refresh-2.0.0/lib" />
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/rational-2.2.3/lib" />
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/reorderables-0.6.0/lib" />
@@ -1374,20 +1437,20 @@
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/test_api-0.7.7/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/unicode-1.1.8/lib" />
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/unicode-1.1.9/lib" />
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/url_launcher-6.3.2/lib" />
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/url_launcher_android-6.3.28/lib" />
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/url_launcher_ios-6.3.6/lib" />
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/url_launcher_linux-3.2.2/lib" />
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/url_launcher_macos-3.2.5/lib" />
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/url_launcher_platform_interface-2.3.2/lib" />
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/url_launcher_web-2.4.1/lib" />
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/url_launcher_web-2.4.2/lib" />
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/url_launcher_windows-3.1.5/lib" />
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/uuid-4.5.2/lib" />
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/vector_math-2.2.0/lib" />
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/video_player-2.10.1/lib" />
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/video_player_android-2.9.1/lib" />
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/video_player_avfoundation-2.8.8/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_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/visibility_detector-0.4.0+2/lib" />
@@ -1400,6 +1463,7 @@
<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/xml-6.6.1/lib" />
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/yaml-3.1.3/lib" />
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/youtube_explode_dart-3.0.5/lib" />
<root url="file://$PROJECT_DIR$/../../flutter/bin/cache/pkg/sky_engine/lib" />
<root url="file://$PROJECT_DIR$/../../flutter/packages/flutter/lib" />

View File

@@ -10,7 +10,6 @@
<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_ios-1.1.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/url_launcher_web-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/package_info_plus-9.0.0" />
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences_web-2.4.3" />
@@ -27,9 +26,7 @@
<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/volume_controller-3.4.1" />
<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_android-0.8.13+10" />
<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/path_provider_foundation-2.5.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/image_picker_for_web-3.1.1" />
<root url="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences_android-2.4.18" />
@@ -43,13 +40,16 @@
<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_ios-0.8.13+3" />
<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/video_player_avfoundation-2.8.8" />
<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/shared_preferences_foundation-2.5.6" />
<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/sqflite-2.4.2" />
<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/sqflite_darwin-2.4.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/url_launcher_web-2.4.2" />
<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/video_player_avfoundation-2.9.0" />
</CLASSES>
<JAVADOC />
<SOURCES />