加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
pubspec.yaml 6.09 KB
一键复制 编辑 原始数据 按行查看 历史
name: watch_adapter_app
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 used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
#格式用+号分割,这个的含义在Android中的意思为 versionName+versionCode/buildNumber。IOS的话暂时不知道,不过应该差不多
version: 1.0.0+1
environment:
sdk: ">=2.12.0 <3.0.0"
# 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
# 实现的一组加密哈希函数
crypto: ^3.0.1
# 该软件包包含编码器和解码器,用于在不同的数据表示形式之间进行转换
convert: ^3.0.1
# 一个简单易用的Flutter插件,包含23种loading动画效果、进度条展示、Toast展示。纯Flutter端实现,支持iOS、Android。
flutter_easyloading: ^3.0.3
# flutter_easyloading一般用来展示loading,但是它的toast并不好看,所以这引入更强大的fluttertoast,fluttertoast也是纯Flutter端实现,支持iOS、Android、web(使用Toastify-JS)。
fluttertoast: ^8.0.9
dio: ^4.0.4
# 社区的一个状态管理方案
get: ^4.6.1
# 持久化插件,支持的数据类型是int、double、bool和。StringList<String>
shared_preferences: ^2.0.13
# flutter 屏幕适配方案,让你的UI在不同尺寸的屏幕上都能显示合理的布局!
flutter_screenutil: ^5.3.1
# 上滑下拉插件库
flutter_easyrefresh: ^2.2.1
# 文字跑马灯
marquee: ^2.2.1
# 网络图片缓存库
cached_network_image: ^3.2.0
# 贝壳ui库
bruno: ^2.1.1
# 图表库
syncfusion_flutter_charts: ^20.1.50
# 允许 Flutter 应用程序发现网络连接并进行相应的配置。它可以区分蜂窝连接和 WiFi 连接。
connectivity_plus: ^2.2.1
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^1.0.2
# 提供了一个跨平台(iOS、Android)API 来请求权限并检查其状态。您还可以打开设备的应用设置,以便用户授予权限。
permission_handler: ^9.2.0
# 蓝牙
flutter_blue: ^0.8.0
# 高德地图
amap_flutter_map: ^3.0.0
# 定位
amap_flutter_location: ^3.0.0
amap_flutter_base: ^3.0.0
# 允许使用 iOS 和 Android 设备的内置计步器传感器 API 进行连续计步和行人状态。
pedometer: ^3.0.0
# 检查gps是否开启
gps_connectivity: ^0.0.4
# 用于从应用程序打开 iOS 和 Android 手机设置
app_settings: ^4.1.5
# 查询应用程序包信息的 API,用于查询版本然后升级
package_info_plus: ^1.4.2
# 用于在商店中有更新版本的应用程序时提示用户升级。
r_upgrade: ^0.3.8+1
flutter_update_dialog: ^2.0.0
# 应用开机图
flutter_native_splash: ^2.1.6
# flutter_native_splash设置,详情:https://pub.flutter-io.cn/packages/flutter_native_splash
flutter_native_splash:
color: "#FFFFFF"
image: "lib/assets/img/login/banner.png"
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: ^1.0.0
# 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.
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:
- lib/assets/img/tab/
- lib/assets/img/login/
- lib/assets/img/map/
# An image asset can refer to one or more resolution-specific "variants", see
# https://flutter.dev/assets-and-images/#resolution-aware.
# For details regarding adding assets from package dependencies, see
# https://flutter.dev/assets-and-images/#from-packages
# 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/custom-fonts/#from-packages
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化