After updating to MacOS 10.15 Catalina, there are problems with Flutter.
Specifically, Flutter doctor complaints about the following:>
Uninstall and install it again (fe if you are using homebrew).
homebrew
Just run:
brew uninstall cocoapods && brew install cocoapods