Skip to main content
Logo Appt Light

Linting on Flutter

Linting is the process of running a tool which analyzes your code for potential errors. Generally, each problem detected by the tool is reported with a description message and a severity level. This allows you to quickly prioritize the critical improvements that need to be made. Everyone benefits from higher code quality, plus it improves the accuracy of assistive technologies.

Flutter ships with a built-in linter named flutter_lints. Run flutter analyze . in the root of a project to return all usages of deprecated code.

If possible, always update Flutter to the newest version.

Avoid errors with automated testing. Follow the How to test a Flutter App - Codelab to get started.

flutter analyze .


Let us know!