FLUTTER ECOSYSTEM

action_cable

ActionCable client port in dart, available in web, dartVM and flutter.

Latest version
1.3.0
30-day downloads
1.2K
Likes
22
Pub points
135

Package Overview

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

Overview

ActionCable is a Dart client implementation of Rails' ActionCable, enabling real-time bidirectional communication over WebSocket in Flutter and Dart applications. It supports web, DartVM, and mobile platforms including Android, iOS, macOS, Windows, and Linux. The package allows seamless integration with ActionCable servers for features like live updates, chat systems, and notifications. It provides a clean API to subscribe to channels, receive messages, and manage connections with built-in reconnection logic. Ideal for apps requiring real-time data synchronization.

Use cases
  • Real-time chat applications
  • Live dashboard updates
  • Notification systems
  • Collaborative editing tools
  • Streaming data feeds
Key features
  • WebSocket-based real-time communication
  • Cross-platform support (web, mobile, desktop)
  • Channel subscription management
  • Automatic reconnection
  • Simple event-driven API
Suitable for
  • Flutter apps needing real-time features
  • Dart projects using Rails backend
  • Developers building live interactive UIs
  • Apps requiring low-latency updates
  • Teams using ActionCable on the server side
Considerations
  • Requires a compatible ActionCable server
  • Network reliability affects performance
  • Limited documentation compared to mature alternatives
  • Manual handling of message parsing needed
  • Not suitable for high-frequency, low-latency scenarios without tuning
Supported platformsAndroidiOSmacOSWindowsLinux

Install package

flutter pub add action_cable

Categories

Dependencies

Dependency list 1 items

Source repository

Related projects

No data available yet.