-
Notifications
You must be signed in to change notification settings - Fork 26.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to remove installed packages that no longer needed? #24733
Comments
Packages you add to If you remove a package from You can investigate transitive dependencies using You can delete packages from Please consider asking support questions in one of the other channels listed at http://flutter.io/support . |
It took me more than 3 days to try all differently way. But finally I found, you need to go into the "pubspec.lock" file. Then go to the library and change the version there. Then go back to the file "pubspec.yaml" and run Packages get and it succeeds. |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
for example, I just installed the "http" package with:
That's great, super easy.
but what if I don't need it anymore? I want to remove it from my project. following is what I have done.
but the http package is still available in my code. What else I need to do, please?
The text was updated successfully, but these errors were encountered: