flutter_cached_pdfview 0.4.1 icon indicating copy to clipboard operation
flutter_cached_pdfview: ^0.4.1 copied to clipboard

A package to show Native PDF View for iOS and Android, support Open from a different resource like Path, Asset or Url and Cache it.

320
likes
130/ 140
pub points
98%
popularity

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

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

10/10 points: Provide a valid pubspec.yaml

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
20 / 20icon to trigger folding of the section

10/10 points: Package has an example

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

  • 9 out of 26 API elements (34.6 %) have documentation comments.
icon indicating section status
Platform support
20 / 20icon to trigger folding of the section

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:flutter_cached_pdfview/flutter_cached_pdfview.dart that imports:
  • package:flutter_pdfview/flutter_pdfview.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

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

Because:

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

Because:

  • package:flutter_cached_pdfview/flutter_cached_pdfview.dart that imports:
  • package:flutter_pdfview/flutter_pdfview.dart that declares support for platforms: Android, iOS.
icon indicating section status
Pass static analysis
20 / 30icon to trigger folding of the section

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

INFO: The import of 'dart:typed_data' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/services.dart'.

lib/src/asset/copy_pdf_from_asset_to_storge.dart:3:8

  ╷
3 │ import 'dart:typed_data';
  │        ^^^^^^^^^^^^^^^^^
  ╵

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

INFO: The import of 'package:flutter/foundation.dart' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/material.dart'.

lib/src/url/cached_pdf_view.dart:1:8

  ╷
1 │ import 'package:flutter/foundation.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

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

10/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_cache_manager >=3.0.0 <4.0.0 3.3.0 3.3.0
flutter_pdfview >=1.0.0 <2.0.0 1.3.1 1.3.1
path ^1.8.0 1.8.3 1.8.3
path_provider >=2.0.0 <3.0.0 2.0.15 2.0.15
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
characters - 1.3.0 1.3.0
clock - 1.1.1 1.1.1
collection - 1.17.1 1.17.2
crypto - 3.0.3 3.0.3
ffi - 2.0.2 2.0.2
file - 6.1.4 7.0.0
http - 0.13.6 1.0.0
http_parser - 4.0.2 4.0.2
js - 0.6.7 0.6.7
material_color_utilities - 0.2.0 0.5.0
meta - 1.9.1 1.9.1
path_provider_android - 2.0.27 2.0.27
path_provider_foundation - 2.2.3 2.2.3
path_provider_linux - 2.1.11 2.1.11
path_provider_platform_interface - 2.0.6 2.0.6
path_provider_windows - 2.1.6 2.1.6
pedantic - 1.11.1 1.11.1
platform - 3.1.0 3.1.0
plugin_platform_interface - 2.1.4 2.1.4
process - 4.2.4 4.2.4
rxdart - 0.27.7 0.27.7
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
sqflite - 2.2.8+4 2.2.8+4
sqflite_common - 2.4.5 2.4.5
string_scanner - 1.2.0 1.2.0
synchronized - 3.1.0 3.1.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
uuid - 3.0.7 3.0.7
vector_math - 2.1.4 2.1.4
win32 - 4.1.4 5.0.3
xdg_directories - 1.0.0 1.0.0

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

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

icon indicating section status
Dart 3 & Flutter 3.10 compatibility
20 / 20icon to trigger folding of the section

20/20 points: Package is Dart 3 & Flutter 3.10 compatible!

Analysed with Pana 0.21.32, Flutter 3.10.2, Dart 3.0.2.

320
likes
130
pub points
98%
popularity

Publisher

verified publisher iconbnsaed.com

A package to show Native PDF View for iOS and Android, support Open from a different resource like Path, Asset or Url and Cache it.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

flutter, flutter_cache_manager, flutter_pdfview, path, path_provider

More

Packages that depend on flutter_cached_pdfview