name: xxx
description: A new Flutter project.
# 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 used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 1.0.0+1
environment:
sdk: ">=2.1.0 <3.0.0"
dependencies:
provider: ^4.3.1
flutter:
sdk: flutter
flutter项目pubspec.yaml文件
最新推荐文章于 2024-05-06 12:50:52 发布
本文详细介绍了Flutter项目的配置文件pubspec.yaml的作用和用法,包括依赖管理、应用信息设置、自定义资源路径等内容,帮助开发者更好地理解和使用Flutter开发工具。
摘要由CSDN通过智能技术生成