flserial 0.5.3
flserial: ^0.5.3 copied to clipboard
Flutter Serial Port Plugin FFI based on great C library. Useful to communicate with RS232 devices.
We analyzed this package 5 days ago, and awarded it 120 pub points (of a possible 160):
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: MIT.
0/10 points: 20% or more of the public API has dartdoc comments
24 out of 169 API elements (14.2 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs lint.
Some symbols that are missing documentation: flserial, flserial.FlSerial, flserial.FlSerial.FlSerial.new, flserial.FlSerial.close, flserial.FlSerial.dataStream.
10/10 points: Package has an example
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:flserial/flserial.dartthat imports:package:flserial/serial_scanner.dartthat imports:dart:io
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 99 issues. Showing the first 2:
WARNING: The declaration '__int8_t' isn't referenced.
lib/flserial_port_bindings.dart:218:9
╷
218 │ typedef __int8_t = ffi.SignedChar;
│ ^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/flserial_port_bindings.dart
WARNING: The declaration '__uint8_t' isn't referenced.
lib/flserial_port_bindings.dart:220:9
╷
220 │ typedef __uint8_t = ffi.UnsignedChar;
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/flserial_port_bindings.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
code_assets |
^1.0.0 |
1.0.0 | 1.0.0 | |
ffi |
^2.2.0 |
2.2.0 | 2.2.0 | |
hooks |
^1.0.0 |
1.0.3 | 1.0.3 | |
logging |
^1.3.0 |
1.3.0 | 1.3.0 | |
native_assets_cli |
^0.18.0 |
0.18.0 | 0.18.0 | Discontinued |
native_toolchain_c |
^0.17.4 |
0.17.6 | 0.18.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.1 | 2.13.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
file |
- | 7.0.1 | 7.0.1 | |
glob |
- | 2.1.3 | 2.1.3 | |
meta |
- | 1.18.2 | 1.18.2 | |
path |
- | 1.9.1 | 1.9.1 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
record_use |
- | 0.6.0 | 0.6.0 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^0.17.4` on native_toolchain_c does not support the stable version `0.18.0`, that was published 6 days ago.
When native_toolchain_c is 30 days old, this package will no longer be awarded points in this category.
Try running dart pub upgrade --major-versions native_toolchain_c to update the constraint.
The package has one or more discontinued direct dependencies.
Discontinued packages are no longer maintained, and can end up being a
liability.
Consider migrating away from these dependencies:
- native_assets_cli.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.12, Dart 3.11.5.
Check the analysis log for details.