embedded_serialport 0.0.33 copy "embedded_serialport: ^0.0.33" to clipboard
embedded_serialport: ^0.0.33 copied to clipboard

`embedded_serialport` is a Flutter package for serial port communication, it uses Dart FFI (Foreign Function Interface) to interact with Rust and C shared libraries. This package provides a simple API [...]

5
likes
130/ 160
pub points
63%
popularity

We analyzed this package 32 hours ago, and awarded it 130 pub points (of a possible 160):

failed
Follow Dart file conventions
20 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

The package description is too long.

Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

failed
Provide documentation
10 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

53 out of 66 API elements (80.3 %) have documentation comments.

Some symbols that are missing documentation: embedded_serialport, embedded_serialport.Serial.baudrate, embedded_serialport.Serial.databits, embedded_serialport.Serial.parity, embedded_serialport.Serial.path.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:embedded_serialport/embedded_serialport.dart that imports:
  • package:embedded_serialport/src/serial.dart that imports:
  • package:embedded_serialport/src/signature.dart that imports:
  • package:embedded_serialport/src/library.dart that imports:
  • package:embedded_serialport/src/cpu_architecture.dart that imports:
  • package:ffi/ffi.dart that imports:
  • package:ffi/src/utf8.dart that imports:
  • dart:ffi

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:embedded_serialport/embedded_serialport.dart that imports:
  • package:embedded_serialport/src/serial.dart that imports:
  • package:embedded_serialport/src/signature.dart that imports:
  • package:embedded_serialport/src/library.dart that imports:
  • package:embedded_serialport/src/cpu_architecture.dart that imports:
  • package:ffi/ffi.dart that imports:
  • package:ffi/src/utf8.dart that imports:
  • dart:ffi

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

partial
Pass static analysis
40 / 50trigger folding of the section

40/50 points: code has no errors, warnings, lints, or formatting issues

Found 4 issues. Showing the first 2:

/tmp/pana_VETECA/lib/embedded_serialport.dart doesn't match the Dart formatter.

To format your files run: dart format .

/tmp/pana_VETECA/lib/src/flutter_rust.dart doesn't match the Dart formatter.

To format your files run: dart format .

OK
Support up-to-date dependencies
40 / 40trigger folding of the section

10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
collection ^1.18.0 1.18.0 1.19.1
ffi ^2.1.2 2.1.3 2.1.3
flutter flutter 0.0.0 0.0.0
meta ^1.12.0 1.15.0 1.16.0
path ^1.9.0 1.9.1 1.9.1
process ^5.0.2 5.0.3 5.0.3
stack_trace ^1.11.1 1.12.0 1.12.0
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.1
file - 7.0.1 7.0.1
material_color_utilities - 0.11.1 0.12.0
platform - 3.1.6 3.1.6
sky_engine - 0.0.99 0.0.99
vector_math - 2.1.4 2.1.4

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

10/10 points: Package supports latest stable Dart and Flutter SDKs

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.15, Flutter 3.24.4, Dart 3.5.4.

Check the analysis log for details.

5
likes
130
pub points
63%
popularity

Publisher

unverified uploader

`embedded_serialport` is a Flutter package for serial port communication, it uses Dart FFI (Foreign Function Interface) to interact with Rust and C shared libraries. This package provides a simple API to list available serial ports and perform read/write operations.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

collection, ffi, flutter, meta, path, process, stack_trace

More

Packages that depend on embedded_serialport