nomnom
nomnom copied to clipboard
Exception thrown dismissed item is still part of the tree
If some items are dismissed from the list especially 3rd 4th onward and if paint debug or performance overlay is toggled it throws the following exception:
A dismissed Dismissible widget is still part of the tree. Make sure to implement the onDismissed handler and to immediately remove the Dismissible widget from the application once that handler has fired.
I was able to get it to work by removing place item that was dismissed from the list and setting the resultant list in the state
same here
Same exact issue, I've tried a workaround using ObjectKey instead of Key(), and that solves the issue in so far as that the exception only shows up for 1 second now. But it's still showing up and I don't get why.