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

[FEAT] [FLUTTER] Have a base class for all icons #423

Open
josencv opened this issue Apr 1, 2024 · 0 comments
Open

[FEAT] [FLUTTER] Have a base class for all icons #423

josencv opened this issue Apr 1, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@josencv
Copy link

josencv commented Apr 1, 2024

Is your feature request related to a problem? Please describe.
In my Flutter app I have Widgets that need configurable icons (e.g. a "label + icon" button). Since the icons are just widgets, I cannot do the following:

  1. I can't restrict a Widget to receive an iconoir icon, not just any widget
  2. I can't configure the properties of the icon from within the widget that received the icon as parameter (for example, I would like to change the color of the icon based on the button state)

Describe the solution you'd like
Have a base class for all icons that exposes the common properties (color, width, height)

Describe alternatives you've considered

  • Downloading the SVGs and manually handle them without using the flutter adapter. I'm still considering it.

Additional context

Upvote & Fund

  • We're using Polar.sh so you can upvote and help fund this issue.
  • We receive the funding once the issue is completed & confirmed by you.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar
@josencv josencv added the enhancement New feature or request label Apr 1, 2024
@josencv josencv changed the title [FEAT] [FLUTTER] Have a base class for al icons [FEAT] [FLUTTER] Have a base class for all icons Apr 1, 2024
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