The flutter analyze command is a wrapper around the dartanalyzer tool. It performs static analysis of your code. Check out the available analysis options in the Flutter repository.
Set the Project Location input to the source directory of your app.
By default, you do not have to change this.
Set the Fail Severity input to the minimum level that should make the Step fail.
By default, the Step fails on errors only. For example, you can set it to warning to make the Step fail on both analyze errors and analyze warnings.
Add any flags you want to the flutter analyze command in the Additional Parameters input.
Run flutter analyze --help to check out the available flags. For example, you can set a flag so that the command only shows an output when there are some errors, warnings, hints or lints.