Search packages, repositories and app categories

Package detailsv1.7.1

dart_nats

A Dart client for the NATS messaging system. Design to use with Dart and flutter.

AndroidiOSmacOSWindowsLinux
30-day downloads
6.1K
Likes
40
Pub points
160

Install package

flutter pub add dart_nats

Package Overview

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

A Dart client for the NATS messaging system, enabling real-time communication in Dart and Flutter applications. Designed for high-performance, low-latency message passing across devices and services. Supports both synchronous and asynchronous messaging patterns over WebSocket connections. Ideal for building scalable, event-driven architectures in mobile, desktop, and server environments. The package integrates seamlessly with existing NATS infrastructure and provides a clean, intuitive API for publishing and subscribing to messages.

Use cases

  • Real-time data streaming
  • IoT device communication
  • Event-driven app architecture
  • Cross-platform messaging
  • Microservices coordination

Key features

  • WebSocket-based connectivity
  • Publish-subscribe pattern support
  • High performance and low latency
  • Seamless Flutter integration
  • Robust error handling

Suitable for

  • Flutter mobile apps
  • Desktop applications
  • Backend services
  • Real-time dashboards
  • Distributed systems

Considerations

  • Requires a running NATS server
  • Limited documentation compared to mature libraries
  • Network reliability impacts message delivery
  • Authentication setup needed for secure deployments
  • Not suitable for high-throughput enterprise messaging without tuning

Categories

Dependencies

Dependency list 5 items

Projects using this package

No data available yet.