I've been trying to debug my Windows application, but it doesn't render properly. Meanwhile, the release version of the app works just fine. This is the debug view: Windows app with render problems
Coincidentally, this happened right after I added a main() method to a file other than main.dart.
I tried updating all dependencies, both Flutter and VS Build Tools, plus I ran flutter clean in the terminal, to no avail. Creating a new Flutter project doesn't cause the issue, though. I'm also using this .gitignore file, so checking out previous commits didn't solve the issue: https://github.com/flutter/flutter/blob/master/.gitignore