pubspec.yaml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. name: sport
  2. description: A new Flutter project.
  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.7.0 <3.0.0"
  19. dependencies:
  20. flutter:
  21. sdk: flutter
  22. provider: any # https://github.com/rrousselGit/provider
  23. fluro: ^1.6.3 #路由
  24. dartin: ^0.1.5 #注入 https://github.com/ditclear/dartin
  25. flutter_easyrefresh: ^2.1.1 #刷新
  26. retrofit: any #网络
  27. dio: any #网络
  28. dio_http_cache: any #网络
  29. json_annotation: any #json
  30. logger: any #日志
  31. flutter_blue: ^0.7.2 #蓝牙
  32. permission_handler: ^5.0.1+1 #权限
  33. cached_network_image: 2.2.0+1 # image https://github.com/Baseflow/flutter_cached_network_image
  34. fluttertoast: ^7.0.1 # toast https://github.com/PonnamKarthik/FlutterToast
  35. multi_image_picker: ^4.6.5
  36. charts_flutter: 0.9.0
  37. # The following adds the Cupertino Icons font to your application.
  38. # Use with the CupertinoIcons class for iOS style icons.
  39. cupertino_icons: ^0.1.3
  40. shared_preferences: ^0.5.8 # share_preferences
  41. sy_flutter_wechat: 0.2.2 # wechat 一些功能
  42. intl: ^0.16.1 # 格式化日期
  43. flutter_spinkit: ^4.1.2 # 优秀的等待动画(菊花哥)
  44. flutter_swiper: ^1.1.6
  45. video_player: ^0.10.11+2
  46. android_intent: ^0.3.7+2
  47. flutter_screenutil: any
  48. orientation: ^1.2.0
  49. image_picker: 0.6.7+4 # 读取图片
  50. image_cropper: ^1.0.2 # 裁剪
  51. image_crop: ^0.3.2
  52. dev_dependencies:
  53. flutter_test:
  54. sdk: flutter
  55. retrofit_generator: any
  56. build_runner: ^1.4.0
  57. json_serializable: any
  58. # For information on the generic Dart part of this file, see the
  59. # following page: https://dart.dev/tools/pub/pubspec
  60. # The following section is specific to Flutter.
  61. flutter:
  62. # The following line ensures that the Material Icons font is
  63. # included with your application, so that you can use the icons in
  64. # the material Icons class.
  65. uses-material-design: true
  66. # To add assets to your application, add an assets section, like this:
  67. # assets:
  68. # - images/a_dot_burr.jpeg
  69. # - images/a_dot_ham.jpeg
  70. # An image asset can refer to one or more resolution-specific "variants", see
  71. # https://flutter.dev/assets-and-images/#resolution-aware.
  72. # For details regarding adding assets from package dependencies, see
  73. # https://flutter.dev/assets-and-images/#from-packages
  74. # To add custom fonts to your application, add a fonts section here,
  75. # in this "flutter" section. Each entry in this list should have a
  76. # "family" key with the font family name, and a "fonts" key with a
  77. # list giving the asset and other descriptors for the font. For
  78. # example:
  79. # fonts:
  80. # - family: Schyler
  81. # fonts:
  82. # - asset: fonts/Schyler-Regular.ttf
  83. # - asset: fonts/Schyler-Italic.ttf
  84. # style: italic
  85. # - family: Trajan Pro
  86. # fonts:
  87. # - asset: fonts/TrajanPro.ttf
  88. # - asset: fonts/TrajanPro_Bold.ttf
  89. # weight: 700
  90. #
  91. # For details regarding fonts from package dependencies,
  92. # see https://flutter.dev/custom-fonts/#from-packages
  93. assets:
  94. - lib/assets/img2.x/
  95. - lib/assets/img/ # Base 1.0