pdf_viewer_pro 0.0.2 copy "pdf_viewer_pro: ^0.0.2" to clipboard
pdf_viewer_pro: ^0.0.2 copied to clipboard

A full-featured Flutter PDF viewer for Android and iOS. Built on PDFium (pdfrx). Includes annotations, bookmarks, full-text search, thumbnails, table of contents, auto-scroll, dark/light themes, DRM s [...]

130/ 160
pub points
118
downloads

We analyzed this package 10 hours ago, and awarded it 130 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 long.

Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.

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.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

236 out of 527 API elements (44.8 %) have documentation comments.

Some symbols that are missing documentation: pdf_viewer_pro.AnnotationCanvas.AnnotationCanvas.new, pdf_viewer_pro.AnnotationCanvas.activeTool, pdf_viewer_pro.AnnotationCanvas.canvasSize, pdf_viewer_pro.AnnotationCanvas.enabled, pdf_viewer_pro.AnnotationCanvas.highlightColor.

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 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:pdf_viewer_pro/pdf_viewer_pro.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:pdf_viewer_pro/pdf_viewer_pro.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:pdf_viewer_pro/pdf_viewer_pro.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:pdf_viewer_pro/pdf_viewer_pro.dart that declares support for platforms: Android, iOS.
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: 'copySelection' is deprecated and shouldn't be used. Use `contextMenuBuilder` instead. This feature was deprecated after v3.3.0-0.5.pre.

lib/src/viewer/pdf_viewer_screen.dart:873:26

    ╷
873 │                         .copySelection(SelectionChangedCause.toolbar);
    │                          ^^^^^^^^^^^^^
    ╵

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

INFO: 'copySelection' is deprecated and shouldn't be used. Use `contextMenuBuilder` instead. This feature was deprecated after v3.3.0-0.5.pre.

lib/src/viewer/pdf_viewer_screen.dart:1735:26

     ╷
1735 │                         .copySelection(SelectionChangedCause.toolbar);
     │                          ^^^^^^^^^^^^^
     ╵

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

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
http ^1.5.0 1.6.0 1.6.0
path_provider ^2.1.5 2.1.5 2.1.5
pdfrx ^1.0.91 1.3.5 2.4.3
screen_protector ^1.4.10 1.5.2 1.5.2
Transitive dependencies
Package Constraint Compatible Latest Notes
_fe_analyzer_shared - 97.0.0 100.0.0
analyzer - 11.0.0 13.0.0
args - 2.7.0 2.7.0
async - 2.13.1 2.13.1
boolean_selector - 2.1.2 2.1.2
characters - 1.4.1 1.4.1
checked_yaml - 2.0.4 2.0.4
cli_config - 0.2.0 0.2.0
cli_util - 0.4.2 0.5.1
code_assets - 1.2.0 1.2.0
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
coverage - 1.15.0 1.15.0
crypto - 3.0.7 3.0.7
csslib - 1.0.2 1.0.2
dart_pubspec_licenses - 3.2.0 3.2.0
ffi - 2.2.0 2.2.0
file - 7.0.1 7.0.1
frontend_server_client - 4.0.0 4.0.0
glob - 2.1.3 2.1.3
hooks - 2.0.0 2.0.0
html - 0.15.6 0.15.6
http_multi_server - 3.2.2 3.2.2
http_parser - 4.1.2 4.1.2
io - 1.0.5 1.0.5
jni - 1.0.0 1.0.0
jni_flutter - 1.0.1 1.0.1
json_annotation - 4.12.0 4.12.0
lints - 6.1.0 6.1.0
logging - 1.3.0 1.3.0
markdown - 7.3.1 7.3.1
matcher - 0.12.20 0.12.20
material_color_utilities - 0.13.0 0.13.0
meta - 1.18.0 1.18.2
mime - 2.0.0 2.0.0
node_preamble - 2.0.2 2.0.2
objective_c - 9.4.1 9.4.1
package_config - 2.2.0 2.2.0
pana - 0.23.12 0.23.12
path - 1.9.1 1.9.1
path_provider_android - 2.3.1 2.3.1
path_provider_foundation - 2.6.0 2.6.0
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
pool - 1.5.2 1.5.2
pub_semver - 2.2.0 2.2.0
pubspec_parse - 1.5.0 1.5.0
record_use - 0.6.0 0.6.0
retry - 3.1.2 3.1.2
rxdart - 0.28.0 0.28.0
safe_url_check - 1.1.2 1.1.2
shelf - 1.4.2 1.4.2
shelf_packages_handler - 3.0.2 3.0.2
shelf_static - 1.1.3 1.1.3
shelf_web_socket - 3.0.0 3.0.0
source_map_stack_trace - 2.1.2 2.1.2
source_maps - 0.10.13 0.10.13
source_span - 1.10.2 1.10.2
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
synchronized - 3.4.0+1 3.4.0+1
term_glyph - 1.2.2 1.2.2
test - 1.31.1 1.31.1
test_api - 0.7.12 0.7.12
test_core - 0.6.18 0.6.18
typed_data - 1.4.0 1.4.0
url_launcher - 6.3.2 6.3.2
url_launcher_android - 6.3.30 6.3.30
url_launcher_ios - 6.4.1 6.4.1
url_launcher_linux - 3.2.2 3.2.2
url_launcher_macos - 3.2.5 3.2.5
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.4.3 2.4.3
url_launcher_windows - 3.1.5 3.1.5
vector_math - 2.2.0 2.3.0
vm_service - 15.2.0 15.2.0
watcher - 1.2.1 1.2.1
web - 1.1.1 1.1.1
web_socket - 1.0.1 1.0.1
web_socket_channel - 3.0.3 3.0.3
webkit_inspection_protocol - 1.2.1 1.2.1
xdg_directories - 1.1.0 1.1.0
yaml - 3.1.3 3.1.3

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

The constraint `^1.0.91` on pdfrx does not support the stable version `2.0.0`.

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

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.12, Flutter 3.44.0, Dart 3.12.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
130
points
118
downloads

Documentation

API reference

Publisher

verified publishercodingfrontend.in

Weekly Downloads

A full-featured Flutter PDF viewer for Android and iOS. Built on PDFium (pdfrx). Includes annotations, bookmarks, full-text search, thumbnails, table of contents, auto-scroll, dark/light themes, DRM screenshot protection, and optional server-sync callbacks.

Homepage
Repository (GitHub)
View/report issues

Topics

#pdf #viewer #drm #annotations #flutter

License

MIT (license)

Dependencies

flutter, http, path_provider, pdfrx, screen_protector

More

Packages that depend on pdf_viewer_pro