2020-11-27

Flutter; replace item in list

I have a list in my app. It containe a couple of items.

I want to replace every item that is equal to a user-input(A String) , with another user-input(Another String). (If the solution is to remove the item, and add a new one, it needs to be in the same location in the list)

How do I do that?

Thanks :)



from Recent Questions - Stack Overflow https://ift.tt/37gbdoI
https://ift.tt/eA8V8J

No comments:

Post a Comment