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
ws

Cross‑platform WebSocket client with automatic reconnection and metrics

pub.devRemove
ScoresHealth83 (best)50
Maintenance55 (best)1
Quality96 (best)91
Popularity99 (best)55
Community80 (best)58
Compatibility100 (best)85
UsageDownloads (30 days)14M (best)2.6k
Likes1.6k (best)87
Pub points150 / 160 (best)140 / 160
GitHub stars1.1k (best)49
MaintenanceLatest release3.0.3, 2 years ago (best)1.0.0, 3 years ago
Major versions in 12 months00
Contributors100+ (best)4
Publishertools.dart.devplugfox.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesNo
KindPure DartPure Dart
Code generationNoNo
Direct dependencies51 (best)
LicenseBSD-3-CLAUSEMIT
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 (VM and JS)
  • Automatic reconnection with backoff
  • Stream of state changes and messages
  • Configurable options per platform
Weaknesses
  • No built‑in reconnection logic
  • Limited to WebSocket only, no higher‑level protocols
  • Requires Dart 3.3+
  • No built‑in authentication or subprotocol helpers
  • Limited to WebSocket; no HTTP or REST support
  • No code generation or declarative API
Warnings
  • Quiet but busy
None
web_socket_channel vs ws: which Flutter package should you use? | pubscout