FLUTTER ECOSYSTEM

event_bus_plus

Event Bus for Dart.

Latest version
0.7.0
30-day downloads
3.4K
Likes
39
Pub points
140

Package Overview

Selection guidance generated from public package information. For reference only.

Overview

EventBusPlus is a lightweight event bus implementation for Dart, enabling simple and efficient communication between objects in a Flutter application. It supports type-safe event broadcasting and subscription, making it ideal for decoupling components without tight dependencies. The package is designed for ease of use with clean APIs, allowing developers to emit events and listen to them across different parts of the app. It works seamlessly across all major platforms including Android, iOS, Web, macOS, Windows, and Linux.

Use cases
  • Decoupling UI components
  • Handling cross-widget communication
  • Managing app-wide state changes
  • Simplifying navigation events
  • Broadcasting notifications
  • Implementing plugin event systems
Key features
  • Type-safe event handling
  • Simple subscribe and emit API
  • Cross-platform compatibility
  • Lightweight and minimal overhead
  • Supports event cancellation
  • Clean and intuitive syntax
Suitable for
  • Developers seeking lightweight state management
  • Apps with frequent inter-component communication
  • Projects avoiding complex state solutions
  • Teams preferring pub-sub patterns
  • Prototyping rapid event-driven features
Considerations
  • Not suitable for large-scale state management
  • Limited built-in error handling
  • No persistence or serialization support
  • Best used alongside other state management approaches
  • May require careful cleanup to avoid memory leaks
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add event_bus_plus

Categories

Source repository

Related projects