Is there a way to run a single file with a main function without having to compile the entire app?
I want to be able to test snippets of code, even when the projects as a whole is not compiling.
I have created a main_scraps.dart file with a main() method in it and target this file when running, but since it compiles the entire project it will never run.
Can I run one file in a project or should I use dartpad or a new project to do so?