Myoro Flutter Annotations (MFA)
Is boilerplate starting to get super annoying to write by hand? Do you want basic practical functions like copyWith
in your classes done for you? How about automatic equality overrides? Myoro Flutter Annotations (MFA) is what you are looking for.
Features
- Ability to create generated code for models with
@myoroModel
andThemeExtension
s with@myoroThemeExtension
- Creates a
mixin
that implements the following functions for both models andThemeExtension
s:
copyWith
with the functionality to be able to set nullable fields to null==
operator andhashCode
to be able to compare to classestoString
for better debugging
Documentation Table of Contents
Want to see the generated code?
Check example/lib
to see the generated code that MFA produces.