The Dart analyzer settings with stricter linter rules that allow you to write more maintainable code and improve performance.
- Add a dev dependency in your pubspec.yaml
dev_dependencies: strict_analyzer: ^0.2.0
analysis_options.yamlat the root of your package.
Include the next line in your
In addition, you can always change the severity of lints or ignore individual lint rule. You can find information on how to do this at the link below.