Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributemqtt5_client

A server and browser based MQTT Version 5 client for Dart supporting TCP and WebSockets.

pub.devRemove
web_socket_client

A simple WebSocket client for Dart with automatic reconnection logic.

pub.devRemove
ScoresHealth92 (best)68
Maintenance99 (best)12
Quality97100 (best)
Popularity7786 (best)
Community8080
Compatibility100100
UsageDownloads (30 days)66k112k (best)
Likes72216 (best)
Pub points160 / 160160 / 160
GitHub stars66177 (best)
MaintenanceLatest release5.4.1, yesterday (best)0.2.1, 2 years ago
Major versions in 12 months10 (best)
Contributors12 (best)9
Publisherdarticulate.comfelangel.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies83 (best)
LicenseBSD-3-CLAUSEMIT
Setup effortLowLow
JudgementStrengths
  • Supports both server and browser environments via normal/secure TCP and WebSockets.
  • Handles connection protocols, keep-alive mechanisms, and QoS message exchanges automatically.
  • Supports the full MQTT Version 5 message set including user properties and authentication.
  • 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
  • Some MQTT 5 protocol features are not yet fully implemented (such as flow control, subscription identifiers, and shared subscriptions).
  • Receive maximum and topic alias maximum values received in connect acknowledge are not enforced.
  • Calling close() permanently terminates reconnection attempts, requiring a new instance to reconnect.
  • Limited to basic WebSocket communication.
WarningsNoneNone
mqtt5_client vs web_socket_client: which Flutter package should you use? | pubscout