chopper
chopper copied to clipboard
Possible to automate generation of *.chopper.dart files when running a normal flutter build?
it took me a while to figure out how to generate the *.chopper.dart files using the pub run build_runner build command from the FAQ document. Is there a way that this step of generating files can be set up so that it runs automatically as part of the usual flutter buildprocess?
I'd like to avoid committing generated files to my repo and I would prefer to avoid creating a separate .sh script just to run these two commands as part of a singlular build process.
This is not possible, see: https://github.com/flutter/flutter/issues/63323