Skip to content

use_build_context_synchronously shows warning for it's GOOD example #59119

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
feinstein opened this issue Apr 21, 2023 · 1 comment
Closed

use_build_context_synchronously shows warning for it's GOOD example #59119

feinstein opened this issue Apr 21, 2023 · 1 comment
Labels
devexp-linter Issues with the analyzer's support for the linter package legacy-area-analyzer Use area-devexp instead. linter-set-flutter

Comments

@feinstein
Copy link

I got a warning about use_build_context_synchronously, so I changed my code to have if (!context.mounted) return; before the context was used, but this only made the warning go from my context use, to the if clause I copied from the lint GOOD example.

I am using Flutter 3.7.11.

@srawlins
Copy link
Member

I think this is a duplicate of #59009.

@feinstein feinstein closed this as not planned Won't fix, can't repro, duplicate, stale Apr 21, 2023
@devoncarew devoncarew added devexp-linter Issues with the analyzer's support for the linter package legacy-area-analyzer Use area-devexp instead. labels Nov 19, 2024
@devoncarew devoncarew transferred this issue from dart-archive/linter Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devexp-linter Issues with the analyzer's support for the linter package legacy-area-analyzer Use area-devexp instead. linter-set-flutter
Projects
None yet
Development

No branches or pull requests

3 participants