I opened the flutter project I'm working on and find this error message. Code completion is not working, no warning of any sort is displayed if I make mistakes/errors in my code. No red line is drawn under my code if I miss something on the line. In fact, nothing is working both on VS Code and Android studio. I have googled so much, but without solution. Please, I need help resolving this issue. Also if I try to run any flutter code on cmd, like flutter doctor, another cmd will pop up briefly and disappear and the flutter doctor code will not run.
This is also the error: "The Dart Analysis Server server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information."
This is the output message: "[Error - 12:41:57 PM] Restarting server failed Message: Pending response rejected since connection got disposed Code: -32097 "
I've tried restarting the analysis server and it's still showing the error. Please I need help on this issue as the project I'm working on is halted because of this issue.