use_build_context_synchronously shows warning for it's GOOD example #59119
Labels
devexp-linter
Issues with the analyzer's support for the linter package
legacy-area-analyzer
Use area-devexp instead.
linter-set-flutter
I got a warning about use_build_context_synchronously, so I changed my code to have
if (!context.mounted) return;
before thecontext
was used, but this only made the warning go from mycontext
use, to theif
clause I copied from the lint GOOD example.I am using Flutter 3.7.11.
The text was updated successfully, but these errors were encountered: