From the terminal: Run flutter pub get . From Android Studio/IntelliJ: Click Packages get in the action ribbon at the top of pubspec. yaml . From VS Code: Click Get Packages located in right side of the action ribbon at the top of pubspec .
Read moreHow do you get the Flutter pub in VS Code?
Show activity on this post.
Read moreHow do you get the flutter pub in Vscode?
Show activity on this post.
Read moreCan I delete flutter pub-cache?
To clear your system cache with an older SDK, you can manually delete the PUB_CACHE folder .
Read moreHow do I clear my pub-cache?
Delete ~/. pub-cache/hosted and/or ~/. pub-cache/git (for Git dependencies) . This requires running flutter packages to get in all active projects on your machine afterward.
Read moreWhat is pub get?
Get is one of the commands of the pub tool . This command gets all the dependencies listed in the pubspec. yaml file in the current working directory, as well as their transitive dependencies.
Read more