rpi_gpio 0.5.0
rpi_gpio: ^0.5.0 copied to clipboard

Dart native js
Flutter Android iOS web

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

7
likes
95 / 110
pub points
47 %
popularity

We analyzed this package on Jan 25, 2021, 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 29 issues. Showing the first 2:

INFO: Unnecessary new keyword.

bin/build_lib.dart:11:17

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

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

INFO: Unnecessary new keyword.

bin/build_lib.dart:14:14

   ╷
14 │     dartVm = new File.fromUri(Directory.current.uri.resolve(dartVm.path));
   │              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

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

7
likes
95
pub points
47%
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