I am having an exception when i delete a particular document and navigate back using custom dialog
Here is the exception:
To safely refer to a widget's ancestor in its dispose() method, save a reference to the ancestor by calling dependOnInheritedWidgetOfExactType() in the widget's didChangeDependencies() method.
below is custom dialog action that return ture when confirmation is pressed and other one are the actions performed when i get true returned from custom dialog
At this point the state of the widget's element tree is no longer stable.
Database & APIs
was not able to find the cause.
No
2
6 replies