Files
kitchen/pubspec.yaml
2026-04-22 10:09:18 +08:00

248 lines
7.7 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: mom_kitchen
description: "小妈厨房."
# 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.1+26042102
environment:
sdk: ^3.9.2
# 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
# Internationalization support
flutter_localizations:
sdk: flutter
dio: ^5.9.2
dio_cache_interceptor: ^3.5.0
dio_cache_interceptor_file_store: ^1.2.3
platform_info: ^5.0.0
intl: ^0.20.2
pretty_dio_logger: ^1.4.0
logger: ^2.7.0
uuid: ^4.5.1
collection: ^1.18.0
catcher_2: ^2.1.9
get:
git:
url: "https://gitcode.com/openharmony-sig/fluttertpc_get"
flutter_adaptive_scaffold:
git:
url: "https://gitcode.com/openharmony-tpc/flutter_packages.git"
path: "packages/flutter_adaptive_scaffold"
shared_preferences:
git:
url: "https://gitcode.com/openharmony-tpc/flutter_packages.git"
path: "packages/shared_preferences/shared_preferences"
# go_router:
# git:
# url: https://gitcode.com/openharmony-tpc/flutter_packages.git
# path: packages/go_router
# go_router_builder:
# git:
# url: https://gitcode.com/openharmony-tpc/flutter_packages.git
# path: packages/go_router_builder
# orientation:
# git:
# url: https://gitcode.com/openharmony-sig/fluttertpc_orientation.git
animations:
git:
url: https://gitcode.com/openharmony-sig/flutter_packages.git
path: "packages/animations"
ref: br_animations-v2.0.11_ohos
fluttertoast:
path: packages/fluttertoast
fl_chart:
path: packages/fl_chart
badges:
path: packages/badges
file_picker_ohos:
path: packages/file_picker
pigeon:
git:
url: "https://gitcode.com/openharmony-sig/flutter_packages.git"
path: "packages/pigeon"
share_plus:
git:
url: https://gitcode.com/openharmony-sig/flutter_plus_plugins.git
path: packages/share_plus/share_plus
ref: br_share_plus-v10.1.1_ohos
connectivity_plus:
git:
url: https://gitcode.com/openharmony-sig/flutter_plus_plugins.git
path: packages/connectivity_plus/connectivity_plus
package_info_plus:
git:
url: https://gitcode.com/openharmony-sig/flutter_plus_plugins.git
path: packages/package_info_plus/package_info_plus
ref: br_package_info_plus-v8.1.0_ohos
permission_handler:
git:
url: https://gitcode.com/openharmony-sig/flutter_permission_handler.git
path: permission_handler
ref: br_permission_handler_v11.3.1_ohos
device_info_plus:
git:
url: https://gitcode.com/openharmony-sig/flutter_plus_plugins.git
path: packages/device_info_plus/device_info_plus
mobile_scanner:
path: packages/mobile_scanner
flutter_staggered_grid_view:
path: packages/flutter_staggered_grid_view
cached_network_image:
path: packages/cached_network_image/cached_network_image
flutter_card_swiper:
path: packages/flutter_card_swiper
# flutter_screenutil:
# path: packages/flutter_screenutil
url_launcher:
git:
url: https://gitcode.com/openharmony-tpc/flutter_packages.git
path: "packages/url_launcher/url_launcher"
path_provider:
git:
url: "https://gitcode.com/openharmony-sig/flutter_packages.git"
path: "packages/path_provider/path_provider"
ref: master
hive_ce: ^2.11.0
qr:
path: packages/qr
mailer:
path: packages/mailer
flutter_markdown_plus:
path: packages/flutter_markdown_plus
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^6.0.0
build_runner: ^2.4.13
dependency_overrides:
path_provider:
git:
url: "https://gitcode.com/openharmony-sig/flutter_packages.git"
path: "packages/path_provider/path_provider"
ref: master
package_info_plus:
git:
url: https://gitcode.com/openharmony-sig/flutter_plus_plugins.git
path: packages/package_info_plus/package_info_plus
ref: br_package_info_plus-v8.1.0_ohos
device_info_plus:
git:
url: https://gitcode.com/openharmony-sig/flutter_plus_plugins.git
path: packages/device_info_plus/device_info_plus
fluttertoast:
path: packages/fluttertoast
mailer:
path: packages/mailer
# For information on the generic Dart part of this file, see the
# 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
# Enable generation of localized strings
generate: true
# To add assets to your application, add an assets section, like this:
assets:
- assets/photos/
- assets/icons/
- assets/json/
- assets/md/tips/
- assets/md/tips/advanced/
- assets/md/tips/learn/
# 字体配置NotoSansSC 子集化版本GB2312 6763字 + 常用符号),从完整版 32MB 缩减至 6.5MB
# 原始字体来源https://github.com/notofonts/noto-cjk/releases
# 子集化工具fontTools pyftsubset
fonts:
- family: NotoSansSC
fonts:
- asset: assets/fonts/NotoSansSC-Regular.otf
- asset: assets/fonts/NotoSansSC-Bold.otf
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
# Icons Launcher configuration