flutter_printer_manager 1.0.2
flutter_printer_manager: ^1.0.2 copied to clipboard
Flutter plugin for interacting with printers on different platforms with main target to esc pos devices
We analyzed this package 7 hours ago, and awarded it 130 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: BSD-3-Clause
.
0/10 points: 20% or more of the public API has dartdoc comments
4 out of 54 API elements (7.4 %) 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: flutter_printer_manager
, flutter_printer_manager.FlutterPrinterController
, flutter_printer_manager.FlutterPrinterController.connect
, flutter_printer_manager.FlutterPrinterController.discovery
, flutter_printer_manager.FlutterPrinterController.instance
.
10/10 points: Package has an example
20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Android
These platforms are not supported:
Package does not support platform `iOS`.
Because:
package:flutter_printer_manager/flutter_printer_manager.dart
that declares support for platforms:Android
.
Package does not support platform `Windows`.
Because:
package:flutter_printer_manager/flutter_printer_manager.dart
that declares support for platforms:Android
.
Package does not support platform `Linux`.
Because:
package:flutter_printer_manager/flutter_printer_manager.dart
that declares support for platforms:Android
.
Package does not support platform `macOS`.
Because:
package:flutter_printer_manager/flutter_printer_manager.dart
that declares support for platforms:Android
.
Package does not support platform `Web`.
Because:
package:flutter_printer_manager/flutter_printer_manager.dart
that declares support for platforms:Android
.
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Android`.
Because:
package:flutter_printer_manager/flutter_printer_manager.dart
that imports:package:flutter_printer_manager/src/models/tcp_printer_connector.dart
that imports:package:network_info_plus/network_info_plus.dart
that imports:package:network_info_plus/src/network_info_plus_windows.dart
that imports:package:win32/winsock2.dart
that declares support for platforms:Windows
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:flutter_printer_manager/flutter_printer_manager.dart
that imports:package:flutter_printer_manager/src/models/tcp_printer_connector.dart
that imports:package:network_info_plus/network_info_plus.dart
that imports:package:network_info_plus/src/network_info_plus_linux.dart
that imports:package:nm/nm.dart
that imports:package:nm/src/network_manager_client.dart
that imports:package:dbus/dbus.dart
that imports:package:dbus/src/dbus_value.dart
that imports:dart:io
This package is not compatible with runtime wasm
, and will not be rewarded full points in a future version of the scoring model.
See https://dart.cn/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 9 issues. Showing the first 2:
WARNING: The value of the local variable 'result' isn't used.
lib/src/models/tcp_printer_connector.dart:68:14
╷
68 │ IOSink result = await _socket?.flush();
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/models/tcp_printer_connector.dart
INFO: The import of 'package:flutter_printer_manager_platform_interface/flutter_printer_manager_platform_interface.dart' is unnecessary because all of the used elements are also provided by the import of 'package:flutter_printer_manager/flutter_printer_manager.dart'.
lib/src/flutter_printer_controller.dart:6:8
╷
6 │ import 'package:flutter_printer_manager_platform_interface/flutter_printer_manager_platform_interface.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/flutter_printer_controller.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
flutter_printer_manager_android |
^1.0.0 |
1.1.0 | 1.1.0 | |
flutter_printer_manager_platform_interface |
^1.0.0 |
1.1.0 | 1.1.0 | |
logger |
^2.4.0 |
2.6.2 | 2.6.2 | |
network_info_plus |
^6.0.1 |
6.1.4 | 7.0.0 | |
path_provider |
^2.1.4 |
2.1.5 | 2.1.5 | |
plugin_platform_interface |
^2.1.8 |
2.1.8 | 2.1.8 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
_fe_analyzer_shared |
- | 85.0.0 | 90.0.0 | |
analyzer |
- | 7.7.1 | 8.3.0 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
built_collection |
- | 5.1.1 | 5.1.1 | |
built_value |
- | 8.12.0 | 8.12.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
code_builder |
- | 4.11.0 | 4.11.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
crypto |
- | 3.0.6 | 3.0.6 | |
dart_style |
- | 3.1.1 | 3.1.2 | |
dbus |
- | 0.7.11 | 0.7.11 | |
ffi |
- | 2.1.4 | 2.1.4 | |
file |
- | 7.0.1 | 7.0.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
glob |
- | 2.1.3 | 2.1.3 | |
graphs |
- | 2.3.2 | 2.3.2 | |
matcher |
- | 0.12.17 | 0.12.17 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
network_info_plus_platform_interface |
- | 2.0.2 | 2.0.2 | |
nm |
- | 0.5.0 | 0.5.0 | |
package_config |
- | 2.2.0 | 2.2.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider_android |
- | 2.2.19 | 2.2.19 | |
path_provider_foundation |
- | 2.4.2 | 2.4.2 | |
path_provider_linux |
- | 2.2.1 | 2.2.1 | |
path_provider_platform_interface |
- | 2.1.2 | 2.1.2 | |
path_provider_windows |
- | 2.3.0 | 2.3.0 | |
petitparser |
- | 7.0.1 | 7.0.1 | |
pigeon |
- | 26.0.1 | 26.0.1 | |
platform |
- | 3.1.6 | 3.1.6 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
source_span |
- | 1.10.1 | 1.10.1 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test_api |
- | 0.7.7 | 0.7.7 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
watcher |
- | 1.1.4 | 1.1.4 | |
win32 |
- | 5.15.0 | 5.15.0 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
xml |
- | 6.6.1 | 6.6.1 | |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^6.0.1` on network_info_plus does not support the stable version `7.0.0`, that was published 29 days ago.
When network_info_plus is 30 days old, this package will no longer be awarded points in this category.
Try running dart pub upgrade --major-versions network_info_plus
to update the constraint.
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.22.23
, Flutter 3.35.5
, Dart 3.9.2
.
Check the analysis log for details.