Skip to content

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

Closed
@tsinis

Description

@tsinis

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions