Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributemodbus_client

Base Modbus client package for sending requests via Serial and TCP/IP.

pub.devRemove
shelf_web_socket

Shelf handler that upgrades HTTP to WebSocket and provides a WebSocketChannel per connection.

pub.devRemove
ScoresHealth5680 (best)
Maintenance3454 (best)
Quality91100 (best)
Popularity1994 (best)
Community5880 (best)
Compatibility100 (best)85
UsageDownloads (30 days)77214M (best)
Likes12158 (best)
Pub points140 / 160160 / 160 (best)
GitHub stars161k (best)
MaintenanceLatest release1.4.5, 7 months ago (best)3.0.0, 2 years ago
Major versions in 12 months00
Contributors460 (best)
Publishercabella.nettools.dart.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesNo
KindPure DartPure Dart
Code generationNoNo
Direct dependencies33
LicenseBSD-3-CLAUSEBSD-3-CLAUSE
Setup effortMediumLow
JudgementStrengths
  • Supports multiple transport protocols via companion packages (TCP, UDP, Serial).
  • Comprehensive support for various Modbus element types and custom requests.
  • Easy integration with existing Shelf middleware
  • Type-safe callback signature
  • Supports pingInterval and protocol negotiation
  • No additional dependencies beyond shelf and web_socket_channel
Weaknesses
  • Requires platform-specific serial libraries (like flutter_libserialport) for serial communication in Flutter/Dart.
  • Protocol and library limits apply for byte sizes and frame lengths.
  • Breaking change in 3.0.0 requires callback signature update
  • Limited to Shelf; not a full-featured WebSocket server framework
  • No built-in authentication or routing for WebSocket paths
WarningsNone
  • Quiet but busy
modbus_client vs shelf_web_socket: which Flutter package should you use? | pubscout