pdfium_bindings 3.1.1 copy "pdfium_bindings: ^3.1.1" to clipboard
pdfium_bindings: ^3.1.1 copied to clipboard

This project aims to wrap the complete [Pdfium](https://pdfium.googlesource.com/pdfium/) API in dart, over FFI.

130/ 160
pub points
77
downloads

We analyzed this package 8 hours ago, and awarded it 130 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 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

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

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

Detected license: MIT.

Partially passed report section
Provide documentation
10 / 20trigger folding of the section

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

66 out of 359 API elements (18.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: pdfium_bindings, pdfium_bindings.DartFPDF_ANNOTATION_SUBTYPE, pdfium_bindings.DartFPDF_ANNOT_APPEARANCEMODE, pdfium_bindings.DartFPDF_BOOL, pdfium_bindings.DartFPDF_DWORD.

Passed check 10/10 points: Package has an example

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

Passed check 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:pdfium_bindings/pdfium_bindings.dart that imports:
  • package:pdfium_bindings/src/utils/pdfium_service_mutex.dart that imports:
  • package:native_synchronization/primitives.dart that imports:
  • package:native_synchronization/src/bindings/winapi.dart that imports:
  • dart:ffi
Passed report section
Pass static analysis
50 / 50trigger folding of the section

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

Failed report section
Support up-to-date dependencies
20 / 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 >=2.1.1 <4.0.0 2.1.4 2.1.4
image >=4.0.0 <5.0.0 4.7.2 4.7.2
native_synchronization ^0.3.1 0.3.1 0.3.1
path >=1.9.0 <2.5.0 1.9.1 1.9.1
Transitive dependencies
Package Constraint Compatible Latest Notes
archive - 4.0.7 4.0.7
collection - 1.19.1 1.19.1
crypto - 3.0.7 3.0.7
meta - 1.17.0 1.17.0
petitparser - 7.0.1 7.0.1
posix - 6.0.3 6.0.3
typed_data - 1.4.0 1.4.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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 4 errors:

  • UNDEFINED_NAMED_PARAMETER - lib/src/pdfium_wrap.dart:412:7 - The named parameter 'order' isn't defined.
  • UNDEFINED_IDENTIFIER - lib/src/pdfium_wrap.dart:412:14 - Undefined name 'ChannelOrder'.
  • UNDEFINED_NAMED_PARAMETER - lib/src/pdfium_wrap.dart:575:7 - The named parameter 'order' isn't defined.

Run dart pub downgrade and then dart analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.23.5, Dart 3.10.7.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
11
likes
130
points
77
downloads

Publisher

unverified uploader

Weekly Downloads

This project aims to wrap the complete [Pdfium](https://pdfium.googlesource.com/pdfium/) API in dart, over FFI.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

ffi, image, native_synchronization, path

More

Packages that depend on pdfium_bindings