Switch in listview

Actions & Logic

So, this seems to be a pretty common problem people are facing.

Will Hobick made a video in this thread: https://community.flutterflow.io/widgets-and-design/post/using-a-switch-in-list-view-jEqBs9jcgerI5kt

but I still can't get this to work properly.

I've been stuck at this for days and I would really appreciate if someone could make a step by step how to achieve this.

I have a firebase collection of players where I need to turn the value "is_active" from 1 to 0 and then from 0 to 1 when using the switch. I need to display the switch on the same row of the name of the player that the switch is affecting.

What have you tried so far?

Almost everything there is AND all instructions found on the forum.

I also tried making a component and generate dynamically, but still not working.

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