How can I delete all filtered items from an App State list in FlutterFlow?

Actions & Logic

Hi everyone,

I’m using an App State list in FlutterFlow and displaying it with a filtered condition (for example, only completed items or items that match a certain rule).

I want to delete all of the filtered items at once, not just one item.

I tried using Remove from list and Remove from list at index, but they only remove a single item and don’t work well for bulk deletion based on a condition.

What is the best way to remove multiple items from an App State list based on a filter condition?
Should I rebuild the list using a filtered list and set it again with Set App State, or is there a better built-in method?

Thanks in advance for your help!

What have you tried so far?

remove from list

loop action

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