Fix: Looking up a deactivated widget's ancestor is unsafe in Flutter
This crash means you called context.of() after the widget left the tree, usually in an async callback or dispose(). Capture the value before the await, or in didChangeDependencies().