flutter_mupdf 0.0.1
flutter_mupdf: ^0.0.1 copied to clipboard
A flutter wrapper for MuPDF - a rich-featured PDF library.
We analyzed this package 2 hours ago, and awarded it 120 pub points (of a possible 160):
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: AGPL-3.0.
0/10 points: 20% or more of the public API has dartdoc comments
0 out of 13 API elements (0.0 %) 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: flutter_mupdf, flutter_mupdf.FlutterMuPdf, flutter_mupdf.FlutterMuPdf.FlutterMuPdf.new, flutter_mupdf.FlutterMuPdf.clearMuPDF, flutter_mupdf.FlutterMuPdf.getPageCount.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:flutter_mupdf/flutter_mupdf.dartthat imports:package:flutter_mupdf/src/mupdf_wrapper.dartthat imports:package:ffi/ffi.dartthat imports:package:ffi/src/utf16.dartthat imports:dart:ffi
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
INFO: The variable name 'page_count' isn't a lowerCamelCase identifier.
lib/src/mupdf_wrapper.dart:53:28
╷
53 │ ffi.Pointer<ffi.Int32> page_count,
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/mupdf_wrapper.dart
INFO: The variable name 'page_number' isn't a lowerCamelCase identifier.
lib/src/mupdf_wrapper.dart:70:9
╷
70 │ int page_number,
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/mupdf_wrapper.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
ffi |
^1.1.2 |
1.2.1 | 2.1.5 | |
ffigen |
^4.1.2 |
4.1.3 | 20.1.1 | |
json_annotation |
^4.4.0 |
4.9.0 | 4.9.0 | |
json_serializable |
^6.1.3 |
6.11.3 | 6.11.3 | |
path |
^1.8.0 |
1.9.1 | 1.9.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
_fe_analyzer_shared |
- | 92.0.0 | 93.0.0 | |
analyzer |
- | 9.0.0 | 10.0.0 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
build |
- | 4.0.3 | 4.0.3 | |
build_config |
- | 1.2.0 | 1.2.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
checked_yaml |
- | 2.0.4 | 2.0.4 | |
cli_util |
- | 0.3.5 | 0.4.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
crypto |
- | 3.0.7 | 3.0.7 | |
dart_style |
- | 3.1.3 | 3.1.3 | |
file |
- | 6.1.4 | 7.0.1 | |
glob |
- | 2.1.3 | 2.1.3 | |
logging |
- | 1.3.0 | 1.3.0 | |
matcher |
- | 0.12.18 | 0.12.18 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
package_config |
- | 2.2.0 | 2.2.0 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
pubspec_parse |
- | 1.5.0 | 1.5.0 | |
quiver |
- | 3.2.2 | 3.2.2 | |
source_gen |
- | 4.1.1 | 4.1.1 | |
source_helper |
- | 1.3.9 | 1.3.9 | |
source_span |
- | 1.10.1 | 1.10.1 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test_api |
- | 0.7.9 | 0.7.9 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
watcher |
- | 1.2.1 | 1.2.1 | |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^1.1.2` on ffi does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions ffi to update the constraint.
The constraint `^4.1.2` on ffigen does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions ffigen 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.5, Flutter 3.38.5, Dart 3.10.4.
Check the analysis log for details.