esc_pos_dart 1.2.1
esc_pos_dart: ^1.2.1 copied to clipboard
ESC/POS thermal WiFi printer support for Dart (non-Flutter dependent).
We analyzed this package 3 hours ago, and awarded it 150 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.
10/10 points: 20% or more of the public API has dartdoc comments
124 out of 423 API elements (29.3 %) have documentation comments.
Some symbols that are missing documentation: esc_pos_dart.Barcode, esc_pos_dart.Barcode.data, esc_pos_dart.Barcode.type, esc_pos_dart.BarcodeFont, esc_pos_dart.BarcodeFont.fontA.
10/10 points: Package has 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:esc_pos_dart/esc_pos_dart.dartthat imports:package:esc_pos_dart/src/esc_pos_base.dartthat imports:package:esc_pos_dart/src/printer/network_printer.dartthat imports:dart:io
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: Missing type annotation.
lib/src/utils/generator.dart:75:10
╷
75 │ static resolveNewLine({String? newLine, bool isWindows = false}) {
│ ^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/utils/generator.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
charset |
^2.0.1 |
2.0.1 | 2.0.1 | |
collection |
^1.19.1 |
1.19.1 | 1.19.1 | |
gbk_codec |
^0.4.0 |
0.4.0 | 0.4.0 | |
hex |
^0.2.0 |
0.2.0 | 0.2.0 | |
image |
^4.7.2 |
4.8.0 | 4.8.0 | |
resource_portable |
^3.1.2 |
3.1.2 | 3.1.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
archive |
- | 4.0.9 | 4.0.9 | |
async |
- | 2.13.0 | 2.13.0 | |
csslib |
- | 1.0.2 | 1.0.2 | |
ffi |
- | 2.2.0 | 2.2.0 | |
html |
- | 0.15.6 | 0.15.6 | |
http |
- | 1.6.0 | 1.6.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
meta |
- | 1.18.1 | 1.18.1 | |
path |
- | 1.9.1 | 1.9.1 | |
petitparser |
- | 7.0.2 | 7.0.2 | |
posix |
- | 6.0.3 | 6.0.3 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
web |
- | 1.1.1 | 1.1.1 | |
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.10, Dart 3.11.0.
Check the analysis log for details.