Search packages, repositories and app categories

Package detailsv0.4.0

eventified_generator

Transform method calls to a stream of events.

LinuxmacOSWindows
30-day downloads
4.9K
Likes
2
Pub points
110

Install package

dart pub add eventified_generator

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Eventified Generator is a Dart code generator that transforms method calls into a stream of events, enabling reactive programming patterns in Flutter and Dart applications. By annotating classes with specific directives, it automatically generates boilerplate code to emit events whenever methods are invoked. This promotes clean separation between business logic and event handling, improving testability and maintainability. The package integrates seamlessly with the Eventified framework, making it ideal for state management and event-driven architectures.

Use cases

  • Reactive UI updates
  • State management with events
  • Testing event-driven logic
  • Stream-based communication
  • Automated event emission
  • Decoupling business logic from UI

Key features

  • Automatic event stream generation
  • Annotation-based code transformation
  • Integration with Eventified framework
  • Minimal boilerplate
  • Supports async/await methods
  • Cross-platform compatibility

Suitable for

  • Developers using reactive patterns
  • Teams adopting event-driven architecture
  • Projects requiring clean state management
  • Flutter apps with complex interactions
  • Those seeking reduced manual event handling

Considerations

  • Requires understanding of streams and events
  • Depends on Eventified runtime library
  • Needs build_runner for code generation
  • Limited to method call eventing
  • Not suitable for simple state changes
  • May increase build time slightly

Categories

Dependencies

Dependency list 7 items

Source repository

Projects using this package

No data available yet.

Rankings