CaiJingLong / kikt-blog-comment

0 stars 0 forks source link

posts/flutter/flutter-depo-conflict/ #6

Open utterances-bot opened 5 years ago

utterances-bot commented 5 years ago

Flutter 依赖冲突解决 | caijinglong的博客

Flutter 依赖冲突解决

https://www.kikt.top/posts/flutter/flutter-depo-conflict/

CaiJingLong commented 5 years ago

关于这个问题还有一个别的解决方案 就是使用dependency_overrides

不过这个方案慎用,因为如果引用的插件间有破坏性修改导致代码不兼容,则会出错

使用示例如下:

name: my_app
dependencies:
  transmogrify: ^1.2.0
dependency_overrides:
  transmogrify:
    path: ../transmogrify_patch/