Skip to content

Latest commit

Β 

History

History
13 lines (7 loc) Β· 923 Bytes

README.md

File metadata and controls

13 lines (7 loc) Β· 923 Bytes

Fun with code generation

In-person talk at the Flutter Vikings conference on August 31, 2022.

Watch on YouTube.

Data models, JSON serialization, API requests, navigation, localization, dependency injection, tests, assets management are all typical tasks to be solved when developing a mature Flutter application. Quite often, it involves creating boilerplate code. It’s not only boring, time-consuming, and error-prone, but it also requires later maintenance. Code generation with build_runner makes it more fun, it allows creating only the essential code and leaving all the routine to the computer.

We’ll create a Flutter mobile application and apply the build_runner code generation technique to as many tasks as the time allows. Hopefully, it’ll be fun.

GitHub: https://github.com/foxanna/flutter_vikings_2022