I have a ListView using ListTiles. Of course I can hard-code a "Leading Icon" for the ListTile using the FlutterFlow UI. But each ListTile displays event info for a different category of events. The categories are each symbolized by a custom icon.
I wish there were some way to make the "Leading Icon" for the ListTile dynamic, so that each ListTile could show a different icon, identifying for that ListTile, which category the event came from.
I realize dynamic icons are a limitation in FlutterFlow, but I'm hoping somebody reading this might suggest another approach besides using the limited ListTile Leading Icon. For example, is there a way to use a dynamic image on a ListTile?
Any ideas?
ListTile with Dynamic Leading Icon
Resolved
3
4 replies