alh_pdf_view_platform_interface 2.3.1 copy "alh_pdf_view_platform_interface: ^2.3.1" to clipboard
alh_pdf_view_platform_interface: ^2.3.1 copied to clipboard

Platform interface of the alh_pdf_view plugin.

0
likes
110/ 160
pub points
2.47k
downloads

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

Failed report section
Follow Dart file conventions
20 / 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.

Repository URL doesn't exist.

At the time of the analysis https://github.com/alhappler/alh_pdf_view/alh_pdf_view_platform_interface was unreachable. Make sure that the website is reachable via HEAD requests.

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: BSD-3-Clause.

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

30 out of 88 API elements (34.1 %) have documentation comments.

Some symbols that are missing documentation: alh_pdf_view_platform_interface, alh_pdf_view_platform_interface.AlhPdfViewCreationParams.AlhPdfViewCreationParams.new, alh_pdf_view_platform_interface.AlhPdfViewCreationParams.autoSpacing, alh_pdf_view_platform_interface.AlhPdfViewCreationParams.backgroundColor, alh_pdf_view_platform_interface.AlhPdfViewCreationParams.bytes.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

Passed check 0/0 points: WASM compatibility

This package is compatible with runtime wasm, and will be rewarded additional points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

INFO: 'value' is deprecated and shouldn't be used. Use component accessors like .r or .g, or toARGB32 for an explicit conversion.

lib/src/types/alh_pdf_view_creation_params.dart:74:49

   ╷
74 │         'backgroundColor': this.backgroundColor.value,
   │                                                 ^^^^^
   ╵

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

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
plugin_platform_interface ^2.0.2 2.1.8 2.1.8
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

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

downgrade analysis failed failed with 1 error:

  • UNDEFINED_METHOD - lib/src/platform_interface/alh_pdf_view_platform.dart:38:23 - The method 'verify' isn't defined for the type 'PlatformInterface'.

Run flutter pub downgrade and then flutter 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.22.20, Flutter 3.29.2, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
110
points
2.47k
downloads

Publisher

unverified uploader

Weekly Downloads

Platform interface of the alh_pdf_view plugin.

Repository (GitHub)

Topics

#pdf #pdf-flutter

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on alh_pdf_view_platform_interface