advance_pdf_viewer 1.2.2
advance_pdf_viewer: ^1.2.2 copied to clipboard

A flutter plugin for handling PDF files. Works on both Android & iOS

138
likes
70 / 110
pub points
96 %
popularity

We analyzed this package on Apr 23, 2021, and awarded it 70 pub points (of a possible 110):

Follow Dart file conventions
20 / 20

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
10 / 20

10/10 points: Package has an example

  • Found example at: example/lib/main.dart

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

  • 10 out of 59 API elements (16.9 %) 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.

Support multiple platforms
10 / 20

10/20 points: Supports 2 of 3 possible platforms (iOS, Android, Web)

Found 9 issues. Showing the first 2:

Consider supporting multiple platforms:

Package does not support Flutter platform Web

Because:

  • package:advance_pdf_viewer/advance_pdf_viewer.dart that declares support for platforms: Android, iOS
Pass static analysis
20 / 30

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

Found 7 issues. Showing the first 2:

INFO: 'List' is deprecated and shouldn't be used. Use a list literal, [], or the List.filled constructor instead.

lib/src/document.dart:117:31

    ╷
117 │     await Future.forEach<int>(List(count), (i) async {
    │                               ^^^^
    ╵

To reproduce make sure you are using pedantic and run flutter analyze lib/src/document.dart

INFO: 'List' is deprecated and shouldn't be used. Use a list literal, [], or the List.filled constructor instead.

lib/src/document.dart:136:36

    ╷
136 │     return Future.forEach<PDFPage>(List(count), (i) async {
    │                                    ^^^^
    ╵

To reproduce make sure you are using pedantic and run flutter analyze lib/src/document.dart

Support up-to-date dependencies
10 / 20

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

PackageConstraintCompatibleLatest
flutterflutter0.0.00.0.0
flutter_cache_manager^2.0.02.1.23.0.1
numberpicker^1.3.01.3.02.1.1
path_provider^1.6.241.6.282.0.1
Transitive dependencies
PackageConstraintCompatibleLatest
archive-3.1.23.1.2
characters-1.1.01.1.0
charcode-1.2.01.2.0
clock-1.1.01.1.0
collection-1.15.01.15.0
crypto-3.0.13.0.1
ffi-1.0.01.0.0
file-6.1.06.1.0
http-0.13.10.13.1
http_parser-4.0.04.0.0
image-3.0.23.0.2
infinite_listview-1.1.01.1.0
meta-1.3.01.3.0
path-1.8.01.8.0
path_provider_linux-0.0.1+22.0.0
path_provider_macos-0.0.4+82.0.0
path_provider_platform_interface-1.0.42.0.1
path_provider_windows-0.0.52.0.1
pedantic-1.11.01.11.0
petitparser-4.1.04.1.0
platform-3.0.03.0.0
plugin_platform_interface-1.0.32.0.0
process-4.2.14.2.1
rxdart-0.25.00.26.0
sky_engine-0.0.990.0.99
source_span-1.8.11.8.1
sqflite-2.0.0+32.0.0+3
sqflite_common-2.0.0+22.0.0+2
string_scanner-1.1.01.1.0
synchronized-3.0.03.0.0
term_glyph-1.2.01.2.0
typed_data-1.3.01.3.0
uuid-3.0.43.0.4
vector_math-2.1.02.1.0
win32-2.0.52.0.5
xdg_directories-0.1.20.2.0
xml-5.1.05.1.0

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

Found 3 issues. Showing the first 2:

The constraint `^2.0.0` on flutter_cache_manager does not support the stable version `3.0.0`, that was published 26 days ago.

When flutter_cache_manager is 30 days old, this package will no longer be awarded points in this category.

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

The constraint `^1.3.0` on numberpicker does not support the stable version `2.0.0`.

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

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

Analysed with Pana 0.15.4, Flutter 2.0.4, Dart 2.12.2.

138
likes
70
pub points
96%
popularity

Publisher

dlohani.com.np

A flutter plugin for handling PDF files. Works on both Android & iOS

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD (LICENSE)

Dependencies

flutter, flutter_cache_manager, numberpicker, path_provider

More

Packages that depend on advance_pdf_viewer