delete .pub-cache code example
Example: flutter pub cache repair stack overflow
git clean -xfd
git stash save --keep-index
git stash drop
git pull
flutter doctor
git clean -xfd
git stash save --keep-index
git stash drop
git pull
flutter doctor