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

Doesn't generate assets.gen.dart when there are no assets. #74

Closed
WezSieTato opened this issue Jan 25, 2021 · 1 comment · Fixed by #77
Closed

Doesn't generate assets.gen.dart when there are no assets. #74

WezSieTato opened this issue Jan 25, 2021 · 1 comment · Fixed by #77
Assignees
Milestone

Comments

@WezSieTato
Copy link

I have an app where I use flutter_gen for working with fonts and are no assets. It would be nice to not generate the empty Assets class in such cases. At least parameters like generate_assets, generate_fonts with true at default in the yaml file will be great.

@lcdsmao
Copy link
Member

lcdsmao commented Feb 8, 2021

In the next release, we can disable generate assets via:

flutter_gen:
  assets:
    enabled: false

🙂

@wasabeef wasabeef modified the milestones: 1.4.0, 2.0.0 Feb 8, 2021
@lcdsmao lcdsmao closed this as completed Feb 24, 2021
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

Successfully merging a pull request may close this issue.

3 participants