I am using Windows 10 with VS Code, although I also tested it on PowerShell, and both produced the same result:
After creating a new flutter program, before editing anyt
You can use flutter clean command and then try
flutter clean
flutter run In your terminal
flutter run