Stack found this candidate but arguments dont match

C++
# You probably accidentally modified Flutter source code.
# You can check by running in your Flutter install dir
git status
# It should report no modifications
# To fix run in your Flutter install dir

git clean -xfd
git stash save --keep-index
git stash drop
git pull
flutter doctor
Source

Also in C++: