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

[FR]: package_parameter_enabled flag in fonts.outputs #357

Open
2 tasks done
tsinis opened this issue Feb 12, 2023 · 0 comments
Open
2 tasks done

[FR]: package_parameter_enabled flag in fonts.outputs #357

tsinis opened this issue Feb 12, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@tsinis
Copy link

tsinis commented Feb 12, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Describe the problem

Thanks for the package! Right now it's only possible to provide package_parameter_enabled for assets, but not fonts. But if the pub-package project only contains fonts but not assets it could be nice to have a package_parameter_enabled flag for fonts too. This will be especially for those devs who don't won't to rely on Text's widget packageName parameter and want to use font family directly.

Describe the solution

package_parameter_enabled flag (optional, default to false), will additionally generate strings with 'packages/<package_name>/<font_family_name>'

Additional context

https://medium.com/flutter-community/including-assets-in-a-flutter-package-dd4a82a38ca9

Code of Conduct

  • I agree to follow this project's Code of Conduct
@tsinis tsinis added the enhancement New feature or request label Feb 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant