thermal_print 0.0.2
thermal_print: ^0.0.2 copied to clipboard
A flutter package which will help to print from thermal printer.
We analyzed this package 4 days ago, and awarded it 95 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
-
pubspec.yamldoesn't have ahomepageentry. -
pubspec.yamldoesn't have arepositoryentry.
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("0.0.2").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
0/10 points: Use an OSI-approved license
No license was recognized.
Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.
0/10 points: 20% or more of the public API has dartdoc comments
3 out of 84 API elements (3.6 %) 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: PrintItemText, PrintItemText.PrintItemText, PrintItemText.PrintItemText.PrintItemText.new, PrintItemText.PrintItemText.amount, PrintItemText.PrintItemText.name.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add 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:thermal_print/api/api_implementation/thermal_print.dartthat imports:package:thermal_print/prints/thermal_print_documents.dartthat imports:package:thermal_print/helper/esc_pos_print.dartthat imports:package:esc_pos_printer/esc_pos_printer.dartthat imports:package:esc_pos_printer/src/network_printer.dartthat imports:dart:io
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
WARNING: The value of the local variable 'totalWidth' isn't used.
lib/helper/esc_pos_print.dart:23:9
╷
23 │ int totalWidth = 48;
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/helper/esc_pos_print.dart
INFO: The file name 'PrintItemText.dart' isn't a lower_case_with_underscores identifier.
To reproduce make sure you are using the lints_core and run flutter analyze lib/models/PrintItemText.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
esc_pos_printer |
^4.1.0 |
4.1.0 | 4.1.0 | |
esc_pos_utils |
^1.1.0 |
1.1.0 | 1.1.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
archive |
- | 3.6.1 | 4.0.7 | |
characters |
- | 1.4.0 | 1.4.1 | |
charset_converter |
- | 2.3.0 | 2.3.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
csslib |
- | 1.0.2 | 1.0.2 | |
gbk_codec |
- | 0.4.0 | 0.4.0 | |
hex |
- | 0.2.0 | 0.2.0 | |
html |
- | 0.15.6 | 0.15.6 | |
image |
- | 3.3.0 | 4.7.2 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.0 | |
path |
- | 1.9.1 | 1.9.1 | |
petitparser |
- | 7.0.1 | 7.0.1 | |
source_span |
- | 1.10.1 | 1.10.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
xml |
- | 6.6.1 | 6.6.1 |
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.23.8, Flutter 3.38.6, Dart 3.10.7.
Check the analysis log for details.