flutter_preview_file 0.0.9
flutter_preview_file: ^0.0.9 copied to clipboard
Reusable preview and edit widgets for PDF, Word, and Excel files.
We analyzed this package 14 hours ago, and awarded it 125 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("0.0.9").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
226 out of 388 API elements (58.2 %) have documentation comments.
Some symbols that are missing documentation: flutter_preview_file, flutter_preview_file.ExcelFileController, flutter_preview_file.ExcelFileController.ExcelFileController.new, flutter_preview_file.ExcelFileController.cancelEditing, flutter_preview_file.ExcelFileController.csvRows.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
10/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_preview_file/flutter_preview_file.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:flutter_preview_file/flutter_preview_file.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:flutter_preview_file/flutter_preview_file.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:flutter_preview_file/flutter_preview_file.dartthat 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 platform `Android`.
Because:
package:flutter_preview_file/flutter_preview_file.dartthat imports:package:flutter_preview_file/src/pdf/pdf_file_view.dartthat imports:package:syncfusion_flutter_pdfviewer/pdfviewer.dartthat imports:package:syncfusion_flutter_pdfviewer/src/pdfviewer.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:package:device_info_plus/src/device_info_plus_windows.dartthat imports:package:win32_registry/win32_registry.dartthat declares support for platforms:Windows.
Package does not support platform `iOS`.
Because:
package:flutter_preview_file/flutter_preview_file.dartthat imports:package:flutter_preview_file/src/pdf/pdf_file_view.dartthat imports:package:syncfusion_flutter_pdfviewer/pdfviewer.dartthat imports:package:syncfusion_flutter_pdfviewer/src/pdfviewer.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:package:device_info_plus/src/device_info_plus_windows.dartthat imports:package:win32_registry/win32_registry.dartthat declares support for platforms:Windows.
Swift Package Manager support:
Package does not support the Swift Package Manager on iOS
The package does not contain ios/flutter_preview_file/Package.swift.
Note: This iOS or macOS plugin does not support the Swift Package Manager, resulting in a partial score. See https://docs.flutter.dev/to/spm for details.
Built-in Kotlin support:
Legacy Kotlin configuration detected in `android/build.gradle`.
This plugin applies the Kotlin Gradle Plugin (KGP) or uses the android.kotlinOptions{} block.
Note: This Android plugin does not support built-in Kotlin. In the future, this might affect scoring. See https://docs.flutter.dev/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors for details.
50/50 points: code has no errors, warnings, lints, or formatting issues
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
archive |
^3.6.1 |
3.6.1 | 4.5.0 | |
excel |
4.0.6 |
4.0.6 | 4.0.6 | |
flutter_html |
^3.0.0 |
3.0.0 | 3.0.0 | |
pdf |
^3.12.0 |
3.12.0 | 3.13.1 | |
photo_manager |
3.5.0 |
3.5.0 | 3.12.0 | |
plugin_platform_interface |
^2.0.2 |
2.1.8 | 2.1.8 | |
printing |
^5.14.3 |
5.14.3 | 5.15.1 | |
syncfusion_flutter_pdf |
32.2.9 |
32.2.9 | 35.1.39 | |
syncfusion_flutter_pdfviewer |
32.2.9 |
32.2.9 | 35.1.39 | |
webview_flutter |
4.13.1 |
4.13.1 | 4.14.1 | |
xml |
^6.6.1 |
6.6.1 | 7.1.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.1 | 2.13.1 | |
barcode |
- | 2.2.9 | 2.2.9 | |
bidi |
- | 2.0.13 | 2.0.13 | |
characters |
- | 1.4.1 | 1.4.1 | |
clock |
- | 1.1.3 | 1.1.3 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
crypto |
- | 3.0.7 | 3.0.7 | |
csslib |
- | 1.0.2 | 1.0.2 | |
device_info_plus |
- | 12.4.0 | 13.3.0 | |
device_info_plus_platform_interface |
- | 7.0.3 | 8.1.0 | |
equatable |
- | 2.1.0 | 3.0.0 | |
ffi |
- | 2.2.0 | 2.2.0 | |
file |
- | 7.0.1 | 7.0.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
html |
- | 0.15.7 | 0.15.7 | |
http |
- | 1.6.0 | 1.6.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
image |
- | 4.3.0 | 4.12.0 | |
intl |
- | 0.20.3 | 0.20.3 | |
list_counter |
- | 1.0.2 | 1.0.2 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
meta |
- | 1.19.0 | 1.19.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_parsing |
- | 1.1.0 | 1.1.0 | |
pdf_widget_wrapper |
- | 1.0.4 | 1.0.4 | |
petitparser |
- | 7.1.0 | 7.1.0 | |
qr |
- | 3.0.2 | 4.0.0 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
syncfusion_flutter_core |
- | 32.2.9 | 35.1.39 | |
syncfusion_flutter_signaturepad |
- | 32.2.9 | 35.1.39 | |
syncfusion_pdfviewer_linux |
- | 32.2.9 | 35.1.39 | |
syncfusion_pdfviewer_macos |
- | 32.2.9 | 35.1.39 | |
syncfusion_pdfviewer_platform_interface |
- | 32.2.9 | 35.1.39 | |
syncfusion_pdfviewer_web |
- | 32.2.9 | 35.1.39 | |
syncfusion_pdfviewer_windows |
- | 32.2.9 | 35.1.39 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
url_launcher |
- | 6.3.3 | 6.3.3 | |
url_launcher_android |
- | 6.3.33 | 6.3.33 | |
url_launcher_ios |
- | 6.4.2 | 6.4.2 | |
url_launcher_linux |
- | 3.2.3 | 3.2.3 | |
url_launcher_macos |
- | 3.2.6 | 3.2.6 | |
url_launcher_platform_interface |
- | 2.3.2 | 2.3.2 | |
url_launcher_web |
- | 2.4.3 | 2.4.3 | |
url_launcher_windows |
- | 3.1.6 | 3.1.6 | |
uuid |
- | 4.6.0 | 4.6.0 | |
vector_math |
- | 2.4.3 | 2.4.3 | |
web |
- | 1.1.1 | 1.1.1 | |
webview_flutter_android |
- | 4.14.1 | 4.14.1 | |
webview_flutter_platform_interface |
- | 2.15.1 | 2.15.1 | |
webview_flutter_wkwebview |
- | 3.27.0 | 3.27.0 | |
win32 |
- | 5.15.0 | 6.4.0 | |
win32_registry |
- | 2.1.0 | 3.0.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 6 issues. Showing the first 2:
The constraint `^3.6.1` on archive does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions archive to update the constraint.
The constraint `3.5.0` on photo_manager does not support the stable version `3.5.1`.
Try running dart pub upgrade --major-versions photo_manager 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.19, Flutter 3.47.6, Dart 3.13.5.
Check the analysis log for details.