Is there a way to change output folder of i18n.dart?
My project has a path dependency package, which has some common widgets for different apps. I'd like to move i18n to sub-package. Is there a way to change the output folder to my_package/lib/generated ?
Thank you
Why not have the my_package/lib/generated import the file instead?
Since my_package has no dependency to my_app, I can only import i18n.dart via relative path. However, in this way, there are some shortcomings:
- IDE may not be able to auto import for me by using OPTION + ENTER.
- if I change file path, I'll have to revise those imports.
That's why I need a way to change output folder or i18n root folder (the folder that contains 'res' and 'lib')
Well, it's a good idea nonetheless. What do you think @long1eu? Could this be configurable, maybe in pubspec.yaml, so that the plugin picks it up automatically?
How about having as option in IDE settings?