advance_pdf_viewer_fork 1.2.0

Flutter Android iOS

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

9
likes
80 / 110
pub points
70 %
popularity

We analyzed this package on Oct 27, 2020, and awarded it 80 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
20 / 20

10/10 points: Package has an example

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

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

  • 29 out of 91 API elements (31.9 %) have documentation comments.
Support multiple platforms
10 / 20

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

Consider supporting multiple platforms:

Package does not support Flutter platform Web

Because:

  • package:advance_pdf_viewer_fork/advance_pdf_viewer_fork.dart that declares support for platforms: Android, iOS

Consider supporting these prerelease platforms:

Package does not support Flutter platform Windows

Because:

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

Because:

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

Because:

  • package:advance_pdf_viewer_fork/advance_pdf_viewer_fork.dart that declares support for platforms: Android, iOS

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support Flutter platform Android

Because:

  • package:advance_pdf_viewer_fork/advance_pdf_viewer_fork.dart that imports:
  • package:advance_pdf_viewer_fork/src/document.dart that imports:
  • package:path_provider/path_provider.dart that imports:
  • package:path_provider_windows/path_provider_windows.dart that declares support for platforms: Windows
Package does not support Flutter platform iOS

Because:

  • package:advance_pdf_viewer_fork/advance_pdf_viewer_fork.dart that imports:
  • package:advance_pdf_viewer_fork/src/document.dart that imports:
  • package:path_provider/path_provider.dart that imports:
  • package:path_provider_windows/path_provider_windows.dart that declares support for platforms: Windows
Pass static analysis
20 / 30

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

Found 6 issues. Showing the first 2:

INFO: This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: PDFListViewer._images, PDFListViewer._loadingPageHeight

lib/src/list_viewer.dart:4:7

  ╷
4 │ class PDFListViewer extends StatefulWidget {
  │       ^^^^^^^^^^^^^
  ╵

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

lib/src/document.dart is not formatted according to dartfmt

To format your files run: dartfmt -w .

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^1.1.31.4.22.0.0
numberpicker^1.2.11.2.11.2.1
path_provider^1.6.141.6.221.6.22
Transitive dependencies
PackageConstraintCompatibleLatest
characters-1.1.0-nullsafety.31.1.0-nullsafety.4
charcode-1.1.31.1.3
clock-1.0.11.0.1
collection-1.15.0-nullsafety.31.15.0-nullsafety.4
convert-2.1.12.1.1
crypto-2.1.52.1.5
ffi-0.1.30.1.3
file-5.2.15.2.1
http-0.12.20.12.2
http_parser-3.1.43.1.4
infinite_listview-1.0.1+11.0.1+1
intl-0.16.10.16.1
meta-1.3.0-nullsafety.31.3.0-nullsafety.5
path-1.7.01.7.0
path_provider_linux-0.0.1+20.0.1+2
path_provider_macos-0.0.4+40.0.4+4
path_provider_platform_interface-1.0.31.0.3
path_provider_windows-0.0.4+10.0.4+1
pedantic-1.9.21.9.2
platform-2.2.12.2.1
plugin_platform_interface-1.0.31.0.3
process-3.0.133.0.13
rxdart-0.24.10.24.1
sky_engine-0.0.990.0.99
source_span-1.7.01.7.0
sqflite-1.3.1+21.3.1+2
sqflite_common-1.0.2+11.0.2+1
string_scanner-1.0.51.0.5
synchronized-2.2.0+22.2.0+2
term_glyph-1.1.01.1.0
typed_data-1.3.0-nullsafety.31.3.0-nullsafety.4
uuid-2.2.22.2.2
vector_math-2.1.0-nullsafety.32.1.0-nullsafety.4
win32-1.7.31.7.3
xdg_directories-0.1.20.1.2

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

The constraint `^1.1.3` on flutter_cache_manager does not support the latest published version `2.0.0`

pubspec.yaml:14:26

   ╷
14 │   flutter_cache_manager: ^1.1.3
   │                          ^^^^^^
   ╵

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

9
likes
80
pub points
70%
popularity

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

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

cultumoptimum@gmail.com

License

BSD (LICENSE)

Dependencies

flutter, flutter_cache_manager, numberpicker, path_provider

More

Packages that depend on advance_pdf_viewer_fork