pubspec.yaml 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  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: ^1.0.0 # 日志
  24. provider: ^5.0.0 # 状态管理
  25. bot_toast: ^4.0.1 # 弹窗
  26. flutter_swiper: ^1.1.6 # swipe
  27. json_annotation: ^2.0.0 # json
  28. shared_preferences: ^2.0.5 # 存储
  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.2.0 # 解析 html
  36. uni_links: ^0.4.0 # url Scheme
  37. flutter_local_notifications: ^4.0.1+2 # 本地通知
  38. image_picker: ^0.6.7+12 # 上传图片
  39. alipay_kit: ^2.0.0 # alipay
  40. # wechat_kit: ^1.1.2 # wechat
  41. photo_view: ^0.11.1 # 全屏看图
  42. sentry: ^4.0.6 # 异常上报
  43. device_info: ^2.0.0 # 设备信息
  44. path_provider: ^2.0.1 # 缓存文件管理
  45. fluwx: ^3.4.2
  46. # The following adds the Cupertino Icons font to your application.
  47. # Use with the CupertinoIcons class for iOS style icons.
  48. cupertino_icons: ^1.0.0
  49. dev_dependencies:
  50. flutter_test:
  51. sdk: flutter
  52. json_model: ^0.0.2
  53. build_runner: ^1.0.0
  54. json_serializable: ^2.0.0
  55. flutter_native_splash: ^0.3.2 # 启动闪屏
  56. # For information on the generic Dart part of this file, see the
  57. # following page: https://dart.dev/tools/pub/pubspec
  58. # The following section is specific to Flutter.
  59. flutter:
  60. # The following line ensures that the Material Icons font is
  61. # included with your application, so that you can use the icons in
  62. # the material Icons class.
  63. uses-material-design: true
  64. assets:
  65. - assets/images/
  66. fonts:
  67. - family: IconFonts
  68. fonts:
  69. - asset: assets/fonts/iconfont.ttf
  70. - family: HuaWen
  71. fonts:
  72. - asset: assets/fonts/huawen2.ttf
  73. flutter_native_splash:
  74. image: assets/images/splash.png
  75. color: "ffffff"
  76. fill: true