Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Flutter - Overridden dependencies

After running "flutter pub get", I got this error:

Warning: You are using these overridden dependencies:

! path 1.6.4

like image 959
KAMDeveloper Avatar asked Nov 19 '20 10:11

KAMDeveloper


1 Answers

That's not an issue. That happens because you (or any other transitive dependency) may be overriding some dependency that you are already using. For example, if you are using path: 0.X.X and some other dependency use dependency_overrides to make sure that is using path: 1.6.4, it will present you that message.

Overall, you shouldn't have to worry with that and sometimes it is actually required in order to some dependencies work all together.

like image 132
Miguel Ruivo Avatar answered Sep 20 '22 09:09

Miguel Ruivo