Search code examples
flutterdartmetricsanalyzercode-metrics

VS Code on Mac stopped showing dart code metrics messages in problem panel


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.

analysis_option.yaml

Normally VS Code should mention a STYLE error. That there is a empty line needed before return statement.

enter image description here Flutter doctor -v


Solution

  • Execute flutter upgrade!

    With flutter version 3.0.1 its working well.