加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
pubspec.yaml 4.32 KB
一键复制 编辑 原始数据 按行查看 历史
江沨 提交于 2021-02-07 11:24 . 数据比对
name: flutterdemo
description: A new Flutter application.
# 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.9
environment:
sdk: ">=2.7.0 <3.0.0"
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.2
english_words: ^3.1.5
fluttertoast: ^7.1.6
shared_preferences: 0.5.12+4
http: ^0.12.2
dio: ^3.0.10
sqflite: 1.3.2+3
connectivity: 2.0.2
# json_serializable: 3.3.0
# json_annotation: 3.0.1
# azlistview: 0.1.2
lpinyin: 1.1.1
bdmap_location_flutter_plugin:
path: plugins/bdmap_location_flutter_plugin
battery_plugin:
path: plugins/battery_plugin
permission_handler: 5.1.0+2
#二维码扫描
# barcode_scan: ^3.0.1
# qrcode_reader: ^0.4.4
qrscan: 0.2.22
date_format: 1.0.9
url_launcher: 5.7.10
rxdart: 0.24.0
event_bus: 1.1.1
path_provider: 1.6.27
image_picker: 0.6.7+22
webview_flutter: 1.0.7
# flutter_bmfmap: 1.0.0
# camera: 0.5.8+2
package_info: 0.4.3+4
device_info: 1.0.0
# local_auth: 0.6.2+3
# bugly_plugin:
# git:
# url: https://gitee.com/jiangzhuqingfeng/bugly_plugin.git
# flutter_bugly: 0.2.8
flutter_screenutil: 4.0.3+1
flutter_swiper: 1.1.6 #banner
video_player: 1.0.1
# audioplayers: 0.15.1
auto_orientation: 1.0.6
screen: 0.0.5
# common_utils: 1.2.1
mqtt_client: 8.2.0
flutter_local_notifications: 4.0.0
firebase_auth: 0.20.0+1
flutter_bloc: 6.1.1
flutter_blue: 0.7.3
flutter_image_compress: ^0.7.0 #图片压缩
device_preview: 0.5.5
retrofit: 1.3.4+1
logger: 0.9.4
bugly_plugin:
git:
url: https://gitee.com/jiangzhuqingfeng/bugly_plugin.git
charts_flutter: ^0.9.0 #图表
# 开发环境依赖的工具包(而不是flutter应用本身依赖的包)。
dev_dependencies:
flutter_test:
sdk: flutter
# 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:
- assets/images/icon_car.png
- assets/images/icon_floor.png
- assets/images/icon_apple.png
- assets/images/img_screen.png
- assets/data/china.json
- assets/video1.mp4
fonts:
- family: AliIcons
fonts:
- asset: assets/icons/iconfont.ttf
# 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 助手
尝试更多
代码解读
代码找茬
代码优化