Closed
Description
The flutter SDK has // @dart=2.9
comments in it, meant to opt it in, but the latest analyzer now requires language version 2.10 (regardless of the current sdk version).
I don't know the best way to resolve this, soon flutter will presumably have the // @dart=2.10
comments (it will have to), but all old flutter sdks would be broken with build_runner if users get the latest analyzer.