pubspec.yaml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. name: twong
  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. dio: ^3.0.9 # 网络
  23. logger: ^0.9.4 # 日志
  24. provider: ^4.3.1 # 状态管理
  25. bot_toast: ^3.0.1 # 弹窗
  26. flutter_swiper: ^1.1.6 # swipe
  27. json_annotation: ^2.0.0 # json
  28. shared_preferences: ^0.5.8 # 存储
  29. flutter_easyrefresh: ^2.1.1 # 刷新列表
  30. flutter_app_upgrade: ^1.1.0 # 升级
  31. flutter_xupdate: ^1.0.0
  32. cached_network_image: ^2.2.0+1 # 网络图片
  33. color_thief_flutter: ^1.0.2 # 取色器
  34. package_info: ^0.4.0+18 # 版本信息
  35. flutter_html: ^1.1.1 # 解析 html
  36. uni_links: ^0.4.0 # url Scheme
  37. flutter_local_notifications: ^3.0.1 # 本地通知
  38. image_picker: ^0.6.7+12 # 上传图片
  39. alipay_kit: ^1.1.0 # alipay
  40. wechat_kit: ^1.1.2 # wechat
  41. photo_view: ^0.10.3 # 全屏看图
  42. sentry: ^3.0.1 # 异常上报
  43. device_info: ^1.0.0 # 设备信息
  44. # The following adds the Cupertino Icons font to your application.
  45. # Use with the CupertinoIcons class for iOS style icons.
  46. cupertino_icons: ^1.0.0
  47. dev_dependencies:
  48. flutter_test:
  49. sdk: flutter
  50. build_runner: ^1.0.0
  51. json_serializable: ^2.0.0
  52. flutter_native_splash: ^0.1.9 # 启动闪屏
  53. # For information on the generic Dart part of this file, see the
  54. # following page: https://dart.dev/tools/pub/pubspec
  55. # The following section is specific to Flutter.
  56. flutter:
  57. # The following line ensures that the Material Icons font is
  58. # included with your application, so that you can use the icons in
  59. # the material Icons class.
  60. uses-material-design: true
  61. assets:
  62. - assets/images/launcher.png
  63. - assets/images/wechat.png
  64. - assets/images/logo.png
  65. - assets/config/area.json
  66. - assets/area.json
  67. fonts:
  68. - family: IconFonts
  69. fonts:
  70. - asset: assets/fonts/iconfont.ttf
  71. - family: HuaWen
  72. fonts:
  73. - asset: assets/fonts/huawen2.ttf
  74. flutter_native_splash:
  75. image: assets/images/splash.png
  76. color: "ffffff"
  77. fill: true