dart_periphery 0.9.5 copy "dart_periphery: ^0.9.5" to clipboard
dart_periphery: ^0.9.5 copied to clipboard

dart_periphery is a Dart port of the native c-periphery library for Linux Peripheral I/O (GPIO, LED, PWM, SPI, I2C, MMIO and Serial peripheral I/O).

48
likes
120/ 140
pub points
82%
popularity

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

partial
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/pezi/dart_periphery/issues was unreachable. Make sure that the website is reachable via HEAD requests.

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.

OK
Provide documentation
20 / 20trigger folding of the section

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

471 out of 672 API elements (70.1 %) have documentation comments.

Some symbols that are missing documentation: dart_periphery, dart_periphery.BME280exception.errorMsg, dart_periphery.BME680.i2c, dart_periphery.BME680.i2cAddress, dart_periphery.BME680exception.errorMsg.

10/10 points: Package has an example

OK
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:dart_periphery/dart_periphery.dart that imports:
  • package:dart_periphery/src/version.dart that imports:
  • package:dart_periphery/src/signature.dart that imports:
  • package:dart_periphery/src/library.dart that imports:
  • package:dart_periphery/src/cpu_architecture.dart that imports:
  • package:ffi/ffi.dart that imports:
  • package:ffi/src/utf16.dart that imports:
  • dart:ffi
partial
Pass static analysis
40 / 50trigger folding of the section

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

INFO: 'useSharedLibray' is deprecated and shouldn't be used. Fix typo in method name.

lib/dart_periphery.dart:88:9

   ╷
88 │         useSharedLibray,
   │         ^^^^^^^^^^^^^^^
   ╵

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

lib/src/native/lib_base64.dart doesn't match the Dart formatter.

To format your files run: dart format .

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

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

Package Constraint Compatible Latest
collection ^1.16.0 1.18.0 1.18.0
ffi ^2.0.1 2.1.2 2.1.2
meta ^1.7.0 1.14.0 1.14.0
path ^1.8.1 1.9.0 1.9.0
process ^4.2.4 4.2.4 5.0.2
stack_trace ^1.10.0 1.11.1 1.11.1
Transitive dependencies
Package Constraint Compatible Latest
file - 6.1.4 7.0.0
platform - 3.1.4 3.1.4

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

The constraint `^4.2.4` on process does not support the stable version `5.0.0`.

Try running dart pub upgrade --major-versions process to update the constraint.

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

Analyzed with Pana 0.22.3, Dart 3.3.3.

Check the analysis log for details.

48
likes
120
pub points
82%
popularity

Publisher

verified publisherflutterdev.at

dart_periphery is a Dart port of the native c-periphery library for Linux Peripheral I/O (GPIO, LED, PWM, SPI, I2C, MMIO and Serial peripheral I/O).

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

collection, ffi, meta, path, process, stack_trace

More

Packages that depend on dart_periphery