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

Add ability to ignore sub-paths #10

Closed
shubhamsinghmutualmobile opened this issue Jul 18, 2024 · 3 comments
Closed

Add ability to ignore sub-paths #10

shubhamsinghmutualmobile opened this issue Jul 18, 2024 · 3 comments

Comments

@shubhamsinghmutualmobile

Please add the ability to ignore some paths inside the assets_path. For example, I might not want to generate asset paths for fonts inside my assets folder, but fonts should be put inside assets because it belongs there.

You can take example from this IntelliJ plugin:
https://plugins.jetbrains.com/plugin/15427-flutterassetsgenerator

@weekitmo
Copy link
Owner

maybe u can do this

flutter_assets:
  assets_path: 
    - assets/images/
    - assets/msic/
  output_path: lib/constants/
  filename: assets.dart
  field_prefix:
  classname: R

Is this the result you wanted?

@shubhamsinghmutualmobile
Copy link
Author

shubhamsinghmutualmobile commented Aug 20, 2024

maybe u can do this

flutter_assets:
  assets_path: 
    - assets/images/
    - assets/msic/
  output_path: lib/constants/
  filename: assets.dart
  field_prefix:
  classname: R

Is this the result you wanted?

Thank you, yes this is what I needed ✅ Could you please just add this example in the README?

@shubhamsinghmutualmobile
Copy link
Author

We can close this issue now 👍

weekitmo pushed a commit that referenced this issue Aug 20, 2024
ISSUES CLOSED: #10, #12
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