124 lines
4.6 KiB
YAML
124 lines
4.6 KiB
YAML
name: swiftcat_downloader
|
|
description: "A beautiful and responsive novel downloader."
|
|
# 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.0.1+202510210
|
|
|
|
environment:
|
|
sdk: ^3.8.1
|
|
|
|
# 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
|
|
flutter_localizations:
|
|
sdk: flutter
|
|
|
|
# UI & 基础
|
|
cupertino_icons: ^1.0.2
|
|
|
|
# 状态管理
|
|
flutter_riverpod: ^2.4.9 # 用于状态管理
|
|
|
|
# 网络与数据处理
|
|
dio: ^5.4.0 # 功能强大的 HTTP 客户端
|
|
crypto: ^3.0.3 # 用于 MD5 签名
|
|
encrypt: ^5.0.3 # 用于 AES 加解密
|
|
archive: ^4.0.7 # 用于处理 ZIP 压缩包
|
|
|
|
# 文件与权限
|
|
path_provider: ^2.1.1 # 获取设备文件系统路径
|
|
file_picker: ^10.2.0 # 允许用户选择保存位置
|
|
file_saver: ^0.3.1 # 用于在web端保存文件
|
|
permission_handler: ^12.0.1 # 处理存储权限 (尤其在 Android)
|
|
open_file: ^3.5.10
|
|
|
|
# 其他工具
|
|
path: ^1.8.3 # 提供了平台无关的路径操作
|
|
flutter_staggered_grid_view: ^0.7.0 # 用于创建复杂的响应式网格布局
|
|
window_size: ^0.1.0
|
|
url_launcher: ^6.0.0
|
|
package_info_plus: ^8.3.0
|
|
device_info_plus: ^11.5.0
|
|
|
|
dev_dependencies:
|
|
flutter_test:
|
|
sdk: flutter
|
|
flutter_lints: ^6.0.0
|
|
change_app_package_name: ^1.5.0
|
|
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/fonts/
|
|
- assets/logo.png
|
|
|
|
# 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: HarmonyOSSansSC
|
|
fonts:
|
|
- asset: assets/fonts/HarmonyOS_Sans_SC_Medium.ttf
|
|
weight: 400
|
|
- asset: assets/fonts/HarmonyOS_Sans_SC_Bold.ttf
|
|
# 700 代表粗体 (bold)
|
|
weight: 700
|
|
#
|
|
# For details regarding fonts from package dependencies,
|
|
# see https://flutter.dev/to/font-from-package
|
|
|
|
flutter_launcher_icons:
|
|
android: "launcher_icon"
|
|
ios: true
|
|
image_path: "assets/logo.png"
|
|
min_sdk_android: 21 # android min sdk min:16, default 21
|
|
web:
|
|
generate: true
|
|
background_color: "#FFFFFF"
|
|
windows:
|
|
generate: true
|
|
icon_size: 64
|
|
background_color: "#FFFFFF"
|
|
macos:
|
|
generate: true
|
|
background_color: "#FFFFFF"
|