flutter_esc_pos_bluetooth 0.0.2 flutter_esc_pos_bluetooth: ^0.0.2 copied to clipboard
The library allows to print receipts using an ESC/POS thermal Bluetooth printer.
We analyzed this package 4 hours ago, and awarded it 80 pub points (of a possible 140):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
Please provide a valid repository
URL in pubspec.yaml
, such that:
repository
can be cloned,- a clone of the repository contains a
pubspec.yaml
, which:,- contains
name: flutter_esc_pos_bluetooth
, - contains a
version
property, and, - does not contain a
publish_to
property.
- contains
Repository has no matching pubspec.yaml
with name: flutter_esc_pos_bluetooth
.
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
.
0/10 points: 20% or more of the public API has dartdoc comments
2 out of 25 API elements (8.0 %) 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.
Some symbols that are missing documentation: flutter_esc_pos_bluetooth
, flutter_esc_pos_bluetooth.PosPrintResult
, flutter_esc_pos_bluetooth.PosPrintResult.msg
, flutter_esc_pos_bluetooth.PosPrintResult.print
, flutter_esc_pos_bluetooth.PosPrintResult.printInProgress
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Android
- ✓ iOS
- ✓ macOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:flutter_esc_pos_bluetooth/flutter_esc_pos_bluetooth.dart
that imports:package:flutter_esc_pos_bluetooth/src/printer_bluetooth_manager.dart
that imports:package:flutter_blue/flutter_blue.dart
that declares support for platforms:Android
,iOS
,macOS
.
Package does not support platform `Linux`.
Because:
package:flutter_esc_pos_bluetooth/flutter_esc_pos_bluetooth.dart
that imports:package:flutter_esc_pos_bluetooth/src/printer_bluetooth_manager.dart
that imports:package:flutter_blue/flutter_blue.dart
that declares support for platforms:Android
,iOS
,macOS
.
Package does not support platform `Web`.
Because:
package:flutter_esc_pos_bluetooth/flutter_esc_pos_bluetooth.dart
that imports:package:flutter_esc_pos_bluetooth/src/printer_bluetooth_manager.dart
that imports:package:flutter_blue/flutter_blue.dart
that declares support for platforms:Android
,iOS
,macOS
.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 6 issues. Showing the first 2:
WARNING: The value of the field '_bluetoothServices' isn't used.
lib/src/printer_bluetooth_manager.dart:40:27
╷
40 │ List<BluetoothService>? _bluetoothServices;
│ ^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/printer_bluetooth_manager.dart
WARNING: The value of the local variable 'timeout' isn't used.
lib/src/printer_bluetooth_manager.dart:93:15
╷
93 │ const int timeout = 5;
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/printer_bluetooth_manager.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
flutter |
flutter |
0.0.0 | 0.0.0 |
flutter_blue |
^0.8.0 |
0.8.0 | 0.8.0 |
rxdart |
^0.26.0 |
0.26.0 | 0.27.7 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
characters |
- | 1.3.0 | 1.3.0 |
collection |
- | 1.18.0 | 1.18.0 |
convert |
- | 3.1.1 | 3.1.1 |
fixnum |
- | 1.1.0 | 1.1.0 |
material_color_utilities |
- | 0.8.0 | 0.11.1 |
meta |
- | 1.11.0 | 1.14.0 |
protobuf |
- | 2.1.0 | 3.1.0 |
sky_engine |
- | 0.0.99 | 0.0.99 |
typed_data |
- | 1.3.2 | 1.3.2 |
vector_math |
- | 2.1.4 | 2.1.4 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^0.26.0` on rxdart does not support the stable version `0.27.0`.
Try running dart pub upgrade --major-versions rxdart
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
Analyzed with Pana 0.22.3
, Flutter 3.19.6
, Dart 3.3.4
.
Check the analysis log for details.