Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any interest in supporting stencils? #296

Open
pastre opened this issue Sep 19, 2022 · 1 comment
Open

Any interest in supporting stencils? #296

pastre opened this issue Sep 19, 2022 · 1 comment
Milestone

Comments

@pastre
Copy link

pastre commented Sep 19, 2022

swiftgen uses stencils as a very smart way to provide templates to manipulate the generated code. I'd be happy to implement a feature for flutter_get, if the community finds that's the path that the tool should follow

First use case that I found for this is to manipulate how code is generated and add/remove default parameters. For instance, I'm working on a private module for my company, and all images will be in that package. It makes sense to pass the module's name as the default parameter for the package property. Such can be achieved via a messy YAML configuration, but that won't scale or cover future cases

@wasabeef wasabeef added this to the 5.0.1 milestone Sep 29, 2022
@wasabeef
Copy link
Member

@pastre
I've been interested in improving the extensibility of other plugins such as Lottie and SVG, but I haven't been able to start because it seems like a lot of work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants