pubspec.yaml 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  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: ^4.3.3 # https://github.com/rrousselGit/provider
  25. dartin: ^0.1.5 #注入 https://github.com/ditclear/dartin
  26. fluro: ^1.6.3 #路由
  27. retrofit: any #网络
  28. dio: any #网络
  29. dio_http_cache: any #网络
  30. logger: any #日志
  31. flutter_blue: #蓝牙
  32. path: plugin/flutter_blue-0.7.3
  33. flutter_nordic_dfu: ^2.4.0
  34. buffer: ^1.0.7
  35. permission_handler: ^5.0.1+1 #权限
  36. cached_network_image: 2.2.0+1 # image https://github.com/Baseflow/flutter_cached_network_image
  37. fluttertoast: ^7.0.1 # toast https://github.com/PonnamKarthik/FlutterToast
  38. android_intent: ^0.3.7+4
  39. url_launcher: any
  40. device_apps: ^1.2.0
  41. install_plugin: ^2.0.1
  42. orientation: ^1.2.0
  43. shared_preferences: ^0.5.8 # share_preferences
  44. system_alert_window: ^0.4.2+2
  45. # ui view
  46. flutter_easyrefresh: ^2.1.6 #刷新
  47. flutter_staggered_grid_view: ^0.3.2
  48. video_player: ^0.10.12
  49. photo_view: ^0.10.2
  50. image_gallery_saver: ^1.6.9
  51. images_picker: ^1.0.0
  52. image_crop: ^0.4.0
  53. flutter_image_compress: ^1.0.0-nullsafety
  54. flutter_swiper: ^1.1.6
  55. flutter_rating_bar: ^3.2.0+1
  56. flutter_timeline: ^0.1.1+13
  57. scrollable_positioned_list: ^0.1.10
  58. azlistview: ^1.1.0 # 列表搜索
  59. # social
  60. tencent_kit: 1.1.2 #https://github.com/rxreader/tencent_kit
  61. wechat_kit: 1.1.1 #https://github.com/rxreader/wechat_kit
  62. # path_provider: any
  63. path_provider: ^1.6.11 #路径
  64. package_info: any
  65. device_info: any
  66. qr_flutter: ^3.2.0 # 生成二维码
  67. webview_flutter: ^0.3.24 # WebView
  68. amap_flutter_map:
  69. path: plugin/amap_flutter_map-1.0.2
  70. just_audio: ^0.6.15+1
  71. amap_location:
  72. path: plugin/amap_location
  73. # amap_flutter_location:
  74. # path: plugin/amap_flutter_location-1.0.1
  75. qrscanner: # 扫描二维码
  76. path: plugin/qrscanner
  77. broadcast: # 系统广播
  78. path: plugin/broadcast
  79. pedometer: # https://pub.flutter-io.cn/packages/pedometer
  80. path: plugin/pedometer-2.1.0
  81. extended_nested_scroll_view:
  82. path: plugin/extended_nested_scroll_view-2.0.1
  83. jpush_flutter: 2.0.1
  84. # The following adds the Cupertino Icons font to your application.
  85. # Use with the CupertinoIcons class for iOS style icons.
  86. cupertino_icons: ^1.0.0
  87. sign_in_with_apple: ^3.0.0
  88. dev_dependencies:
  89. flutter_test:
  90. sdk: flutter
  91. retrofit_generator: any
  92. build_runner: any
  93. # For information on the generic Dart part of this file, see the
  94. # following page: https://dart.dev/tools/pub/pubspec
  95. # The following section is specific to Flutter.
  96. flutter:
  97. # The following line ensures that the Material Icons font is
  98. # included with your application, so that you can use the icons in
  99. # the material Icons class.
  100. uses-material-design: true
  101. # To add assets to your application, add an assets section, like this:
  102. # assets:
  103. # - images/a_dot_burr.jpeg
  104. # - images/a_dot_ham.jpeg
  105. # An image asset can refer to one or more resolution-specific "variants", see
  106. # https://flutter.dev/assets-and-images/#resolution-aware.
  107. # For details regarding adding assets from package dependencies, see
  108. # https://flutter.dev/assets-and-images/#from-packages
  109. # To add custom fonts to your application, add a fonts section here,
  110. # in this "flutter" section. Each entry in this list should have a
  111. # "family" key with the font family name, and a "fonts" key with a
  112. # list giving the asset and other descriptors for the font. For
  113. # example:
  114. # fonts:
  115. # - family: Schyler
  116. # fonts:
  117. # - asset: fonts/Schyler-Regular.ttf
  118. # - asset: fonts/Schyler-Italic.ttf
  119. # style: italic
  120. # - family: Trajan Pro
  121. # fonts:
  122. # - asset: fonts/TrajanPro.ttf
  123. # - asset: fonts/TrajanPro_Bold.ttf
  124. # weight: 700
  125. #
  126. # For details regarding fonts from package dependencies,
  127. # see https://flutter.dev/custom-fonts/#from-packages
  128. assets:
  129. - assets/audio/number/
  130. - assets/audio/run/
  131. - lib/assets/img/ # Base 1.0
  132. - lib/assets/json/
  133. fonts:
  134. - family: DIN
  135. fonts:
  136. - asset: fonts/DIN-BOLD.OTF