0

Question is simple. we have 2 .pub-cache directories one inside the flutter sdk folder and one in our home directory eg:

/home/path/to/flutter/.pub-cache/

/home/.pub-cache/

what is the difference between these two?

alireza easazade
  • 3,324
  • 4
  • 27
  • 35
  • dart pub add package add to :: /home/.pub-cache/ – bakboem Jan 11 '23 at 14:04
  • When looking for the Package cache, it seems to give priority to looking for the cache in the Flutter directory. If not found, it will check from the Dart cache directory. see [this](https://www.jianshu.com/p/e1bf053ebab2) – bakboem Jan 11 '23 at 14:23

0 Answers0