问题
I have an idiot question. is it possible to run the build runner in an application compiled for dynamic code generation?
回答1:
In a Flutter application, no.
Flutter apps neither have the ability to dynamically evaluate Dart code, nor do they have access to the tools needed to parse and generate source code.
来源:https://stackoverflow.com/questions/61015321/run-flutter-builder-runner-in-compiled-app