Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributedart_pusher_channels

Pure‑Dart client for the Pusher Channels real‑time protocol.

pub.devRemove
http2

An HTTP/2 implementation in Dart for low-level transport and pooled HTTP/2 requests.

pub.devRemove
ScoresHealth6591 (best)
Maintenance2499 (best)
Quality100 (best)93
Popularity7589 (best)
Community5280 (best)
Compatibility100 (best)85
UsageDownloads (30 days)31k967k (best)
Likes8897 (best)
Pub points160 / 160 (best)150 / 160
GitHub stars541.1k (best)
MaintenanceLatest release1.3.1, 9 months ago3.2.0, 5 days ago (best)
Major versions in 12 months0 (best)1
Contributors3100+ (best)
Publisherkerim.appdart.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesNo
KindPure DartPure Dart
Code generationNoNo
Direct dependencies54 (best)
LicenseMITBSD-3-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Cross‑platform (Android, iOS, web, Windows, macOS, Linux).
  • Supports all Pusher channel types (public, private, presence, encrypted).
  • Stream‑based API integrates well with RxDart and Flutter streams.
  • Supports multiplexing multiple requests over a single connection
  • Includes `Http2Client` for pooled `package:http` compatibility
  • Provides fine-grained control over frames, streams, and transport connections
Weaknesses
  • Limited to Pusher Channels only; not a generic WebSocket client.
  • No built‑in UI widgets; you must handle UI updates yourself.
  • Relies on web_socket_channel; advanced reconnection strategies may require custom code.
  • Does not fall back to HTTP/1.1 if a server fails to negotiate HTTP/2
  • Requires handling low-level byte streams and header framing for custom requests
WarningsNoneNone
dart_pusher_channels vs http2: which Flutter package should you use? | pubscout