How do I get rid of flutter pub?

If a packages in your pub cache to change or break, you can use flutter pub cache repair command performs a clean reinstall of all hosted and git packages in the system cache. Show activity on this post. Delete the pubspec. lock file then run the command flutter pub get again .

Read more

What is pub tool?

Pub is the package manager for the Dart programming language, containing reusable libraries & packages for Flutter, AngularDart, and general Dart programs . Some basic command: Use pub get to get dependencies. Use pub upgrade to upgrade a dependency.

Read more