pubspec.yaml 4.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. name: ctjt_flutter
  2. description: Flutter项目原型
  3. # The following line prevents the package from being accidentally published to
  4. # pub.dev using `pub publish`. This is preferred for private packages.
  5. publish_to: 'none' # Remove this line if you wish to publish to pub.dev
  6. # The following defines the version and build number for your application.
  7. # A version number is three numbers separated by dots, like 1.2.43
  8. # followed by an optional build number separated by a +.
  9. # Both the version and the builder number may be overridden in flutter
  10. # build by specifying --build-name and --build-number, respectively.
  11. # In Android, build-name is used as versionName while build-number used as versionCode.
  12. # Read more about Android versioning at https://developer.android.com/studio/publish/versioning
  13. # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
  14. # Read more about iOS versioning at
  15. # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
  16. version: 1.0.0+1
  17. environment:
  18. sdk: ">=2.12.0 <3.0.0"
  19. dependencies:
  20. flutter:
  21. sdk: flutter
  22. # The following adds the Cupertino Icons font to your application.
  23. # Use with the CupertinoIcons class for iOS style icons.
  24. cupertino_icons: ^1.0.3 # 图标库
  25. provider: ^6.0.1 # 状态通知
  26. package_info: ^2.0.2 # APP包信息
  27. device_info: ^2.0.2 # 设备信息
  28. sprintf: ^6.0.0 # 字符串格式化
  29. flutter_screenutil: ^5.0.0+2 # 屏幕工具库
  30. dio: ^4.0.0 # 网络请求
  31. fluttertoast: ^8.0.8 # Toast
  32. flutter_html: ^2.1.5 # HTML组件
  33. permission_handler: ^8.1.6 # 权限管理
  34. shared_preferences: ^2.0.8 # 本地储存
  35. vibration: 1.7.4-nullsafety.0 # 震动
  36. r_upgrade: ^0.3.5 # 安装插件
  37. # url_launcher: ^6.0.12 # 超链接跳转
  38. path_provider: ^2.0.5 # 目录信息
  39. # flutter_bugly: ^0.3.3 # Bugly
  40. tencent_trtc_cloud: ^1.2.4 # 腾讯云实时音视频,用于实时音视频互通
  41. tencent_im_sdk_plugin: ^3.5.0 # 腾讯云IM,也是实时语音通话需要依赖,用于串联接听和拨打信令
  42. flutter_styled_toast: ^2.0.0 # 丰富样式的Toast
  43. crypto: ^3.0.1 # 加解密算法库
  44. synchronized: ^3.0.0 # 同步锁
  45. dev_dependencies:
  46. flutter_test:
  47. sdk: flutter
  48. # For information on the generic Dart part of this file, see the
  49. # following page: https://dart.dev/tools/pub/pubspec
  50. # The following section is specific to Flutter.
  51. flutter:
  52. # The following line ensures that the Material Icons font is
  53. # included with your application, so that you can use the icons in
  54. # the material Icons class.
  55. uses-material-design: true
  56. # To add assets to your application, add an assets section, like this:
  57. # assets:
  58. # - images/a_dot_burr.jpeg
  59. # - images/a_dot_ham.jpeg
  60. # An image asset can refer to one or more resolution-specific "variants", see
  61. # https://flutter.dev/assets-and-images/#resolution-aware.
  62. # For details regarding adding assets from package dependencies, see
  63. # https://flutter.dev/assets-and-images/#from-packages
  64. # To add custom fonts to your application, add a fonts section here,
  65. # in this "flutter" section. Each entry in this list should have a
  66. # "family" key with the font family name, and a "fonts" key with a
  67. # list giving the asset and other descriptors for the font. For
  68. # example:
  69. # fonts:
  70. # - family: Schyler
  71. # fonts:
  72. # - asset: fonts/Schyler-Regular.ttf
  73. # - asset: fonts/Schyler-Italic.ttf
  74. # style: italic
  75. # - family: Trajan Pro
  76. # fonts:
  77. # - asset: fonts/TrajanPro.ttf
  78. # - asset: fonts/TrajanPro_Bold.ttf
  79. # weight: 700
  80. #
  81. # For details regarding fonts from package dependencies,
  82. # see https://flutter.dev/custom-fonts/#from-packages