hive切换hive_ce

This commit is contained in:
rang 2025-12-22 15:04:04 +08:00
parent 3362a254ff
commit 6efa41e035
30 changed files with 1403 additions and 2566 deletions

View file

@ -22,7 +22,7 @@ environment:
sdk: ">=3.3.4 <4.0.0"
flutter: 3.32.0
isar_version: &isar_version ^4.0.0-dev.14 # define the version to be used
# isar_version: &isar_version ^4.0.0-dev.14 # define the version to be used
# Dependencies specify other packages that your package needs in order to work.
# To automatically upgrade your package dependencies to the latest versions
@ -37,8 +37,10 @@ dependencies:
animated_list_plus: ^0.5.2
animated_theme_switcher: ^2.0.10
archive: ^4.0.5
audio_video_progress_bar: ^2.0.2
archive: ^4.0.5 # 用于编码和解码各种归档和压缩格式的Dart库
audio_video_progress_bar: ^2.0.2 # 播放进度条
hooks_riverpod: ^2.5.1 # riverpod hooks
riverpod_annotation: ^2.3.5
# auto_scroll_text: ^0.0.7
background_downloader: ^9.2.0
cached_network_image: ^3.3.1
@ -58,10 +60,11 @@ dependencies:
# font_awesome_flutter: ^10.7.0
freezed_annotation: ^2.4.1
go_router: ^14.0.2
hive: ^4.0.0-dev.2
hooks_riverpod: ^2.5.1
isar: ^4.0.0-dev.14
isar_flutter_libs: ^4.0.0-dev.14
hive_ce: ^2.16.0 # 轻量级且极快的键值数据库
hive_ce_flutter: 2.3.3
# hive: ^4.0.0-dev.2
# isar: ^4.0.0-dev.14
# isar_flutter_libs: ^4.0.0-dev.14
json_annotation: ^4.9.0
audio_service: ^0.18.15
audio_session: ^0.1.23
@ -97,7 +100,7 @@ dependencies:
path: ^1.9.0
path_provider: ^2.1.0
permission_handler: ^11.3.1
riverpod_annotation: ^2.3.5
scroll_loop_auto_scroll: ^0.0.5
sensors_plus: ^6.0.1
share_plus: ^10.0.2
@ -114,6 +117,7 @@ dependencies:
icons_plus: ^5.0.0
# http_cache_client: ^1.0.4
# http_cache_isar_store: ^3.0.0-dev.1
dev_dependencies:
build_runner: ^2.4.9
custom_lint: ^0.7.0
@ -124,6 +128,7 @@ dev_dependencies:
json_serializable: ^6.8.0
riverpod_generator: ^2.4.2
riverpod_lint: ^2.3.10
hive_ce_generator: ^1.8.1
flutter_launcher_icons: "^0.14.4"
# For information on the generic Dart part of this file, see the