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
socket_io_client

Dartlang port of socket.io-client for web, flutter, and dartvm

pub.devRemove
ScoresHealth92 (best)72
Maintenance99 (best)41
Quality97 (best)96
Popularity7794 (best)
Community80 (best)45
Compatibility100100
UsageDownloads (30 days)66k333k (best)
Likes721.5k (best)
Pub points160 / 160 (best)150 / 160
GitHub stars67698 (best)
MaintenanceLatest release5.4.1, 2 days ago (best)3.1.6, 5 months ago
Major versions in 12 months10 (best)
Contributors1229 (best)
Publisherdarticulate.comUnverified
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies84 (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.
  • Supports reconnection logic, custom headers, and explicit transport settings.
  • Compatible across web, desktop, and mobile Flutter environments.
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.
  • Socket instances are cached by scheme, port, and host, requiring careful handling of configuration options on initial creation.
  • Extra headers cannot be sent on the WebSocket handshake on web browsers.
WarningsNoneNone
mqtt5_client vs socket_io_client: which Flutter package should you use? | pubscout