-
-
Notifications
You must be signed in to change notification settings - Fork 146
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
[FR]: Configure default image values #437
Labels
wontfix
This will not be worked on
Comments
(not a maintainer) but the default value in As a workaround you can extend the extension MyAssetGenImage on AssetGenImage {
Image myimage() {
return image(filterQuality: FilterQuality.none);
}
} Now you can call |
(as above) |
AlexV525
added
wontfix
This will not be worked on
and removed
enhancement
New feature or request
labels
Jun 18, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there an existing issue for this?
Describe the problem
I'm working with pixel graphics that always require
FilterQuality.none
. Unfortunately, theimage
method on generated assets comes with a generatedFilterQuality.low
, so I have dozens of.image(filterQuality: FilterQuality.none)
littering my code base.Describe the solution
I would love to be able to configure
FilterQuality
, or really any other default parameters, for the generated functions. Ideally it would be added to the configuration file, ie.filterQuality: none
would cause this to be set in the generated files.Additional context
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: