Declare freezed classes in seconds | Live Template for IntelliJ IDEA & Android Studio #dart #flutter

Declare freezed classes in seconds | Live Template for IntelliJ IDEA & Android Studio #dart #flutter

Anna Leushchenko

8 месяцев назад

333 Просмотров

Writing the configuration code for the future generated code is a task performed daily by many Dart and Flutter developers. Some packages like `injectable` require as little as adding an annotation, while others like `freezed` require memorizing a non-trivial syntax.

All popular IDEs support code snippets, offering a convenient way to perform a one-time generation of simple code, which is particularly useful in this case. Using code generation for more code generation!

This is a brief video tutorial on configuring a Live Template for Android Studio or IntelliJ IDEA that will help developers declare freezed serializable models in seconds.

Find the code from this video here: https://github.com/foxanna/productive_code_gen/blob/main/CODE_SNIPPETS.md.
Ссылки и html тэги не поддерживаются


Комментарии: