face_detector_flutter 1.0.1
face_detector_flutter: ^1.0.1 copied to clipboard
A Flutter plugin for real-time face detection using Google ML Kit and Camera. Provides a simple API to detect faces, validate alignment, and capture the face image as bytes (Uint8List) for authenticat [...]
We analyzed this package 2 days ago, and awarded it 130 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too long.
Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.
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.
0/10 points: 20% or more of the public API has dartdoc comments
7 out of 89 API elements (7.9 %) 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: face_detector_flutter, face_detector_flutter.CameraService, face_detector_flutter.CameraService.CameraService.new, face_detector_flutter.CameraService.cameraController, face_detector_flutter.CameraService.cameraRotation.
10/10 points: Package has an example
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:face_detector_flutter/face_detector_flutter.dartthat imports:package:face_detector_flutter/src/ui/view/face_auth_view.dartthat imports:package:face_detector_flutter/src/ui/view/widgets/face_painter.dartthat imports:package:google_mlkit_face_detection/google_mlkit_face_detection.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:face_detector_flutter/face_detector_flutter.dartthat imports:package:face_detector_flutter/src/ui/view/face_auth_view.dartthat imports:package:face_detector_flutter/src/ui/view/widgets/face_painter.dartthat imports:package:google_mlkit_face_detection/google_mlkit_face_detection.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:face_detector_flutter/face_detector_flutter.dartthat imports:package:face_detector_flutter/src/ui/view/face_auth_view.dartthat imports:package:face_detector_flutter/src/ui/view/widgets/face_painter.dartthat imports:package:google_mlkit_face_detection/google_mlkit_face_detection.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:face_detector_flutter/face_detector_flutter.dartthat imports:package:face_detector_flutter/src/ui/view/face_auth_view.dartthat imports:package:face_detector_flutter/src/ui/view/widgets/face_painter.dartthat imports:package:google_mlkit_face_detection/google_mlkit_face_detection.dartthat declares support for platforms:Android,iOS.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 8 issues. Showing the first 2:
/tmp/pana_OILJSN/lib/src/face_auth.dart doesn't match the Dart formatter.
To format your files run: dart format .
/tmp/pana_OILJSN/lib/src/isolate/face_auth_isolate.dart doesn't match the Dart formatter.
To format your files run: dart format .
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
camera |
^0.11.2 |
0.11.3 | 0.11.3 | |
google_mlkit_commons |
^0.11.0 |
0.11.0 | 0.11.0 | |
google_mlkit_face_detection |
^0.13.1 |
0.13.1 | 0.13.1 | |
image |
^4.5.4 |
4.5.4 | 4.5.4 | |
provider |
^6.1.5+1 |
6.1.5+1 | 6.1.5+1 | |
tflite_flutter |
^0.11.0 |
0.11.0 | 0.12.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
archive |
- | 4.0.7 | 4.0.7 | |
async |
- | 2.13.0 | 2.13.0 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
camera_android_camerax |
- | 0.6.24+3 | 0.6.24+3 | |
camera_avfoundation |
- | 0.9.22+6 | 0.9.22+6 | |
camera_platform_interface |
- | 2.12.0 | 2.12.0 | |
camera_web |
- | 0.3.5+1 | 0.3.5+1 | |
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
cross_file |
- | 0.3.5+1 | 0.3.5+1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
ffi |
- | 2.1.4 | 2.1.4 | |
flutter_plugin_android_lifecycle |
- | 2.0.33 | 2.0.33 | |
matcher |
- | 0.12.18 | 0.12.18 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
nested |
- | 1.0.0 | 1.0.0 | |
path |
- | 1.9.1 | 1.9.1 | |
petitparser |
- | 7.0.1 | 7.0.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
posix |
- | 6.0.3 | 6.0.3 | |
quiver |
- | 3.2.2 | 3.2.2 | |
source_span |
- | 1.10.1 | 1.10.1 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
stream_transform |
- | 2.1.1 | 2.1.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test_api |
- | 0.7.8 | 0.7.8 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
xml |
- | 6.6.1 | 6.6.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^0.11.0` on tflite_flutter does not support the stable version `0.12.0`, that was published 25 days ago.
When tflite_flutter is 30 days old, this package will no longer be awarded points in this category.
Try running dart pub upgrade --major-versions tflite_flutter 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.2, Flutter 3.38.1, Dart 3.10.0.
Check the analysis log for details.