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

PlatformLinux

`embedded_serialport` is a Flutter package for serial port communication, using Dart FFI to interact with Rust and C libraries. It lists serial ports and handles read/write operations.

7
likes
140/ 160
pub points
69
downloads

We analyzed this package 6 days ago, and awarded it 140 pub points (of a possible 160):

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

Failed check 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.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

53 out of 68 API elements (77.9 %) 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.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

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

  • ✓ Linux

These platforms are not supported:

Package does not support platform `Android`.

Because:

  • package:embedded_serialport/embedded_serialport.dart that declares support for platforms: Linux.
Package does not support platform `iOS`.

Because:

  • package:embedded_serialport/embedded_serialport.dart that declares support for platforms: Linux.
Package does not support platform `Windows`.

Because:

  • package:embedded_serialport/embedded_serialport.dart that declares support for platforms: Linux.
Package does not support platform `macOS`.

Because:

  • package:embedded_serialport/embedded_serialport.dart that declares support for platforms: Linux.
Package does not support platform `Web`.

Because:

  • package:embedded_serialport/embedded_serialport.dart that declares support for platforms: Linux.

Failed check 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.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

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

Found 4 issues. Showing the first 2:

INFO: Angle brackets will be interpreted as HTML.

lib/src/serial.dart:371:17

    ╷
371 │   /// Opens the <tt>tty</tt> device at the specified [path] (e.g. "/dev/ttyUSB0"), with the specified [baudrate], and the
    │                 ^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/serial.dart

INFO: Angle brackets will be interpreted as HTML.

lib/src/serial.dart:371:24

    ╷
371 │   /// Opens the <tt>tty</tt> device at the specified [path] (e.g. "/dev/ttyUSB0"), with the specified [baudrate], and the
    │                        ^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/serial.dart

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

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

Package Constraint Compatible Latest Notes
collection ^1.18.0 1.19.1 1.19.1
ffi ^2.1.2 2.1.4 2.1.4
meta ^1.12.0 1.16.0 1.16.0
path ^1.9.0 1.9.1 1.9.1
plugin_platform_interface ^2.0.2 2.1.8 2.1.8
process ^5.0.2 5.0.3 5.0.3
stack_trace ^1.11.1 1.12.1 1.12.1
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.0
file - 7.0.1 7.0.1
material_color_utilities - 0.11.1 0.12.0
platform - 3.1.6 3.1.6
vector_math - 2.1.4 2.1.5

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

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.20, Flutter 3.29.2, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
7
likes
140
points
69
downloads

Publisher

unverified uploader

Weekly Downloads

`embedded_serialport` is a Flutter package for serial port communication, using Dart FFI to interact with Rust and C libraries. It lists serial ports and handles read/write operations.

Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

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

More

Packages that depend on embedded_serialport