Nested List view refresh

Actions & Logic

I have a list of parent folders. when tap on add button, I use a bottom sheet to fill in the name of the child folder. I pass & filter it with parent id through a veriable. I will mention what it does right and than wrong. This setup is capable of refreshing the list in 2 ways. Note that the children of only 1 parent should be visible at one time. I would like to see if anyone can tell me if anything of what i am doing seems proper and if so how can I make it to where my list refreshes without tapping the screen which seems to activate it. I have seen videos of callbacks but none seem to explain how I would do this in my setup. I am working in firebase.

What have you tried so far?

In FIRST scenario If I push a parent button and do an action that navigates to the same page, it shows a parents children and hides the other after navigating to same page. In scenario 2 only after I tap on the body of the window it refreshes but if i do not touch the body, all the children are visible, one after the other, on each tap.

On images the first show the normal state,

second it shows one parent,

third you can see where one set of children hide while another set are showing,

on the fourth, it shows 2 sets of children which is wrong. Initially this happens until and once I tap I can get the list to update.

I would like to know what method would work better for this scenario and ho I can implement it.

Thanks

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