Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeweb_socket_channel

Cross‑platform WebSocket channel wrapper for Dart

pub.devRemove
websocket_universal

Cross‑platform WebSocket client with auto‑reconnect, ping measurement and typed message support

pub.devRemove
ScoresHealth83 (best)75
Maintenance5589 (best)
Quality9696
Popularity99 (best)45
Community80 (best)46
Compatibility100 (best)85
UsageDownloads (30 days)14M (best)2.1k
Likes1.6k (best)36
Pub points150 / 160150 / 160
GitHub stars1.1k (best)20
MaintenanceLatest release3.0.3, 2 years ago1.4.0, 3 weeks ago (best)
Major versions in 12 months00
Contributors100+ (best)2
Publishertools.dart.devdvmatyun.ru
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesNo
KindPure DartPure Dart
Code generationNoYes
Direct dependencies53 (best)
LicenseBSD-3-CLAUSEBSD-3-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Cross‑platform support (mobile, web, desktop)
  • Stream‑based API with ready and close details
  • Customizable HttpClient and connect timeout
  • Supports WebSocket status codes via status.dart
  • Cross‑platform support (IO + web)
  • Auto‑reconnect and ping/pong handling
  • Typed message processing via IMessageProcessor
  • Stream‑based API for easy integration with async code
Weaknesses
  • No built‑in reconnection logic
  • Limited to WebSocket only, no higher‑level protocols
  • Requires Dart 3.3+
  • No active code generation support
  • Limited documentation on advanced configuration
  • Not as widely used as web_socket_channel, so community support is smaller
Warnings
  • Quiet but busy
None
web_socket_channel vs websocket_universal: which Flutter package should you use? | pubscout