Vaani/pubspec.yaml

234 lines
No EOL
6.8 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

name: vaani
description: "Audiobookshelf client"
# 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.54+54
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
# 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:
collection: ^1.18.0
flutter:
sdk: flutter
# 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
# hooks
flutter_hooks: ^0.21.2
# 路由
go_router: ^14.0.2
# 状态管理 hooks
hooks_riverpod: ^2.5.1 # riverpod hooks
riverpod_annotation: ^2.3.5
# 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库
# 图片缓存
cached_network_image: ^3.3.1
# flutter_cache_manager: ^3.3.2
# 日志
logging: ^1.2.0
logging_appenders: ^1.3.1
# 骨架屏
shimmer: ^3.0.0
# 滚动列表
super_sliver_list: ^0.4.1
# 上拉刷新 下拉加载
easy_refresh: ^3.4.0
# 音频播放
audio_service: ^0.18.15
audio_session: ^0.1.23
just_audio: ^0.10.5
# 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
# just_audio_windows: ^0.2.2
just_audio_media_kit: ^2.0.4
media_kit_libs_linux: any
media_kit_libs_windows_audio: any
# 下载
background_downloader: ^9.2.0
# 设置UI
flutter_settings_ui: ^3.0.1
# 权限申请
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
# 横向滚动
list_wheel_scroll_view_nls: ^0.0.3
# 滚动
# scroll_loop_auto_scroll: ^0.0.5
# 时长选择器
duration_picker: ^1.2.0
# 下拉选择框
dropdown_search: ^6.0.2
# 动画
flutter_animate: ^4.5.0
lottie: ^3.1.0
animated_list_plus: ^0.5.2
animated_theme_switcher: ^2.0.10
# Material Design 3色彩系统的算法和工具
material_color_utilities: ^0.11.1
# 动态色彩方案
dynamic_color: ^1.7.0
# 分享插件
share_plus: ^10.0.2
# AudiobookShelf SDK
shelfsdk:
path: ./shelfsdk
# 移动端 Android IOS
vibration: ^3.1.3 # 震动
sensors_plus: ^6.0.1 # 访问加速度计、陀螺仪、磁力计和 气压计传感器
# 桌面
window_manager: ^0.5.1 # 窗口管理
tray_manager: ^0.5.2 # 系统托盘
flutter_localizations:
sdk: flutter
dev_dependencies:
flutter_test:
sdk: flutter
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
freezed: ^2.5.2
json_serializable: ^6.8.0
hive_ce_generator: ^1.8.1
# 启动图标
flutter_launcher_icons: "^0.14.4"
# 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/
# - 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
flutter_intl:
enabled: true
# 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]