FLUTTER ECOSYSTEM

centrifuge

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

Latest version
0.20.1
30-day downloads
54K
Likes
49
Pub points
140

Package Overview

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

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

Dependencies

Dependency list 4 items

Source repository

Related projects

Rankings