native_pdf_view 6.0.0+1 icon indicating copy to clipboard operation
native_pdf_view: ^6.0.0+1 copied to clipboard

Flutter plugin to render PDF files on Web, MacOS, Windows, Android and iOS.

384
likes
110/ 140
pub points
97%
popularity

We analyzed this package 12 hours ago, and awarded it 110 pub points (of a possible 140):

icon indicating section status
Follow Dart file conventions
20 / 30icon to trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

Repository URL doesn't exist.

At the time of the analysis https://github.com/rbcprolabs/packages.flutter/tree/master/packages/native_pdf_view 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

10/10 points: Use an OSI-approved license

Detected license: MIT.

icon indicating section status
Provide documentation
10 / 20icon to trigger folding of the section

10/10 points: Package has an example

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

  • 0 out of 1 API elements (0.0 %) 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.

icon indicating section status
Platform support
20 / 20icon to trigger folding of the section

20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, MacOS, Linux)

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ MacOS
  • ✓ Web

These platforms are not supported:

Package does not support platform `Linux`.

Because:

  • package:native_pdf_view/native_pdf_view.dart that imports:
  • package:pdfx/pdfx.dart that declares support for platforms: Android, iOS, Windows, macOS, 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:native_pdf_view/native_pdf_view.dart that imports:
  • package:pdfx/pdfx.dart that imports:
  • package:pdfx/src/viewer/simple/pdf_view.dart that imports:
  • package:pdfx/src/renderer/has_pdf_support.dart that imports:
  • package:device_info_plus/device_info_plus.dart that imports:
  • dart:io
icon indicating section status
Pass static analysis
30 / 30icon to trigger folding of the section

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

icon indicating section status
Support up-to-date dependencies
10 / 20icon to trigger folding of the section

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

PackageConstraintCompatibleLatest
flutterflutter0.0.00.0.0
pdfx^1.0.11.0.1+12.3.0
Transitive dependencies
PackageConstraintCompatibleLatest
characters-1.2.11.3.0
collection-1.17.01.17.1
crypto-3.0.23.0.2
device_info_plus-3.2.48.1.0
device_info_plus_linux-2.1.15.0.0
device_info_plus_macos-2.2.35.0.0
device_info_plus_platform_interface-2.6.17.0.0
device_info_plus_web-2.1.05.0.0
device_info_plus_windows-2.1.16.0.0
extension-0.2.00.6.0
ffi-1.2.12.0.1
file-6.1.46.1.4
flutter_web_plugins-0.0.00.0.0
js-0.6.50.6.7
material_color_utilities-0.2.00.3.0
meta-1.8.01.9.1
path-1.8.31.8.3
photo_view-0.13.00.14.0
plugin_platform_interface-2.1.42.1.4
sky_engine-0.0.990.0.99
synchronized-3.0.13.0.1
typed_data-1.3.11.3.1
universal_platform-1.0.0+11.0.0+1
uuid-3.0.73.0.7
vector_math-2.1.42.1.4
win32-2.6.14.1.1

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

The constraint `^1.0.1` on pdfx does not support the stable version `2.0.0`.

Try running dart pub upgrade --major-versions pdfx to update the constraint.

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

icon indicating section status
Support sound null safety
20 / 20icon to trigger folding of the section

20/20 points: Package and dependencies are fully migrated to null safety!

Analysed with Pana 0.21.27, Flutter 3.7.7, Dart 2.19.4.

384
likes
110
pub points
97%
popularity

Publisher

verified publisher iconserge.software

Flutter plugin to render PDF files on Web, MacOS, Windows, Android and iOS.

View/report issues

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

flutter, pdfx

More

Packages that depend on native_pdf_view