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
Looks like you are running flutter run command from a different directory (maybe parent directory).
Try running flutter run command from the project directory.