sh_pdf 1.0.3
sh_pdf: ^1.0.3 copied to clipboard
A high-performance, optimized custom PDF viewer for Flutter with support for URLs, local files, zoom, and pagination.
We analyzed this package 19 hours ago, and awarded it 130 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
-
pubspec.yamldoesn't have ahomepageentry. -
pubspec.yamldoesn't have arepositoryentry.
Issue tracker URL doesn't exist.
At the time of the analysis https://github.com/yourusername/custom_optimized_pdf_viewer/issues 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
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
4 out of 10 API elements (40.0 %) have documentation comments.
Some symbols that are missing documentation: custom_pdf_viewer, custom_pdf_viewer.CustomPdfViewer, custom_pdf_viewer.CustomPdfViewer.source, custom_pdf_viewer.CustomPdfViewer.sourceType, custom_pdf_viewer.PdfSourceType.
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
WASM-ready: This package is compatible with runtime wasm. See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 5 issues. Showing the first 2:
INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.
lib/custom_pdf_viewer.dart:182:41
╷
182 │ color: Colors.black.withOpacity(0.8),
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/custom_pdf_viewer.dart
INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.
lib/custom_pdf_viewer.dart:186:45
╷
186 │ color: Colors.black.withOpacity(0.3),
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/custom_pdf_viewer.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
cupertino_icons |
^1.0.8 |
1.0.9 | 1.0.9 | |
file_picker |
^8.3.7 |
8.3.7 | 11.0.2 | |
path_provider |
^2.1.5 |
2.1.5 | 2.1.5 | |
pdfrx |
^1.0.83 |
1.3.5 | 2.4.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.1.0 | 1.1.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
coverage |
- | 1.15.0 | 1.15.0 | |
cross_file |
- | 0.3.5+2 | 0.3.5+2 | |
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 | |
flutter_plugin_android_lifecycle |
- | 2.0.34 | 2.0.34 | |
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 |
- | 1.6.0 | 1.6.0 | |
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 | |
win32 |
- | 5.15.0 | 6.3.0 | |
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 `^8.3.7` on file_picker does not support the stable version `9.0.0`.
Try running dart pub upgrade --major-versions file_picker to update the constraint.
The constraint `^1.0.83` on pdfrx does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions pdfrx 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.23.12, Flutter 3.44.0, Dart 3.12.0.
Check the analysis log for details.