myoro_flutter_annotations 1.4.6 copy "myoro_flutter_annotations: ^1.4.6" to clipboard
myoro_flutter_annotations: ^1.4.6 copied to clipboard

A code generation library for models and theme extensions.

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 #

  1. Ability to create generated code for models with @myoroModel and ThemeExtensions with @myoroThemeExtension
  2. Creates a mixin that implements the following functions for both models and ThemeExtensions:
  • copyWith with the functionality to be able to set nullable fields to null
  • == operator and hashCode to be able to compare to classes
  • toString for better debugging

Documentation Table of Contents #

  1. Deploying.md
  2. Standards.md

Want to see the generated code? #

Check example/lib to see the generated code that MFA produces.

0
likes
140
points
340
downloads

Publisher

verified publishermyoro.com.br

Weekly Downloads

A code generation library for models and theme extensions.

Repository (GitHub)
View/report issues

Topics

#codegen #annotations #flutter

Documentation

API reference

License

Unlicense (license)

Dependencies

analyzer, build, build_runner, dart_style, pub_semver, source_gen

More

Packages that depend on myoro_flutter_annotations