sunmi_printer_service 0.1.3 copy "sunmi_printer_service: ^0.1.3" to clipboard
sunmi_printer_service: ^0.1.3 copied to clipboard

PlatformAndroid

商米打印服务

3
likes
120/ 160
pub points
26
downloads

We analyzed this package 4 days ago, and awarded it 120 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
10 / 30trigger folding of the section

Failed check 0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 50 to 180 characters to describe the package, what it does, and its target use case.

The package description contains too many non-ASCII characters.

The site uses English as its primary language. The content of the description field in your package's pubspec.yaml should primarily contain characters used in English.

Failed check 0/5 points: Provide a valid README.md

`README.md` contains too many non-ASCII characters.

The site uses English as its primary language. The content of README.md in your package should primarily contain characters used in English.

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` contains too many non-ASCII characters.

The site uses English as its primary language. The content of CHANGELOG.md in your package should primarily contain characters used in English.

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

28 out of 49 API elements (57.1 %) have documentation comments.

Some symbols that are missing documentation: barcode_enum, barcode_enum.BarCodeTextTypeExt, barcode_enum.BarCodeTextTypeExt.value, barcode_enum.BarCodeTypeExt, barcode_enum.BarCodeTypeExt.value.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 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:sunmi_printer_service/sunmi_printer_service.dart that declares support for platforms: Android.
Package does not support platform `Windows`.

Because:

  • package:sunmi_printer_service/sunmi_printer_service.dart that declares support for platforms: Android.
Package does not support platform `Linux`.

Because:

  • package:sunmi_printer_service/sunmi_printer_service.dart that declares support for platforms: Android.
Package does not support platform `macOS`.

Because:

  • package:sunmi_printer_service/sunmi_printer_service.dart that declares support for platforms: Android.
Package does not support platform `Web`.

Because:

  • package:sunmi_printer_service/sunmi_printer_service.dart that declares support for platforms: Android.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:sunmi_printer_service/sunmi_printer_service.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.

Failed report section
Pass static analysis
30 / 50trigger folding of the section

Failed check 30/50 points: code has no errors, warnings, lints, or formatting issues

Found 3 issues. Showing the first 2:

WARNING: Unused import: 'dart:ffi'.

lib/sunmi_printer_service.dart:2:8

  ╷
2 │ import 'dart:ffi';
  │        ^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/sunmi_printer_service.dart

WARNING: This function has a nullable return type of 'FutureOr

lib/sunmi_printer_service.dart:157:23

    ╷
157 │   static Future<int?> cutPaperTimes() async {
    │                       ^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/sunmi_printer_service.dart

Passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

Passed check 10/10 points: All of the package dependencies are supported in the latest version

No dependencies.

Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.0
collection - 1.19.1 1.19.1
material_color_utilities - 0.11.1 0.12.0
meta - 1.16.0 1.16.0
vector_math - 2.1.4 2.1.5

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.20, Flutter 3.29.2, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
3
likes
120
points
26
downloads

Publisher

verified publisherlaihz.tech

Weekly Downloads

商米打印服务

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on sunmi_printer_service