The short answer
Yes. Rebuilt or re-downloaded automatically when needed.
What is it?
The shared package cache of Dart and Flutter, ~/.pub-cache, holds every package version downloaded by flutter pub get or dart pub get, Git dependencies, and globally activated tools. It is shared by all your projects and typically grows to a few gigabytes.
What happens if you delete it?
Packages are downloaded again the next time each project runs flutter pub get or dart pub get. Globally activated packages (dart pub global activate) have to be activated again.
How to remove it properly
Run dart pub cache clean --force (or flutter pub cache clean) in Terminal, which is the official way to empty this cache; it deletes permanently. Then run flutter pub get in the projects you work on.
Use the tool’s official command: dart pub cache clean
Before you delete it
Note the global tools you use (dart pub global list) before cleaning so you can activate them again.
How MoreRoom helps
MoreRoom recognises this item, shows its real size and when it was last used, and labels it “Safe to remove”. In the free version you can move it to the Trash in one click, with Undo; Pro collects every safe item at once.
When the tool is installed, MoreRoom runs its official command for you (dart pub cache clean) instead of deleting files — and tells you that this step can’t be undone.
Frequently asked questions
Is it safe to delete the Flutter .pub-cache folder?
Yes. Rebuilt or re-downloaded automatically when needed. Packages are downloaded again the next time each project runs flutter pub get or dart pub get. Globally activated packages (dart pub global activate) have to be activated again.
Will Flutter / Dart package cache come back after I delete it?
Yes. Packages are downloaded again the next time each project runs flutter pub get or dart pub get. Globally activated packages (dart pub global activate) have to be activated again.
How do I remove Flutter / Dart package cache properly?
Run dart pub cache clean --force (or flutter pub cache clean) in Terminal, which is the official way to empty this cache; it deletes permanently. Then run flutter pub get in the projects you work on.