drago_blue_printer 0.0.4 drago_blue_printer: ^0.0.4 copied to clipboard
A Flutter plugin for connecting to thermal printer via bluetooth
We analyzed this package 5 days ago, and awarded it 130 pub points (of a possible 140):
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: CPL-1.0
.
10/10 points: 20% or more of the public API has dartdoc comments
17 out of 44 API elements (38.6 %) have documentation comments.
Some symbols that are missing documentation: drago_blue_printer
, drago_blue_printer.BluetoothDevice
, drago_blue_printer.BluetoothDevice.BluetoothDevice
, drago_blue_printer.BluetoothDevice.address
, drago_blue_printer.BluetoothDevice.connected
.
10/10 points: Package has 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:drago_blue_printer/drago_blue_printer.dart
that declares support for platforms:Android
,iOS
,macOS
.
Package does not support platform `Linux`.
Because:
package:drago_blue_printer/drago_blue_printer.dart
that declares support for platforms:Android
,iOS
,macOS
.
Package does not support platform `Web`.
Because:
package:drago_blue_printer/drago_blue_printer.dart
that declares support for platforms:Android
,iOS
,macOS
.
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `macOS`.
Because:
package:drago_blue_printer/drago_blue_printer.dart
that imports:package:permission_handler/permission_handler.dart
that declares support for platforms:Android
,iOS
,Windows
,Web
.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 5 issues. Showing the first 2:
INFO: The import of 'dart:typed_data' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/services.dart'.
lib/drago_blue_printer.dart:2:8
╷
2 │ import 'dart:typed_data';
│ ^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/drago_blue_printer.dart
INFO: Statements in an if should be enclosed in a block.
lib/drago_blue_printer.dart:78:7
╷
78 │ hasAccess = await Permission.bluetoothScan.request().isGranted;
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/drago_blue_printer.dart
10/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 |
permission_handler |
any |
11.3.1 | 11.3.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
characters |
- | 1.3.0 | 1.3.0 |
collection |
- | 1.18.0 | 1.18.0 |
flutter_web_plugins |
- | 0.0.0 | 0.0.0 |
material_color_utilities |
- | 0.8.0 | 0.11.1 |
meta |
- | 1.11.0 | 1.14.0 |
permission_handler_android |
- | 12.0.6 | 12.0.6 |
permission_handler_apple |
- | 9.4.4 | 9.4.4 |
permission_handler_html |
- | 0.1.1 | 0.1.1 |
permission_handler_platform_interface |
- | 4.2.1 | 4.2.1 |
permission_handler_windows |
- | 0.2.1 | 0.2.1 |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 |
sky_engine |
- | 0.0.99 | 0.0.99 |
vector_math |
- | 2.1.4 | 2.1.4 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
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.