What number to add in iconColor param in Material Icon?

Can someone help me out with what number to be added in this param of Material Icons?
image

I thought Color will be a text string, but i checked the docs, it asks for a number.

Where do I find a list of what number matches with what color? If there is any…

You can use the color blocks, which returns an integer / number ( the decimal value of the color ). They are mostly used with the blocks that needs a color inputs.

Thank you…
It worked.

Should have thought of that :sweat_smile:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.