Dynamic Child text widget changes all Child text widgets, not just the one I want to change

Actions & Logic
Resolved

I have two buttons set up to increment and decrement a number-formatted Text Widget. This is part of a ListView Dynamic Child row. Each Dynamic Child row should be its own, self-sufficient item. My parent Dynamic Child row has a TextField widget as well as those buttons and the number that the buttons interact with. When creating children from it, I can get the TextField to be updateable on its own so that each Dynamic Child row can have different TextField text, however the number isn't being dynamically generated. When I press +1 or -1, all Dynamic Child rows have their number incremented or decremented the same amount. I need each Dynamic Child row's number to be its own number. That way I can have "5 apples" as row one, "3 oranges" as row two, "10 bananas" as row three, and so on.

How do I get the number-formatted Text Widget of each Dynamic Child row to be independent of each other?

What have you tried so far?

I've tried setting the number-formatted Text Widget's Unique Key to be the same as the TextField but that didn't help/do anything.

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