How to make icons dynamic

Widgets & Design

I created a widget that has a container with an icon and a string. I want three aspects of this widget to be dynamic: the icon, the container color, and the string. I have a Json array that contains items for these values. Currently, I am struggling with passing the 'color' from the string hex to the 'color' variable as well as the iconName string to 'Icon' variable as parameters for the widget. It is possible to do this on Flutter Flow?

What have you tried so far?

Everything except creating a custom function.

Did you check FlutterFlow's Documentation for this topic?
Yes
2
2 replies