The Dart analyzer settings with stricter linter rules that allow you to write more maintainable code and improve performance.
You can always change the severity of lints or ignore individual lint rule. If you need more information about the analyzer and linter rules, read this static analysis details.
Also you can read about supported Lint Rules.
- Add a dev dependency in your pubspec.yaml
dev_dependencies: strict_analyzer: ^0.6.0
analysis_options.yamlat the root of your package.
Include the next line in your