how to clear flutter project cache?

Viewed 2450

I am facing issues with my flutter project. Earlier it was working , then I upgraded to the latest version, iOS App build issues occurred,then I downgraded the flutter version many other dependencies issues occurred.

I implemented a command flutter pub cache repair.

Please guide me a similar command to clean all the previous dependencies cache.

Please don't provide flutter clean, I already implemented it.

1 Answers

Delete the pubspec.lock file then run the command flutter pub get again.

Related