my_pdf_viewer 0.0.6 copy "my_pdf_viewer: ^0.0.6" to clipboard
my_pdf_viewer: ^0.0.6 copied to clipboard

This package using for show and view a pdf in mobile.

0
likes
100/ 160
pub points
75
downloads

We analyzed this package 23 hours ago, and awarded it 100 pub points (of a possible 160):

failed
Follow Dart file conventions
10 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

Homepage URL doesn't exist.

At the time of the analysis https://github.com/Rishabh007379/my_first_listview_widget 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.

failed
Provide documentation
0 / 20trigger folding of the section

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

1 out of 6 API elements (16.7 %) 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.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: my_pdf_viewer, my_pdf_viewer.PdfPage, my_pdf_viewer.PdfPage.PdfPage, my_pdf_viewer.PdfPage.link, my_pdf_viewer.PdfPage.title.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
Platform support
20 / 20trigger 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:my_pdf_viewer/my_pdf_viewer.dart that imports:
  • package:syncfusion_flutter_pdfviewer/pdfviewer.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:my_pdf_viewer/my_pdf_viewer.dart that imports:
  • package:syncfusion_flutter_pdfviewer/pdfviewer.dart that imports:
  • package:syncfusion_flutter_pdfviewer/src/pdfviewer.dart that imports:
  • package:syncfusion_flutter_pdfviewer/src/control/single_page_view.dart that imports:
  • package:syncfusion_flutter_pdfviewer/src/control/scroll_head.dart that imports:
  • package:syncfusion_flutter_pdfviewer/src/common/pdfviewer_helper.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:my_pdf_viewer/my_pdf_viewer.dart that imports:
  • package:syncfusion_flutter_pdfviewer/pdfviewer.dart that imports:
  • package:syncfusion_flutter_pdfviewer/src/pdfviewer.dart that imports:
  • package:syncfusion_flutter_pdfviewer/src/control/single_page_view.dart that imports:
  • package:syncfusion_flutter_pdfviewer/src/control/scroll_head.dart that imports:
  • package:syncfusion_flutter_pdfviewer/src/common/pdfviewer_helper.dart that imports:
  • package:syncfusion_flutter_pdfviewer/src/common/mobile_helper.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 3 issues. Showing the first 2:

INFO: The part-of directive uses a library name.

lib/pdf_viewer.dart:1:1

  ╷
1 │ part of my_pdf_viewer;
  │ ^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

/tmp/pana_NLJKZJ/lib/my_pdf_viewer.dart doesn't match the Dart formatter.

To format your files run: dart format .

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

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

Package Constraint Compatible Latest
flutter flutter 0.0.0 0.0.0
flutter_dotenv ^5.2.1 5.2.1 5.2.1
syncfusion_flutter_core >=20.3.0 <21.0.0 20.4.54 28.2.4
syncfusion_flutter_pdf >=20.3.0 <21.0.0 20.4.54 28.2.4
syncfusion_flutter_pdfviewer >=20.3.0 <21.0.0 20.4.54 28.2.4
Transitive dependencies
Package Constraint Compatible Latest
async - 2.13.0 2.13.0
characters - 1.3.0 1.4.0
clock - 1.1.2 1.1.2
collection - 1.19.0 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
flutter_web_plugins - 0.0.0 0.0.0
http - 0.13.6 1.3.0
http_parser - 4.1.2 4.1.2
intl - 0.19.0 0.20.2
js - 0.6.7 0.7.1
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path - 1.9.1 1.9.1
petitparser - 6.0.2 6.1.0
plugin_platform_interface - 2.1.8 2.1.8
sky_engine - 0.0.0 0.0.0
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
syncfusion_pdfviewer_macos - 20.4.54 28.2.4
syncfusion_pdfviewer_platform_interface - 20.4.54 28.2.4
syncfusion_pdfviewer_web - 20.4.54 28.2.4
syncfusion_pdfviewer_windows - 20.4.54 28.2.4
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
url_launcher - 6.3.1 6.3.1
url_launcher_android - 6.3.14 6.3.14
url_launcher_ios - 6.3.2 6.3.2
url_launcher_linux - 3.2.1 3.2.1
url_launcher_macos - 3.2.2 3.2.2
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.4.0 2.4.0
url_launcher_windows - 3.1.4 3.1.4
uuid - 3.0.7 4.5.1
vector_math - 2.1.4 2.1.4
web - 1.1.0 1.1.0
xml - 6.5.0 6.5.0

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

Found 3 issues. Showing the first 2:

The constraint `>=20.3.0 <21.0.0` on syncfusion_flutter_core does not support the stable version `21.1.35`.

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

The constraint `>=20.3.0 <21.0.0` on syncfusion_flutter_pdf does not support the stable version `21.1.35`.

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

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.18, Flutter 3.27.3, Dart 3.6.1.

Check the analysis log for details.

0
likes
100
points
75
downloads

Publisher

unverified uploader

Weekly Downloads

This package using for show and view a pdf in mobile.

Homepage

Documentation

API reference

License

unknown (license)

Dependencies

flutter, flutter_dotenv, syncfusion_flutter_core, syncfusion_flutter_pdf, syncfusion_flutter_pdfviewer

More

Packages that depend on my_pdf_viewer