rpi_gpio 0.8.1 icon indicating copy to clipboard operation
rpi_gpio: ^0.8.1 copied to clipboard

PlatformLinux

rpi_gpio is a Dart library for accessing the Raspberry Pi GPIO pins.

17
likes
130/ 140
pub points
47%
popularity

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

icon indicating section status
Follow Dart file conventions
30 / 30icon to trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

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.

icon indicating section status
Provide documentation
20 / 20icon to trigger folding of the section

10/10 points: Package has an example

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

  • 30 out of 65 API elements (46.2 %) have documentation comments.
icon indicating section status
Platform support
20 / 20icon to trigger folding of the section

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:rpi_gpio/rpi_gpio.dart that declares support for platforms: Linux.

Package does not support platform iOS.

Because:

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

Package does not support platform Windows.

Because:

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

Package does not support platform macOS.

Because:

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

Package does not support platform Web.

Because:

  • package:rpi_gpio/rpi_gpio.dart that declares support for platforms: Linux.
icon indicating section status
Pass static analysis
20 / 30icon to trigger folding of the section

20/30 points: code has no errors, warnings, lints, or formatting issues

Found 8 issues. Showing the first 2:

INFO: Name non-constant identifiers using lowerCamelCase.

lib/rpi_gpio.dart:16:17

   ╷
16 │ Future<RpiGpio> initialize_RpiGpio({
   │                 ^^^^^^^^^^^^^^^^^^
   ╵

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

INFO: The operand can't be null, so the condition is always true.

lib/src/polling_node.dart:61:50

   ╷
61 │   if (polledNodes.isNotEmpty && pollingFrequency != null) {
   │                                                  ^^^^^^^
   ╵

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

icon indicating section status
Support up-to-date dependencies
20 / 20icon to trigger folding of the section

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

PackageConstraintCompatibleLatest
path^1.8.01.8.31.8.3

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

icon indicating section status
Support sound null safety
20 / 20icon to trigger folding of the section

20/20 points: Package and dependencies are fully migrated to null safety!

Analysed with Pana 0.21.21, Dart 2.18.4.

17
likes
130
pub points
47%
popularity

Publisher

verified publisher icondanrubel.net

rpi_gpio is a Dart library for accessing the Raspberry Pi GPIO pins.

Repository (GitHub)

Documentation

API reference

License

Icon for licenses.BSD-3-Clause (LICENSE)

Dependencies

path

More

Packages that depend on rpi_gpio