Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributemqtt_client

A Dart MQTT client supporting TCP, WebSocket, secure connections and all QoS levels.

pub.devRemove
socket_io_client

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

pub.devRemove
ScoresHealth91 (best)72
Maintenance86 (best)41
Quality100 (best)96
Popularity9094 (best)
Community80 (best)45
Compatibility100100
UsageDownloads (30 days)139k333k (best)
Likes5511.5k (best)
Pub points160 / 160 (best)150 / 160
GitHub stars585698 (best)
MaintenanceLatest release10.14.0, 4 weeks ago (best)3.1.6, 5 months ago
Major versions in 12 months00
Contributors2429 (best)
Publisherdarticulate.comUnverified
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies74 (best)
LicenseBSD-3-CLAUSEMIT
Setup effortMediumLow
JudgementStrengths
  • Supports TCP, secure TCP, WebSocket and secure WebSocket
  • Handles all QoS levels and keep‑alive automatically
  • Batch and multi‑unsubscriptions, making it efficient for many topics
  • Cross‑platform support (Android, iOS, web, desktop, server)
  • Supports reconnection logic, custom headers, and explicit transport settings.
  • Compatible across web, desktop, and mobile Flutter environments.
Weaknesses
  • No native support for MQTT v5 (requires separate package)
  • Requires platform permissions for network access on mobile
  • Documentation is concise but may need digging for advanced use
  • 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
mqtt_client vs socket_io_client: which Flutter package should you use? | pubscout