VS stopped analysing dart code metrics.
If I run it in terminal, it show all the metrics style problems. (flutter pub run dart_code_metrics:metrics lib)
It worked before updating to Flutter 3.0.0.
Normally VS Code should mention a STYLE error. That there is a empty line needed before return statement.
Execute flutter upgrade!
With flutter version 3.0.1 its working well.