Switch icon in a list view

I wanted to create a list view which contain a switch icon. My listview return dynamic children's.
i want to handle switch icon which accepts only app state variable. If i will pass one bool state variable it will just change all icon value to true.
how to handle this thing in flutterflow. If it was in normal flutter i would have done easily.

2
3 replies