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

[Feature Request] Added option to show different icon when main button is clicked #13

Open
jooy2 opened this issue Sep 5, 2022 · 1 comment

Comments

@jooy2
Copy link

jooy2 commented Sep 5, 2022

Thanks for making such a great library.

Currently, only the background/foreground color can be changed when the main button of the fab is clicked, and the icon cannot be specified separately for the open or closed state. Only one icon can be specified.

Are there any options currently available for this, or plans to add more in the future?
The image (gif) below is an example of changing the icon. Notice the button at the bottom.

ColorfulSelfreliantAmericanindianhorse-size_restricted

Image Source: https://gfycat.com/en/colorfulselfreliantamericanindianhorse

@janoschp
Copy link
Owner

Nah not planing to, but if you want you can do it yourself and open a pr. I'd have a look at it.

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