Use cached auth state from AuthNotifier instead of ref.read() to avoid "Cannot use ref functions after provider changed" exception during rebuild. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| app_router.dart | ||
| routes.dart | ||
Use cached auth state from AuthNotifier instead of ref.read() to avoid "Cannot use ref functions after provider changed" exception during rebuild. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| app_router.dart | ||
| routes.dart | ||