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

Added 'gen_for_package:true/false' param to support asset generation for a package #213

Closed

Conversation

urvesh-open
Copy link

@urvesh-open urvesh-open commented Apr 11, 2022

Why fix is required?

Currently if we use fluttergen then the asset path generated won't work for packages as it expects assets path from packages/<package_name>/<asset_path>

What is changed/added?

Added flutter package support:

  • By added gen_for_package:true to the fluttergen config it will generate assets with path that can be resolved in a package.

@wasabeef
Copy link
Member

@urvesh-open
Thank you.

Is the pr purpose the same? #162

@urvesh-open
Copy link
Author

@urvesh-open Thank you.

Is the pr purpose the same? #162

Oops. Yes @wasabeef it is solving the same feature request only the way of implementation is different in both the PRs

@urvesh-open
Copy link
Author

@wasabeef do I close this PR? As #162 is resolving same feature request only the implementation is different.

@wasabeef
Copy link
Member

wasabeef commented Apr 19, 2022

@urvesh-open
Thank you.
Can you wait for a while?
I'm thinking about these implementations.

@urvesh-open
Copy link
Author

@urvesh-open Thank you. Can you wait for a while? I'm thinking about these implementations.

Got it. Will keep it open

@wasabeef
Copy link
Member

@urvesh-open
Thank you very much for your PR. But we solved the issue in another way. Please use v4.2.1. 🙏

@wasabeef wasabeef closed this May 30, 2022
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 this pull request may close these issues.

None yet

2 participants