Anna Leushchenko

Google Developer Expert in Dart and Flutter | Author, speaker at tech events, mentor, OSS contributor | Passionate mobile apps creator

Talk Title

Your ultimate guide to code generation productivity for Dart and Flutter


Widget Way




10:15 > 40 min


on Twitter

Creating Dart and Flutter applications often includes typical tasks, such as implementing JSON deserialization, consuming backend APIs, creating a dependency inversion mechanism, implementing navigation and localization, managing assets, writing tests, and more. These tasks require writing repetitive code, which is time-consuming, error-prone, and tedious. Fortunately, we can get a significant development productivity boost by letting build_runner generate all the boilerplate. But once the project grows, extensive usage of code generation brings additional challenges, such as slower generation execution, frequent merge conflicts, analyzer performance downgrade, and others.

In this session, we will discuss how build_runner and different code-generating packages can facilitate many typical application development tasks, and also talk through a dozen practical tips for efficiently maintaining Dart and Flutter projects that extensively use code generation. I will not only show how to speed up the generation process, but also how to minimize chances for merge conflicts and improve overall developers’ experience.

Even if you are familiar with code generation topic, you will certainly get valuable takeaways from this session!

You will walk away with:
- An understanding of how the code generation mechanism works
- A list of useful code-generating packages worth checking out
- Practical advice on how to efficiently maintain projects that extensively use code generation

Speaker Bio

Anna Leushchenko is a mobile development expert, passionate about quality software, from Ukraine. She is a Women Techmakers Ambassador and Google Developer Expert in Dart and Flutter. Anna talks and blogs about cross-platform development, contributes to OSS, and mentors talented women in tech.