Flutter: How Code Generators Work

Learn how packages like freezed, json_serializable, and riverpod_generator work under the hood

Tomic Riedel
4 min readMay 20, 2024

--

Icon by freepik

Being a Flutter developer, I’d bet you have used at least once a code generation tool. Have you ever used freezed? json_serializable? riverpod_generator? mobx_codegen? Or have you ever run dart run build_runner build? If your answer is yes, you have…

--

--

Tomic Riedel

Sharing the process of building a portfolio of apps to make people more productive.