FLUTTER ECOSYSTEM

centrifuge

Dart client to communicate with Centrifuge and Centrifugo from Flutter and VM over WebSockets

Latest version
0.19.0
30-day downloads
60.5K
Likes
48
Pub points
130

Package Overview

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

Overview

Centrifuge is a Dart client for real-time communication with Centrifuge and Centrifugo servers over WebSockets. It enables Flutter and VM applications to subscribe to channels, receive live updates, and publish messages in real time. Designed for low-latency interactions, it supports connection management, reconnection logic, and message broadcasting across multiple platforms. Ideal for building chat apps, live dashboards, and collaborative tools requiring instant data synchronization.

Use cases
  • Real-time chat applications
  • Live dashboard updates
  • Collaborative editing tools
  • Push notifications
  • Multiplayer game sync
Key features
  • WebSocket-based real-time communication
  • Automatic reconnection
  • Channel subscription and publishing
  • Cross-platform support
  • Lightweight and efficient
  • Secure token authentication
Suitable for
  • Flutter mobile and web apps
  • Server-side Dart services
  • Real-time data streaming
  • High-frequency event handling
Considerations
  • Requires a running Centrifuge or Centrifugo server
  • Needs proper authentication setup
  • May require network permission configuration on mobile
  • Depends on stable WebSocket connectivity
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add centrifuge

Categories

Source repository

Related projects