Files
Aq-Accounting-Flutter/pubspec.yaml
T
2026-09-24 14:24:34 +08:00

117 lines
4.5 KiB
YAML

name: qiangbao_accounting
description: "A new Flutter project."
# 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.0+1
environment:
sdk: ^3.13.3
# 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
flutter_riverpod: ^3.0.0
dio: ^5.8.0
image_picker: ^1.2.0
shared_preferences: ^2.3.0
intl: ^0.20.0
fl_chart: ^1.2.0
flutter_markdown_plus: ^1.0.12
flutter_svg: ^2.3.0
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^6.0.0
# 图标生成:配好下面的 flutter_launcher_icons 段后执行
# python tools/make_app_icon.py # 先从素材生成 assets/icon/app_icon*.png
# dart run flutter_launcher_icons # 再铺开成 Android/iOS/Web 各尺寸
flutter_launcher_icons: ^0.14.0
flutter:
uses-material-design: true
assets:
- assets/images/
# 双色图标集,由 tools/make_icons.py 生成(改形状/配色改脚本再重跑,
# 不要手工编辑 assets/icons/ 下的文件)
- assets/icons/
# To add assets to your application, add an assets section, like this:
# assets:
# - 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/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
# ---------------------------------------------------------------------------
# App 图标配置(执行 `dart run flutter_launcher_icons` 生效)
# 源图由 tools/make_app_icon.py 生成,改图标请先替换素材再跑这两个命令
# ---------------------------------------------------------------------------
flutter_launcher_icons:
android: true
ios: true
image_path: "assets/icon/app_icon.png"
# Android 8+ 自适应图标:背景层用纯色,前景层是透明底的熊头
adaptive_icon_background: "#FFF6EC"
adaptive_icon_foreground: "assets/icon/app_icon_fg.png"
# iOS 图标不允许带透明通道,否则上架报 ITMS-90717
remove_alpha_ios: true
web:
generate: true
image_path: "assets/icon/app_icon.png"
background_color: "#FFF6EC"
theme_color: "#C8956E"