pubspec.yaml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. name: sport
  2. description: xie.hiyd.com
  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.3+1
  17. environment:
  18. sdk: ">=2.7.0 <3.0.0"
  19. dependencies:
  20. flutter:
  21. sdk: flutter
  22. flutter_localizations:
  23. sdk: flutter
  24. provider: any # https://github.com/rrousselGit/provider
  25. fluro: ^1.6.3 #路由
  26. dartin: ^0.1.5 #注入 https://github.com/ditclear/dartin
  27. retrofit: any #网络
  28. dio: any #网络
  29. dio_http_cache: any #网络
  30. json_annotation: any #json
  31. logger: any #日志
  32. flutter_blue: ^0.7.2 #蓝牙
  33. buffer: ^1.0.7
  34. permission_handler: ^5.0.1+1 #权限
  35. cached_network_image: 2.2.0+1 # image https://github.com/Baseflow/flutter_cached_network_image
  36. fluttertoast: ^7.0.1 # toast https://github.com/PonnamKarthik/FlutterToast
  37. android_intent: ^0.3.7+4
  38. url_launcher: any
  39. device_apps: ^1.2.0
  40. install_plugin: ^2.0.1
  41. orientation: ^1.2.0
  42. shared_preferences: ^0.5.8 # share_preferences
  43. intl: ^0.16.1 # 格式化日期
  44. # ui view
  45. flutter_easyrefresh: ^2.1.6 #刷新
  46. flutter_staggered_grid_view: ^0.3.2
  47. video_player: ^0.10.12
  48. multi_image_picker: 4.7.14
  49. photo_view: ^0.10.2
  50. image_gallery_saver: ^1.5.0
  51. image_picker: 0.6.7+4 # 读取图片
  52. image_cropper: ^1.0.2 # 裁剪
  53. image_crop: ^0.3.2
  54. extended_nested_scroll_view: ^1.0.1
  55. flutter_spinkit: ^4.1.2 # 优秀的等待动画(菊花哥)
  56. flutter_swiper: ^1.1.6
  57. # social
  58. tencent_kit: any #https://github.com/rxreader/tencent_kit
  59. wechat_kit: any #https://github.com/rxreader/wechat_kit
  60. # path_provider: any
  61. path_provider: ^1.6.11 #路径
  62. package_info: any
  63. device_info: any
  64. flutter_dong_scan: ^1.0.8 # 扫描二维码
  65. qr_flutter: ^3.2.0 # 生成二维码
  66. webview_flutter: ^0.3.24 # WebView
  67. amap_location_fluttify: ^0.17.0
  68. # The following adds the Cupertino Icons font to your application.
  69. # Use with the CupertinoIcons class for iOS style icons.
  70. cupertino_icons: ^0.1.3
  71. dev_dependencies:
  72. flutter_test:
  73. sdk: flutter
  74. retrofit_generator: any
  75. build_runner: ^1.4.0
  76. json_serializable: any
  77. # For information on the generic Dart part of this file, see the
  78. # following page: https://dart.dev/tools/pub/pubspec
  79. # The following section is specific to Flutter.
  80. flutter:
  81. # The following line ensures that the Material Icons font is
  82. # included with your application, so that you can use the icons in
  83. # the material Icons class.
  84. uses-material-design: true
  85. # To add assets to your application, add an assets section, like this:
  86. # assets:
  87. # - images/a_dot_burr.jpeg
  88. # - images/a_dot_ham.jpeg
  89. # An image asset can refer to one or more resolution-specific "variants", see
  90. # https://flutter.dev/assets-and-images/#resolution-aware.
  91. # For details regarding adding assets from package dependencies, see
  92. # https://flutter.dev/assets-and-images/#from-packages
  93. # To add custom fonts to your application, add a fonts section here,
  94. # in this "flutter" section. Each entry in this list should have a
  95. # "family" key with the font family name, and a "fonts" key with a
  96. # list giving the asset and other descriptors for the font. For
  97. # example:
  98. # fonts:
  99. # - family: Schyler
  100. # fonts:
  101. # - asset: fonts/Schyler-Regular.ttf
  102. # - asset: fonts/Schyler-Italic.ttf
  103. # style: italic
  104. # - family: Trajan Pro
  105. # fonts:
  106. # - asset: fonts/TrajanPro.ttf
  107. # - asset: fonts/TrajanPro_Bold.ttf
  108. # weight: 700
  109. #
  110. # For details regarding fonts from package dependencies,
  111. # see https://flutter.dev/custom-fonts/#from-packages
  112. assets:
  113. - lib/assets/img/ # Base 1.0
  114. - lib/assets/json/