pspdfkit_flutter 4.4.2
pspdfkit_flutter: ^4.4.2 copied to clipboard
A Flutter plugin providing a feature-rich PDF viewing and editing experience to your users with the powerful Nutrient PDF SDK.
We analyzed this package 17 hours ago, and awarded it 70 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
Repository has no matching pubspec.yaml with name: pspdfkit_flutter.
Please provide a valid repository URL in pubspec.yaml, such that:
repositorycan be cloned,- a clone of the repository contains a
pubspec.yaml, which:,- contains
name: pspdfkit_flutter, - contains a
versionproperty, and, - does not contain a
publish_toproperty.
- contains
Issue tracker URL doesn't exist.
At the time of the analysis https://support.pspdfkit.com/hc/en-us/requests/new was unreachable. Make sure that the website is reachable via HEAD requests.
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
0/10 points: Use an OSI-approved license
No license was recognized.
Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.
10/10 points: 20% or more of the public API has dartdoc comments
598 out of 1316 API elements (45.4 %) have documentation comments.
Some symbols that are missing documentation: pspdfkit.Pspdfkit.Pspdfkit.new, pspdfkit.Pspdfkit.analyticsEventsListener, pspdfkit.Pspdfkit.enableAnalytics, pspdfkit.Pspdfkit.generatePdf, pspdfkit.Pspdfkit.generatePdfFromHtmlString.
10/10 points: Package has an example
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Web
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:pspdfkit_flutter/pspdfkit_flutter.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `Linux`.
Because:
package:pspdfkit_flutter/pspdfkit_flutter.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `macOS`.
Because:
package:pspdfkit_flutter/pspdfkit_flutter.dartthat declares support for platforms:Android,iOS,Web.
These issues are present but do not affect the score, because they may not originate in your package:
Package not compatible with platform Web
Because:
package:pspdfkit_flutter/pspdfkit_flutter.dartthat imports:package:pspdfkit_flutter/pspdfkit.dartthat imports:package:pspdfkit_flutter/src/pspdfkit_flutter_platform_interface.dartthat imports:package:pspdfkit_flutter/src/pspdfkit_flutter_method_channel.dartthat imports:dart:io
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 75 issues. Showing the first 2:
ERROR: The method 'allowInterop' isn't defined for the type 'PspdfkitWebInstance'.
lib/src/web/pspdfkit_web_instance.dart:354:11
╷
354 │ allowInterop((viewState) {
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/web/pspdfkit_web_instance.dart
ERROR: The method 'allowInterop' isn't defined for the type 'PspdfkitWebInstance'.
lib/src/web/pspdfkit_web_instance.dart:361:11
╷
361 │ allowInterop((viewState) {
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/web/pspdfkit_web_instance.dart
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.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
vector_math |
- | 2.2.0 | 2.2.0 |
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
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 7 errors:
UNDEFINED_METHOD-lib/src/web/pspdfkit_web_instance.dart:354:11- The method 'allowInterop' isn't defined for the type 'PspdfkitWebInstance'.UNDEFINED_METHOD-lib/src/web/pspdfkit_web_instance.dart:361:11- The method 'allowInterop' isn't defined for the type 'PspdfkitWebInstance'.UNDEFINED_METHOD-lib/src/web/pspdfkit_web_instance.dart:384:9- The method 'allowInterop' isn't defined for the type 'PspdfkitWebInstance'.
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.23.5, Flutter 3.38.5, Dart 3.10.4.
Check the analysis log for details.