I deleted a package manually from Dart Package
directory and deleted pubspec.lock
. Now when I do flutter pub get
it does not download that package again. I tried flutter clean
&& flutter pub get
but it's not working as well. Please help I can't build my project now.
You can try to close and then open the editor and try:
flutter clean
flutter packages get
flutter packages upgrade