dartanalyzer 命令 (Dart 静态分析)
dartanalyzer command performs the same static analysis
that you get when you use an IDE or editor that has Dart support.
Here’s an example of performing static analysis over all the Dart files
$ dartanalyzer lib test web
You can customize the analysis using an analysis options file or special comments in Dart source code. For details, see Customizing static analysis.
For information on command-line options, use the
$ dartanalyzer --help