Any way at all to set icon from variable?

Widgets & Design

Is there any way at all to do this? Icon is not accepted as a valid variable type anywhere aside from the component parameters. The toggle icon button would not work since I need multiple icon options, and the button size cannot be directly changed. Has anyone figured out how to do this? Not sure why flutterflow wouldn't add icons as a variable type when they expect that variable in the icon properties.

What have you tried so far?

Tried looking into using component variables, that would not work for what I'm doing and wouldn't work in general. Looked into other variable types and data types, nothing allows variables.

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