I tried many time to unistall webview_flutter: ^2.0.13 but still unable to delete it, even I removed it from pupspec, I need to delete it because im getting errors but I still see the package in the flutter plugin folder
CodePudding user response:
If a dependency is removed from the pubspec
and then pub get is run, it removes the dependency from the .packages file
, making the dependency unavailable for importing.
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.
CodePudding user response:
- Flutter pub remove webview_flutter
- flutter pub cache clean