Skip to main content

arduino_connection 0.0.2 copy "arduino_connection: ^0.0.2" to clipboard
arduino_connection: ^0.0.2 copied to clipboard

A Flutter package for connecting to an Arduino using serial communication.

115/ 160
pub points
40
downloads

We analyzed this package 6 days ago, and awarded it 115 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
15 / 30trigger folding of the section

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

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

Repository URL doesn't exist.

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

Passed check 5/5 points: Provide a valid README.md

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` does not contain reference to the current version ("0.0.2").

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

Failed check 0/10 points: Use an OSI-approved license

No license was recognized.

Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

3 out of 8 API elements (37.5 %) have documentation comments.

Some symbols that are missing documentation: arduino_connection, arduino_connection.ArduinoConnection, arduino_connection.ArduinoConnection.ArduinoConnection.new, main, main.main.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Windows

These platforms are not supported:

Package does not support platform `Android`.

Because:

  • package:arduino_connection/arduino_connection.dart that imports:
  • package:serial_port_win32/serial_port_win32.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:arduino_connection/arduino_connection.dart that imports:
  • package:serial_port_win32/serial_port_win32.dart that declares support for platforms: Windows.
Package does not support platform `Linux`.

Because:

  • package:arduino_connection/arduino_connection.dart that imports:
  • package:serial_port_win32/serial_port_win32.dart that declares support for platforms: Windows.
Package does not support platform `macOS`.

Because:

  • package:arduino_connection/arduino_connection.dart that imports:
  • package:serial_port_win32/serial_port_win32.dart that declares support for platforms: Windows.
Package does not support platform `Web`.

Because:

  • package:arduino_connection/arduino_connection.dart that imports:
  • package:serial_port_win32/serial_port_win32.dart that declares support for platforms: Windows.
Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

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

Found 15 issues. Showing the first 2:

INFO: Don't invoke 'print' in production code.

lib/arduino_connection.dart:11:7

   ╷
11 │       print("⚠️ No available ports.");
   │       ^^^^^
   ╵

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

INFO: Don't invoke 'print' in production code.

lib/arduino_connection.dart:19:7

   ╷
19 │       print("🔍 Checking port: ${portInfo.portName}");
   │       ^^^^^
   ╵

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

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
serial_port_win32 ^2.1.12 2.3.0 3.0.0
Transitive dependencies
Package Constraint Compatible Latest Notes
collection - 1.19.1 1.19.1
ffi - 2.2.0 2.2.0
win32 - 5.15.0 6.4.0

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

The constraint `^2.1.12` on serial_port_win32 does not support the stable version `3.0.0`.

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

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.19, Dart 3.13.5.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
3
likes
115
points
40
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Flutter package for connecting to an Arduino using serial communication.

Homepage
Repository (GitHub)

License

unknown (license)

Dependencies

serial_port_win32

More

Packages that depend on arduino_connection