rpi_gpio 0.8.1 rpi_gpio: ^0.8.1 copied to clipboard
rpi_gpio is a Dart library for accessing the Raspberry Pi GPIO pins.
We analyzed this package 13 days ago, and awarded it 120 pub points (of a possible 140):
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
.
10/10 points: 20% or more of the public API has dartdoc comments
27 out of 50 API elements (54.0 %) have documentation comments.
Some symbols that are missing documentation: gpio
, gpio.Gpio.throwPinAlreadyAllocated
, gpio.GpioException.message
, gpio.GpioException.physicalPin
, gpio.GpioInput.value
.
10/10 points: Package has an example
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
.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 8 issues. Showing the first 2:
WARNING: 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
INFO: The variable name 'initialize_RpiGpio' isn't a lowerCamelCase identifier.
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
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
path |
^1.8.0 |
1.9.0 | 1.9.0 |
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
Analyzed with Pana 0.22.3
, Dart 3.3.3
.
Check the analysis log for details.