Search packages, repositories and app categories

Package detailsv1.2.0

comms

Simple communication pattern abstraction on streams, created for communication between logic classes.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
219
Likes
46
Pub points
150

Install package

flutter pub add comms

Package Overview

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

Comms is a lightweight Flutter/Dart package that provides a simple abstraction over streams for communication between logic classes. Designed to streamline inter-component messaging, it enables clean, predictable data flow without tight coupling. By standardizing how logic layers communicate, Comms enhances maintainability and testability in complex applications. It’s particularly useful in architectures where multiple business logic units need to exchange events or state updates efficiently.

Use cases

  • Event-driven architecture
  • Inter-logic class communication
  • State synchronization across modules
  • Decoupled business logic components
  • Testing logic units in isolation

Key features

  • Stream-based communication
  • Minimal boilerplate
  • Clear separation of concerns
  • Easy to test
  • Supports bidirectional messaging

Suitable for

  • Developers using MVVM or similar patterns
  • Teams prioritizing clean architecture
  • Projects with complex business logic
  • Applications requiring reliable event broadcasting

Considerations

  • Best suited for logic-to-logic communication
  • Not intended for UI-state management
  • Requires understanding of Dart streams
  • May introduce overhead in very simple apps

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

comms

Predictable and simple communication pattern between classes.

Package Documentation pub CI
comms Documentation comms pub.dev badge
flutter_comms Documentation flutter_comms pub.dev badge

Maintainers

Categories

Dependencies

Dependency list 3 items

Source repository

Projects using this package

No data available yet.