printing_ohos 1.0.1 copy "printing_ohos: ^1.0.1" to clipboard
printing_ohos: ^1.0.1 copied to clipboard

Plugin that allows Flutter apps to generate and print documents to compatible printers on ohos print.

75/ 160
pub points
6
downloads

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

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

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

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: Apache-2.0.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

202 out of 251 API elements (80.5 %) have documentation comments.

Some symbols that are missing documentation: printing, printing.OutputType, printing.PdfActionBarTheme, printing.PdfActionBarTheme.actionSpacing, printing.PdfActionBarTheme.alignment.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

Failed check 0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

These platforms are not supported:

Package does not support platform `Android`.

Because:

  • package:printing_ohos/printing.dart that declares support for platforms: .
Package does not support platform `iOS`.

Because:

  • package:printing_ohos/printing.dart that declares support for platforms: .
Package does not support platform `Windows`.

Because:

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

Because:

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

Because:

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

Because:

  • package:printing_ohos/printing.dart that declares support for platforms: .
Failed report section
Pass static analysis
0 / 50trigger folding of the section

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

Found 5 issues. Showing the first 2:

ERROR: The operator '[]=' isn't defined for the type 'Window'.

lib/printing_web.dart:132:19

    ╷
132 │         web.window['module'] = module;
    │                   ^^^^^^^^^^
    ╵

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

ERROR: The operator '[]=' isn't defined for the type 'Window'.

lib/printing_web.dart:135:19

    ╷
135 │         web.window['exports'] = exports;
    │                   ^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/printing_web.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

Package Constraint Compatible Latest Notes
ffi >=1.1.0 <3.0.0 2.1.4 2.1.4
http >=0.13.0 <2.0.0 1.6.0 1.6.0
image ^4.1.0 4.5.4 4.7.2
meta >=1.3.0 <2.0.0 1.17.0 1.17.0
pdf ^3.10.0 3.11.3 3.11.3
pdf_widget_wrapper >=1.0.4 <2.0.0 1.0.4 1.0.4
plugin_platform_interface ^2.1.0 2.1.8 2.1.8
web ^1.0.0 1.1.1 1.1.1
Transitive dependencies
Package Constraint Compatible Latest Notes
archive - 4.0.7 4.0.7
async - 2.13.0 2.13.0
barcode - 2.2.9 2.2.9
bidi - 2.0.13 2.0.13
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
crypto - 3.0.7 3.0.7
http_parser - 4.1.2 4.1.2
material_color_utilities - 0.11.1 0.13.0
path - 1.9.1 1.9.1
path_parsing - 1.1.0 1.1.0
petitparser - 7.0.1 7.0.1
posix - 6.0.3 6.0.3
qr - 3.0.2 3.0.2
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.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.

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.23.3, Flutter 3.38.4, Dart 3.10.3.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
75
points
6
downloads

Publisher

unverified uploader

Weekly Downloads

Plugin that allows Flutter apps to generate and print documents to compatible printers on ohos print.

Repository

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

ffi, flutter, flutter_web_plugins, http, image, meta, pdf, pdf_widget_wrapper, plugin_platform_interface, web

More

Packages that depend on printing_ohos

Packages that implement printing_ohos