bloc_enhancer 0.3.1 copy "bloc_enhancer: ^0.3.1" to clipboard
bloc_enhancer: ^0.3.1 copied to clipboard

An annotation package simplifying Bloc event and state classes, enhancing code readability and reducing naming conflicts.

0.3.1 | 10.4.2024 #

Fixes #

  • Do not generate a factory for abstract classes

0.3.0 | 9.27.2024 #

Features #

  • Support creating event factories
    • Annotate the base event class with @createFactory

Enhancements #

  • Check for used names while creating event & state methods
    • If a name conflicts, the method's name will be suffixed with a number
    • This applies to create factories and event methods

Breaking Changes #

  • Deprecate @createStateFactory in favor of @createFactory
    • This will be removed in a future release

0.2.0+1 | 8.20.2024 #

Features #

  • Add check for if the bloc is closed before adding a new event

0.1.0+1 | 3.25.2024 #

Initial Release

1
likes
130
pub points
77%
popularity

Publisher

verified publishermrgnhnt.com

An annotation package simplifying Bloc event and state classes, enhancing code readability and reducing naming conflicts.

Repository (GitHub)
View/report issues
Contributing

Topics

#bloc #code-generation #enhance #state

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

meta

More

Packages that depend on bloc_enhancer