rpi_gpio 0.5.0

Dart native js
Flutter Android iOS web

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

5
likes
95 / 110
pub points
31 %
popularity

We analyzed this package on Jul 31, 2020, and awarded it 95 pub points (of a possible 110):

Follow Dart file conventions
15 / 20

10/10 points: Provide a valid pubspec.yaml

0/5 points: Provide a valid README.md

Links in `README.md` should be secure. 1 link is insecure.

README.md:13:52

   ╷
13 │ for the <strong>Gpio</strong> API derived from the <a href="http://wiringpi.com/">WiringPi</a> library.</p>
   │                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

Use https URLs instead.

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
20 / 20

10/10 points: Package has an example

  • Found example at: example/example.dart

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

  • 21 out of 48 API elements (43.8 %) have documentation comments.
Support multiple platforms
20 / 20

20/20 points: Supports 2 of 2 possible platforms (native, js)

Pass static analysis
20 / 30

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

Found 44 issues. Showing the first 2:

INFO: The function main should have a return type but doesn't.

bin/build_lib.dart:9:1

  ╷
9 │ main(List<String> args) {
  │ ^^^^
  ╵

To reproduce make sure you are using pedantic and run dartanalyzer bin/build_lib.dart

INFO: Omit type annotations for local variables.

bin/build_lib.dart:11:3

   ╷
11 │   File dartVm = new File(Platform.executable);
   │   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using pedantic and run dartanalyzer bin/build_lib.dart

Support up-to-date dependencies
20 / 20

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

PackageConstraintCompatibleLatest
path>=1.0.0 <2.0.01.7.01.7.0

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

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

5
likes
95
pub points
31%
popularity

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

Repository (GitHub)
View/report issues

Documentation

API reference

Uploaders

danrubel@google.com
devoncarew@google.com
dan.rubel.usa@gmail.com

License

BSD (LICENSE)

Dependencies

path

More

Packages that depend on rpi_gpio