-2

How to clean cache of flutter project?

Zoraiz Ejaz
  • 127
  • 11

3 Answers3

1

You can run "flutter clean" in terminal it will remove the cached build folder

0

Use this command in terminal "flutter clean"

Zoraiz Ejaz
  • 127
  • 11
0
flutter pub cache repair  

should do what you want.

The pub cache command works with the system cache.

The pub cache repair command performs a clean reinstall of all hosted and git packages in the system cache.

source

lenz
  • 2,193
  • 17
  • 31