Skip to content

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

Closed
urvesh-open wants to merge 2 commits into
FlutterGen:mainfrom
urvesh-open:feature/gen_for_package
Closed

Added 'gen_for_package:true/false' param to support asset generation for a package#213
urvesh-open wants to merge 2 commits into
FlutterGen:mainfrom
urvesh-open:feature/gen_for_package

Conversation

@urvesh-open

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

Copy link
Copy Markdown

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
Copy Markdown
Member

@urvesh-open
Thank you.

Is the pr purpose the same? #162

@urvesh-open

Copy link
Copy Markdown
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
Copy Markdown
Author

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

@wasabeef

wasabeef commented Apr 19, 2022

Copy link
Copy Markdown
Member

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

@urvesh-open

Copy link
Copy Markdown
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
Copy Markdown
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.

2 participants