189 lines
5.6 KiB
YAML
189 lines
5.6 KiB
YAML
name: cloudreve4_flutter
|
|
description: "CloudreveV4"
|
|
# 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: 1.3.2+3
|
|
|
|
environment:
|
|
sdk: ^3.11.4
|
|
|
|
# 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:
|
|
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.8
|
|
|
|
# 状态管理
|
|
provider: ^6.1.1
|
|
|
|
# 网络请求
|
|
dio: ^5.4.0
|
|
http: ^1.1.0
|
|
|
|
# 本地存储
|
|
shared_preferences: ^2.2.1
|
|
hive: ^2.2.3
|
|
hive_flutter: ^1.1.0
|
|
|
|
# 国际化
|
|
easy_localization: ^3.0.3
|
|
|
|
# UI组件
|
|
photo_view: ^0.14.0
|
|
|
|
# 预览功能
|
|
flutter_cache_manager: ^3.4.1
|
|
cached_network_image: ^3.3.1
|
|
pdfrx: ^2.2.24
|
|
media_kit: ^1.2.6
|
|
media_kit_video: ^2.0.1 # For video rendering.
|
|
media_kit_libs_video: ^1.0.7 # Native video dependencies.
|
|
code_text_field: ^1.1.0
|
|
markdown_widget: ^2.3.2+8
|
|
|
|
# 文件选择
|
|
file_picker: ^8.0.0
|
|
|
|
# 下载
|
|
background_downloader: 9.5.4
|
|
path_provider: ^2.1.1
|
|
permission_handler: ^11.1.0
|
|
url_launcher: ^6.2.1
|
|
open_file: ^3.5.11
|
|
|
|
# 代码高亮
|
|
flutter_highlight: ^0.7.0
|
|
highlight: ^0.7.0
|
|
|
|
# 图标
|
|
flutter_svg: ^2.0.9
|
|
lucide_icons: ^0.257.0
|
|
|
|
# 动画
|
|
animations: ^2.0.11
|
|
|
|
# 其他
|
|
intl: ^0.20.2
|
|
json_annotation: ^4.8.1
|
|
package_info_plus: ^9.0.1
|
|
oktoast: ^3.4.0
|
|
logger: ^2.7.0
|
|
image_picker: ^1.2.2
|
|
qr_flutter: ^4.1.0
|
|
webview_flutter: ^4.13.0
|
|
xml: ^6.6.1
|
|
|
|
# 桌面端
|
|
window_manager: ^0.5.0
|
|
tray_manager: ^0.5.2
|
|
flutter_single_instance: ^1.7.0
|
|
path: ^1.9.1
|
|
flutter_acrylic: ^1.1.4
|
|
crypto: ^3.0.7
|
|
desktop_drop: ^0.7.1
|
|
cross_file: ^0.3.5+2
|
|
freezed_annotation: ^3.1.0
|
|
flutter_rust_bridge: ^2.12.0
|
|
uuid: ^4.5.3
|
|
|
|
dev_dependencies:
|
|
flutter_test:
|
|
sdk: flutter
|
|
|
|
# The "flutter_lints" package below contains a set of recommended lints to
|
|
# encourage good coding practices. The lint set provided by the package is
|
|
# activated in the `analysis_options.yaml` file located at the root of your
|
|
# package. See that file for information about deactivating specific lint
|
|
# rules and activating additional ones.
|
|
flutter_lints: ^6.0.0
|
|
build_runner: ^2.4.7
|
|
json_serializable: ^6.7.1
|
|
flutter_launcher_icons: ^0.13.1
|
|
freezed: ^3.1.0
|
|
|
|
flutter_launcher_icons:
|
|
android: "launcher_icon"
|
|
ios: false
|
|
image_path: "icon_source.png"
|
|
min_sdk_android: 34
|
|
web:
|
|
generate: true
|
|
windows:
|
|
generate: true
|
|
linux:
|
|
generate: true
|
|
|
|
# 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/images/app_logo.png
|
|
- assets/icons/
|
|
fonts:
|
|
- family: SourceCodePro
|
|
fonts:
|
|
- asset: assets/fonts/SourceCodePro-Regular.ttf
|
|
- family: NotoSansSC
|
|
fonts:
|
|
- asset: assets/fonts/NotoSansSC-Medium.ttf
|
|
weight: 500
|
|
- asset: assets/fonts/NotoSansSC-Bold.ttf
|
|
weight: 700
|
|
|
|
# An image asset can refer to one or more resolution-specific "variants", see
|
|
# https://flutter.dev/to/resolution-aware-images
|
|
|
|
# For details regarding adding assets from package dependencies, see
|
|
# https://flutter.dev/to/asset-from-package
|
|
|
|
# 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/to/font-from-package
|