Vaani/pubspec.yaml

240 lines
7 KiB
YAML
Raw Normal View History

2024-08-23 04:21:46 -04:00
name: vaani
description: "Audiobookshelf client"
2024-05-08 05:03:49 -04:00
# The following line prevents the package from being accidentally published to
# pub.dev using `flutter pub publish`. This is preferred for private packages.
publish_to: "none" # Remove this line if you wish to publish to pub.dev
# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
# followed by an optional build number separated by a +.
# Both the version and the builder number may be overridden in flutter
# build by specifying --build-name and --build-number, respectively.
# In Android, build-name is used as versionName while build-number used as versionCode.
# Read more about Android versioning at https://developer.android.com/studio/publish/versioning
# In iOS, build-name is used as CFBundleShortVersionString while build-number is used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
# In Windows, build-name is used as the major, minor, and patch parts
# of the product and file versions while build-number is used as the build suffix.
version: 0.0.55+55
2025-11-24 14:58:57 +08:00
2024-05-08 05:03:49 -04:00
environment:
sdk: ">=3.3.4 <4.0.0"
flutter: 3.32.0
2024-05-08 05:03:49 -04:00
2025-12-22 15:04:04 +08:00
# isar_version: &isar_version ^4.0.0-dev.14 # define the version to be used
2024-05-08 05:03:49 -04:00
# Dependencies specify other packages that your package needs in order to work.
# To automatically upgrade your package dependencies to the latest versions
# consider running `flutter pub upgrade --major-versions`. Alternatively,
# dependencies can be manually updated by changing the version numbers below to
# the latest version available on pub.dev. To see which dependencies have newer
# versions available, run `flutter pub outdated`.
dependencies:
2025-12-09 17:26:04 +08:00
collection: ^1.18.0
flutter:
sdk: flutter
2026-01-04 17:49:05 +08:00
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^1.0.6
# 图标
icons_plus: ^5.0.0
2026-01-13 11:56:49 +08:00
# 自动适配Material和Cupertino
#flutter_platform_widgets: ^9.0.0
2026-01-04 17:49:05 +08:00
# hooks
flutter_hooks: ^0.21.2
# 路由
go_router: ^14.0.2
# 状态管理 hooks
2025-12-22 15:04:04 +08:00
hooks_riverpod: ^2.5.1 # riverpod hooks
riverpod_annotation: ^2.3.5
2026-01-04 17:49:05 +08:00
# json
json_annotation: ^4.9.0
freezed_annotation: ^2.4.1
# 设备信息
device_info_plus: ^11.3.3
# 包信息
package_info_plus: ^8.0.0
# 存储
path: ^1.9.0
path_provider: ^2.1.0
hive_ce: ^2.16.0 # 轻量级且极快的键值数据库
hive_ce_flutter: 2.3.3
file_picker: ^10.0.0 # 文件选择器
archive: ^4.0.5 # 用于编码和解码各种归档和压缩格式的Dart库
# 图片缓存
2024-05-08 05:03:49 -04:00
cached_network_image: ^3.3.1
2026-01-04 17:49:05 +08:00
# flutter_cache_manager: ^3.3.2
# 日志
logging: ^1.2.0
logging_appenders: ^1.3.1
# 骨架屏
shimmer: ^3.0.0
# 滚动列表
2025-12-26 16:12:30 +08:00
super_sliver_list: ^0.4.1
2026-01-04 17:49:05 +08:00
# 上拉刷新 下拉加载
2025-12-30 17:02:28 +08:00
easy_refresh: ^3.4.0
2025-12-09 17:26:04 +08:00
2026-01-04 17:49:05 +08:00
# 音频播放
2025-12-09 17:26:04 +08:00
audio_service: ^0.18.15
2026-01-05 17:29:24 +08:00
# audio_service_win: ^0.0.2
2025-12-09 17:26:04 +08:00
audio_session: ^0.1.23
just_audio: ^0.10.5
2026-01-05 17:29:24 +08:00
just_audio_background:
# TODO Remove git dep when https://github.com/ryanheise/just_audio/issues/912 is closed
git:
url: https://github.com/Dr-Blank/just_audio
ref: media-notification-config
path: just_audio_background
2025-11-19 17:43:04 +08:00
# just_audio_windows: ^0.2.2
2025-12-09 17:26:04 +08:00
just_audio_media_kit: ^2.0.4
media_kit_libs_linux: any
media_kit_libs_windows_audio: any
2026-01-04 17:49:05 +08:00
# 下载
background_downloader: ^9.2.0
2025-12-06 17:50:37 +08:00
2026-01-04 17:49:05 +08:00
# 设置UI
flutter_settings_ui: ^3.0.1
2026-01-06 17:57:51 +08:00
# settings_ui: ^2.0.2
2026-01-04 17:49:05 +08:00
# 权限申请
permission_handler: ^11.3.1
# html显示
flutter_html: ^3.0.0
# 启动URL
url_launcher: ^6.2.6
# 播放进度条
audio_video_progress_bar: ^2.0.2
# 网格布局
flutter_staggered_grid_view: ^0.7.0
# 横向滚动
2024-05-22 02:13:01 -04:00
list_wheel_scroll_view_nls: ^0.0.3
2026-01-04 17:49:05 +08:00
# 滚动
# scroll_loop_auto_scroll: ^0.0.5
# 时长选择器
duration_picker: ^1.2.0
# 下拉选择框
dropdown_search: ^6.0.2
# 动画
flutter_animate: ^4.5.0
2024-05-08 05:03:49 -04:00
lottie: ^3.1.0
2026-01-08 17:49:30 +08:00
# animated_list_plus: ^0.5.2
# animated_theme_switcher: ^2.0.10
2026-01-04 17:49:05 +08:00
# Material Design 3色彩系统的算法和工具
2025-03-25 22:01:16 +05:30
material_color_utilities: ^0.11.1
2026-01-04 17:49:05 +08:00
# 动态色彩方案
dynamic_color: ^1.7.0
2025-12-22 15:04:04 +08:00
2026-01-04 17:49:05 +08:00
# 分享插件
share_plus: ^10.0.2
2026-01-13 11:56:49 +08:00
# chart
# fl_chart: ^1.1.1
2026-01-04 17:49:05 +08:00
# AudiobookShelf SDK
2024-05-08 05:03:49 -04:00
shelfsdk:
2024-09-11 01:13:55 -04:00
path: ./shelfsdk
2026-01-04 17:49:05 +08:00
# 移动端 Android IOS
vibration: ^3.1.3 # 震动
sensors_plus: ^6.0.1 # 访问加速度计、陀螺仪、磁力计和 气压计传感器
# 桌面
window_manager: ^0.5.1 # 窗口管理
tray_manager: ^0.5.2 # 系统托盘
2025-10-22 17:58:29 +08:00
flutter_localizations:
sdk: flutter
2025-12-22 15:04:04 +08:00
2024-05-08 05:03:49 -04:00
dev_dependencies:
flutter_test:
sdk: flutter
2026-01-04 17:49:05 +08:00
flutter_lints: ^5.0.0
custom_lint: ^0.7.0
riverpod_lint: ^2.3.10
# dart代码生成
build_runner: ^2.4.9
#Riverpod代码生成
riverpod_generator: ^2.4.2
2024-05-08 05:03:49 -04:00
freezed: ^2.5.2
json_serializable: ^6.8.0
2026-01-04 17:49:05 +08:00
2026-01-13 11:56:49 +08:00
# hive_ce_generator: ^1.8.1
2026-01-04 17:49:05 +08:00
# 启动图标
flutter_launcher_icons: "^0.14.4"
2024-05-08 05:03:49 -04:00
# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec
# The following section is specific to Flutter packages.
flutter:
# The following line ensures that the Material Icons font is
# included with your application, so that you can use the icons in
# the material Icons class.
uses-material-design: true
# To add assets to your application, add an assets section, like this:
assets:
- assets/
- assets/animations/
- assets/sounds/
- assets/images/
- assets/fonts/
- assets/icon/
2024-05-08 05:03:49 -04:00
# - images/a_dot_burr.jpeg
# - images/a_dot_ham.jpeg
# An image asset can refer to one or more resolution-specific "variants", see
# https://flutter.dev/assets-and-images/#resolution-aware
# For details regarding adding assets from package dependencies, see
# https://flutter.dev/assets-and-images/#from-packages
# To add custom fonts to your application, add a fonts section here,
# in this "flutter" section. Each entry in this list should have a
# "family" key with the font family name, and a "fonts" key with a
# list giving the asset and other descriptors for the font. For
# example:
# fonts:
# - family: Schyler
# fonts:
# - asset: fonts/Schyler-Regular.ttf
# - asset: fonts/Schyler-Italic.ttf
# style: italic
# - family: Trajan Pro
# fonts:
# - asset: fonts/TrajanPro.ttf
# - asset: fonts/TrajanPro_Bold.ttf
# weight: 700
#
# For details regarding fonts from package dependencies,
# see https://flutter.dev/custom-fonts/#from-packages
fonts:
- family: AbsIcons
fonts:
- asset: assets/fonts/AbsIcons.ttf
2025-10-22 17:58:29 +08:00
flutter_intl:
enabled: true
2025-10-29 09:47:50 +08:00
# dart run flutter_launcher_icons
flutter_launcher_icons:
android: false # 如果只为iOS配置可关闭Android
ios: true
image_path: "assets/icon/logo.png" # 你的1024x1024源图标路径
remove_alpha_ios: true # 建议设为true移除透明度符合App Store审核要求[citation:6]