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 5 days ago, and awarded it 130 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Issue tracker URL doesn't exist.
At the time of the analysis https://github.com/hallmayer/flutter_printer_manager/issues
was unreachable. Make sure that the website is reachable via HEAD
requests.
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_windows.dart
that imports:package:win32/winsock2.dart
that imports:package:win32/src/win32/ws2_32.g.dart
that imports:package:win32/src/variant.dart
that imports:package:win32/src/win32/oleaut32.g.dart
that imports:package:win32/src/structs.g.dart
that imports:package:win32/src/guid.dart
that imports:package:win32/src/win32/ole32.g.dart
that imports:package:win32/src/combase.dart
that imports:package:win32/src/utils.dart
that imports:package:win32/src/win32/user32.g.dart
that imports:package:win32/src/callbacks.dart
that imports:package:win32/src/types.dart
that imports:package:ffi/ffi.dart
that imports:package:ffi/src/utf8.dart
that imports:dart:ffi
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.dev/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 |
---|---|---|---|
flutter |
flutter |
0.0.0 | 0.0.0 |
flutter_printer_manager_android |
^1.0.0 |
1.0.0 | 1.0.0 |
flutter_printer_manager_platform_interface |
^1.0.0 |
1.0.0 | 1.0.0 |
logger |
^2.4.0 |
2.5.0 | 2.5.0 |
network_info_plus |
^6.0.1 |
6.1.2 | 6.1.2 |
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 |
---|---|---|---|
_fe_analyzer_shared |
- | 76.0.0 | 78.0.0 |
_macros |
- | 0.3.3 | 0.3.3 |
analyzer |
- | 6.11.0 | 7.1.0 |
args |
- | 2.6.0 | 2.6.0 |
async |
- | 2.12.0 | 2.12.0 |
boolean_selector |
- | 2.1.2 | 2.1.2 |
built_collection |
- | 5.1.1 | 5.1.1 |
built_value |
- | 8.9.3 | 8.9.3 |
characters |
- | 1.3.0 | 1.4.0 |
code_builder |
- | 4.10.1 | 4.10.1 |
collection |
- | 1.19.0 | 1.19.1 |
convert |
- | 3.1.2 | 3.1.2 |
crypto |
- | 3.0.6 | 3.0.6 |
dart_style |
- | 2.3.7 | 3.0.1 |
dbus |
- | 0.7.10 | 0.7.10 |
ffi |
- | 2.1.3 | 2.1.3 |
file |
- | 7.0.1 | 7.0.1 |
fixnum |
- | 1.1.1 | 1.1.1 |
flutter_web_plugins |
- | 0.0.0 | 0.0.0 |
glob |
- | 2.1.2 | 2.1.2 |
macros |
- | 0.1.3-main.0 | 0.1.3-main.0 |
matcher |
- | 0.12.17 | 0.12.17 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
meta |
- | 1.15.0 | 1.16.0 |
network_info_plus_platform_interface |
- | 2.0.2 | 2.0.2 |
nm |
- | 0.5.0 | 0.5.0 |
package_config |
- | 2.1.1 | 2.1.1 |
path |
- | 1.9.1 | 1.9.1 |
path_provider_android |
- | 2.2.15 | 2.2.15 |
path_provider_foundation |
- | 2.4.1 | 2.4.1 |
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 |
- | 6.0.2 | 6.0.2 |
pigeon |
- | 21.2.0 | 22.7.0 |
platform |
- | 3.1.6 | 3.1.6 |
pub_semver |
- | 2.1.5 | 2.1.5 |
sky_engine |
- | 0.0.0 | 0.0.0 |
source_span |
- | 1.10.1 | 1.10.1 |
stack_trace |
- | 1.12.1 | 1.12.1 |
stream_channel |
- | 2.1.3 | 2.1.3 |
string_scanner |
- | 1.4.1 | 1.4.1 |
term_glyph |
- | 1.2.2 | 1.2.2 |
test_api |
- | 0.7.4 | 0.7.4 |
typed_data |
- | 1.4.0 | 1.4.0 |
vector_math |
- | 2.1.4 | 2.1.4 |
watcher |
- | 1.1.1 | 1.1.1 |
win32 |
- | 5.9.0 | 5.9.0 |
xdg_directories |
- | 1.1.0 | 1.1.0 |
xml |
- | 6.5.0 | 6.5.0 |
yaml |
- | 3.1.3 | 3.1.3 |
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
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade
does not expose any static analysis error.
Analyzed with Pana 0.22.17
, Flutter 3.27.0
, Dart 3.6.0
.
Check the analysis log for details.