DEV Community

Siddhant Shukla
Siddhant Shukla

Posted on

If you delete the widget from the list it reset state of all the widgets below it in flutter?

Using floating action button you can add questions, but when you delete particular question it reset state of all the widget below it in the list, everything above it maintains its state. TextField didn't retain data though I'm using TextFieldController. I'm unable to figure out why this is happening.

Top comments (0)