Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributecentrifuge

Dart client for real‑time communication with Centrifuge/Centrifugo over WebSockets.

pub.devRemove
web_socket_client

A simple WebSocket client for Dart with automatic reconnection logic.

pub.devRemove
ScoresHealth80 (best)68
Maintenance86 (best)12
Quality91100 (best)
Popularity7587 (best)
Community3980 (best)
Compatibility100100
UsageDownloads (30 days)84k114k (best)
Likes49216 (best)
Pub points140 / 160160 / 160 (best)
GitHub stars127177 (best)
MaintenanceLatest release0.21.0, 5 weeks ago (best)0.2.1, 2 years ago
Major versions in 12 months00
Contributors79 (best)
PublisherUnverifiedfelangel.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies43 (best)
LicenseMITMIT
Setup effortMediumLow
JudgementStrengths
  • Cross‑platform (Android, iOS, web, Windows, macOS, Linux)
  • Built‑in token handling and reconnection logic
  • Extensive test coverage and stability fixes
  • Built-in automatic reconnection with customizable backoff strategies.
  • Exposes real-time connection state stream and queryable connection status.
  • Wasm compatibility and support for web platform.
Weaknesses
  • Tied to Centrifugo/Centrifuge ecosystem
  • No UI components, only low‑level client
  • Calling close() permanently terminates reconnection attempts, requiring a new instance to reconnect.
  • Limited to basic WebSocket communication.
WarningsNoneNone
centrifuge vs web_socket_client: which Flutter package should you use? | pubscout