Fix: Bad state: Cannot use "ref" after the widget was disposed in Flutter Riverpod
This crash means a WidgetRef was used after its widget left the tree, usually in an async callback. Read what you need before the await, then guard with a mounted check.