name: hyzp_ybqx
description: HeiYanZhuaPai_qx_name Flutter application .

# The following line prevents the package from being accidentally published to
# pub.dev using `pub publish`. This is preferred for private packages.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev

# 开发人员信息：
# 技术人员: 闵军
# By: ybmj@vip.163.com ,
# QQ: 153248043
# https://www.cnblogs.com/ybmj/

# 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
# 版本名称: 1.2.7  版本号:1
# R:\FlutterProject\FlutterProject33\hyzp_ybqx\lib\components\commonFun.dart
# String dateAppCompile = '2021.05.18'; //1.2.7
# String dateAppCompile = '2021.05.15'; //1.3.1
# 版本号保存在该文件中：r:\FlutterProject\FlutterProject33\hyzp_ybqx\pubspec.yaml
# version: 1.3.1+20210508  +号前面是版本号，+号后面是时间（yyyymmdd 小版本号） 对应 hyzp_ybqx-Commit802-Branch.031
# version: 1.3.0+20210526
# version: 1.3.1+20210527
# version: 1.3.2+20210528
# version: 1.3.4+20210529
# version: 1.3.5+20210530
# version: 1.3.6+20210601
# version: 1.3.7+20210604
# version: 1.3.10+20210604
# version: 1.3.11+20210729
# 关键是在通过接口 App.Car_Upload.Apk 上传新版本 apk 时，ver参数的版本号必须为1.3.12，而不能为1.3.12+20210729
# 否则老版本1.3.10+20210604无法更新。新版本1.3.12+20210729已经解决该问题
# version: 1.3.12+20210729
# version: 1.3.13+20211026
# version: 1.4.1+20211226
# version: 1.4.2+20211227
# version: 1.4.4+20211230
# version: 1.4.6+20211231
# version: 1.4.7+20220101
# version: 1.4.9+20220103
# version: 1.4.10+20220104
# version: 1.4.11+20220106
#version: 1.4.12+20220107
# version: 1.4.13+20220121
# 用下划线编译报错：
# Error on line 53, column 10 of pubspec.yaml: Invalid version number: Could not parse "1.4.14_20220124".
# version: 1.4.14 # 为规范起见，从该版本起取消后面的 +20220124
#version: 1.4.14+20220124 # 無法獲取flutter编译时间，只有通过这种方式获取，所以还是保留后面的 +20220124。
# 上传软件时可以不加后面的 +20220124，否则二维码扫码后无法直接下载
#version: 1.4.15+20220124
#version: 1.4.16+20220126
#version: 1.4.17+20220227
#version: 1.4.18+20220302
#version: 1.4.19+20220303
#version: 1.4.20+20220306
#version: 1.4.21+20220319
#version: 1.4.22+20220320
#version: 1.4.23+20220408
#version: 1.4.26+20220426
#version: 1.4.27+20220426
#version: 1.4.28+20220426
version: 1.4.29+20220502

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.0

  # hyzp_ybqx00_yibin Project Adds
  # fijkplayer: ^0.8.7
  path_provider: ^1.6.14
  #permission_handler: ^3.3.0
  permission_handler: ^5.0.1+1

  flutter_swiper: ^1.1.6
  # flutter_screenutil: ^2.3.1
  flutter_screenutil: ^4.0.3+1
  dio: ^3.0.10
  shared_preferences: ^0.5.12+4
  flutter_inappbrowser: ^1.2.1
  provider: ^4.3.1
  event_bus: ^1.1.1
  fluttertoast: ^4.0.1
  city_pickers: ^0.1.22
  crypto: ^2.1.1

  camera: ^0.5.8+11
  audioplayers: ^0.16.2
  flutter_background_service: ^0.0.1+21
  android_power_manager: ^0.1.6

  encrypt: ^4.1.0
  device_info: ^1.0.0

  # 解决 wechat_assets_picker: ^3.0.0+1 直接依赖冲突报错，可以不用目录依赖方式-OK
  #path_provider: ^0.4.1
  extended_image_library: ^0.2.3

  # wechat_assets_picker: ^3.0.0+1 # 直接依赖有冲突报错，所以采用目录依赖方式。
  # 但是为了便于修改，还是直接采用目录依赖方式简单得多
  # wechat_assets_picker:
  #  path: ./lib/wechat_assets_picker-3.0.0+1/
  # wechat_assets_picker:
  # path: ./lib/my_wechat_assets_picker-3.0.0+1/
  #  wechat_assets_picker:
  #    path: ./lib/my_wechat_assets_picker-4.1.0+1/
  wechat_assets_picker: ^4.1.0+6

  url_launcher: ^5.7.0
  get_it: ^5.0.1
  image_picker: ^0.6.7+22
  cached_network_image: ^2.4.1
  flutter_easyrefresh: ^2.1.8
  photo_view: ^0.10.3
  flustars: ^0.3.3
  keyboard_avoider: ^0.1.2
  scroll_to_index: ^1.0.6
  flutter_drag_scale:
    #git: https://github.com/LiuC520/flutter_drag_scale.git
    git: https://github.com/mjl0602/flutter_drag_scale.git

  # flutter_bmfmap: ^1.0.2
  # 准备使用自定义 flutter_bmfmap: ^1.0.2，以适应IOS版加载文本标识
  # 为 BMFMarker 类增加参数 BitmapDescriptor bitmapDescriptor
  flutter_bmfmap:
    path: ./lib/my_flutter_bmfmap-1.0.2/
  flutter_bmfutils: ^1.0.2
  http: ^0.12.2

  #charts_flutter: ^0.9.0
  fl_chart: ^0.12.3

  flutter_datetime_picker: ^1.5.0

  linked_scroll_controller: ^0.1.2

  #flutter_common_exports: ^0.1.0

  #pinch_zoom_image_last: ^0.3.2 //不好用
  #extended_image: ^2.0.0 #版本冲突
  #Because extended_image >=2.0.0 depends on extended_image_library ^1.0.1 and hyzp_ybqx depends on extended_image_library ^0.2.3, extended_image >=2.0.0 is forbidden.
  #So, because hyzp_ybqx depends on extended_image ^2.0.0, version solving failed.
  #Running "flutter pub get" in hyzp_ybqx...
  #pub get failed (1; So, because hyzp_ybqx depends on extended_image ^2.0.0, version solving failed.)

  # 经多次测试，是插件x5_webview与flutter_downloader冲突
  #x5_webview: ^0.2.4
  #  x5_webview:
  #    path: ./lib/my_x5_webview/


  flutterptcontrol:
    path: ./lib/my_flutterPtControl

  sprintf: ^5.0.0

  ## 处理自动更新
  #  permission_handler: ^5.0.0+hotfix.4
  #  package_info: ^0.4.1
  #  path_provider: ^1.6.11
  open_file: ^3.0.3             # 打开文件
  # 经多次测试，是插件x5_webview与flutter_downloader冲突
  flutter_downloader: ^1.5.2    # 下载文件
  package_info: ^0.4.3+2        # 检测版本号
  progress_dialog: ^1.2.0       # 显示进度对话框
  # app_installer: ^1.1.0          # Flutter 2.12，修复 Android 11 上允许权限后应用重启的问题
  app_installer: ^0.5.0          # Flutter 2.1，修复 Android 11 上允许权限后应用重启的问题，https://pub.dev/packages/app_installer
  # install_plugin: ^2.0.1        # 不行，https://pub.dev/packages/install_plugin

  #flutter_app_badger and flutter_app_icon_badge Not working on android devices of Samsung Galaxy S7 and Samsung Galaxy S10
  #flutter_app_badger: ^1.1.2      # 桌面App图标红点
  #flutter_app_icon_badge: ^1.0.1  # 替代 flutter_app_badger，无效
  badges: ^1.0.3                # App中的图标红点

  flutter_echarts: ^1.5.0
  flutter_superplayer:
    path: .\lib\my_flutter_superplayer

  # 二维码生成 https://pub.dev/packages/qr_flutter
  qr_flutter: ^3.2.0

  # Flutter 保存用户登录历史记录 ai_save_account
  ai_save_account: ^1.0.1

  # 添加水印插件
  disable_screenshots: ^0.1.0

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:
  #   - images/a_dot_burr.jpeg
  #   - images/a_dot_ham.jpeg

  assets:
    - assets/files_icons/
    - assets/fun_icons/
    - assets/images/
    - assets/audio/

  # 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
  fonts:
    - family: myfont
      fonts:
        - asset: assets/font/iconfont.ttf

