I’m a senior Flutter developer, as well as the co-creator of Bunny Search, the app, which allows you to find cruelty-free brands. I’m a technical writer, speaker & mentor. I’m a Flutter & Dart GDE, Women Techmakers Ambassador and a Flutterista. If I’m not writing code or participating in some Flutter meetup, you can usually find me reading a book or petting a stray cat 🙂
Daria Orlova
Zero runtime errors: Exploring Static Code Analysis techniques in Flutter
If you ask a developer whether they would prefer to fix a bug or develop a new feature, there is no doubt they will select the latter.
Unfortunately, bugs are part of the development cycle and are inevitable.
Fortunately, there are techniques to predict and prevent them, even without running the code: with the help of static code analysis.
Static code analysis is a powerful tool for finding and fixing potential errors even before compiling your code, making the cycle much faster and developers more productive. Moreover, the flexibility of this tool allows you to configure it in a way to not only control bugs but also code style and specific team practices.
In this talk, we will do a deep dive into the world of static code analysis, exploring strategies on how to set it up to work best in your project, possibilities beyond `flutter_lints`, such as other libraries and 3rd party services like Dart Code Metrics, as well as what it takes to create your own custom lints for your library or app with tools such as `custom_lint`. By the end of this talk, you will be fully equipped to set up a robust static analysis system in your project and make your projects more reliable, consistent, and performant.