flutter_gen
flutter_gen copied to clipboard
[FR]: Custom Constants Generate from XML.
Is there an existing issue for this?
- [X] I have searched the existing issues
Describe the problem
Producing our const files in our projects through files like strings.xml is something that can really speed up our development speed.
For example. When we switch to a new project, we could change the data we store under lib/core, which we want to get from the previous project and fill with new information, via xml.
Describe the solution
<?xml version="1.0" encoding="utf-8"?>
<resources>
<cons name="appName" type="string" static=false>App Name HERE</color>
<cons name="consName" type="bool" static=false>true</color>
... like
</resources>
Additional context
No response
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
What is the bridge that requires you to use XML rather than a configuration Dart file? The Dart file would be easy to modify and copy between projects.