It’s unbelievable that simply moving a Flutter project from one computer to another can cause it to not run. In the interests of saving people time, here is the fix.
After moving a project from another computer or even from another folder!
1: Enable dart Support (it will prompt you)
2: Run flutter pub get in terminal in the project root directory
3: Go to Preferences->Language & Frameworks -> Flutter and set the flutter SDK path