document_scanner_flutter 0.4.0
document_scanner_flutter: ^0.4.0 copied to clipboard
A android & ios document scanner & auto detector plugin for flutter.
We analyzed this package 18 hours ago, and awarded it 130 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: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
8 out of 13 API elements (61.5 %) have documentation comments.
Some symbols that are missing documentation: configs, document_scanner_flutter, document_scanner_flutter.DocumentScannerFlutter.DocumentScannerFlutter.new, pdf_generator_gallery, photo_viewer.
10/10 points: Package has 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:document_scanner_flutter/document_scanner_flutter.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:document_scanner_flutter/document_scanner_flutter.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:document_scanner_flutter/document_scanner_flutter.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:document_scanner_flutter/document_scanner_flutter.dartthat declares support for platforms:Android,iOS.
Swift Package Manager support:
Package does not support the Swift Package Manager on iOS
It does not contain ios/document_scanner_flutter/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.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 8 issues. Showing the first 2:
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/document_scanner_flutter.dart:3:8
╷
3 │ import 'dart:typed_data';
│ ^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/document_scanner_flutter.dart
INFO: Use the generic function type syntax in 'typedef's.
lib/screens/pdf_generator_gallery.dart:9:24
╷
9 │ typedef Future<File?>? ScannerFilePicker();
│ ^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/screens/pdf_generator_gallery.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
path_provider |
^2.1.3 |
2.1.5 | 2.1.5 | |
pdf |
^3.10.4 |
3.11.3 | 3.11.3 | |
photo_view |
^0.14.0 |
0.14.0 | 0.15.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
archive |
- | 4.0.9 | 4.0.9 | |
async |
- | 2.13.0 | 2.13.0 | |
barcode |
- | 2.2.9 | 2.2.9 | |
bidi |
- | 2.0.13 | 2.0.13 | |
characters |
- | 1.4.1 | 1.4.1 | |
code_assets |
- | 1.0.0 | 1.0.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
ffi |
- | 2.2.0 | 2.2.0 | |
file |
- | 7.0.1 | 7.0.1 | |
glob |
- | 2.1.3 | 2.1.3 | |
hooks |
- | 1.0.2 | 1.0.2 | |
image |
- | 4.5.4 | 4.8.0 | |
logging |
- | 1.3.0 | 1.3.0 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.1 | |
native_toolchain_c |
- | 0.17.5 | 0.17.5 | |
objective_c |
- | 9.3.0 | 9.3.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_parsing |
- | 1.1.0 | 1.1.0 | |
path_provider_android |
- | 2.2.22 | 2.2.22 | |
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 | |
petitparser |
- | 7.0.2 | 7.0.2 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
posix |
- | 6.5.0 | 6.5.0 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
qr |
- | 3.0.2 | 3.0.2 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
xml |
- | 6.6.1 | 6.6.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 `^0.14.0` on photo_view does not support the stable version `0.15.0`.
Try running dart pub upgrade --major-versions photo_view 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.10, Flutter 3.41.4, Dart 3.11.1.
Check the analysis log for details.