Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributedart_periphery

Dart FFI bindings for Linux peripheral I/O (GPIO, I2C, SPI, etc.).

pub.devRemove
libserialport

Dart FFI bindings to libserialport for accessing serial ports.

pub.devRemove
ScoresHealth82 (best)45
Maintenance97 (best)0
Quality96100 (best)
Popularity68 (best)28
Community58 (best)28
Compatibility79100 (best)
UsageDownloads (30 days)19k (best)134
Likes7477 (best)
Pub points150 / 160160 / 160 (best)
GitHub stars5294 (best)
MaintenanceLatest release0.9.21, 5 days ago (best)0.3.0+1, 4 years ago
Major versions in 12 months00
Contributors45 (best)
Publisherflutterdev.atUnverified
FitPlatformsLinuxAndroid, iOS, Windows, macOS, Linux
WASM-readyNoNo
KindFFI (native library)FFI (native library)
Code generationNoNo
Direct dependencies82 (best)
LicenseBSD-3-CLAUSELGPL-3.0
Setup effortMediumMedium
JudgementStrengths
  • Thin, close mapping to the well‑tested c‑periphery library
  • Supports a wide range of peripheral interfaces
  • Works on popular SBCs like Raspberry Pi, NanoPi, Banana Pi
  • Direct and efficient FFI bindings to libserialport.
  • Provides streams for easy asynchronous reading of incoming serial data.
Weaknesses
  • Linux‑only; cannot be used on other OSes
  • Requires native library and proper permissions to access /dev devices
  • Setup can be tricky for beginners unfamiliar with FFI
  • Requires bundling native binaries on the target host platform.
  • Requires additional tooling or wrapper packages (like flutter_libserialport) for automated building and deployment on Flutter.
WarningsNone
  • File-level copyleft
dart_periphery vs libserialport: which Flutter package should you use? | pubscout