face_guidance 0.0.3
face_guidance: ^0.0.3 copied to clipboard
A Flutter package for face guidance and automatic face capture using Google ML Kit. Perfect for KYC, attendance, and identity verification apps.
We analyzed this package 2 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.3").
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.
0/10 points: 20% or more of the public API has dartdoc comments
1 out of 18 API elements (5.6 %) 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_guidance, face_guidance.CaptureConfig, face_guidance.CaptureConfig.CaptureConfig.new, face_guidance.CaptureConfig.activeColor, face_guidance.CaptureConfig.background.
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_guidance/face_guidance.dartthat imports:package:face_guidance/src/face_guidance_view.dartthat imports:package:face_guidance/src/utils/converter.dartthat imports:package:camera/camera.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `Linux`.
Because:
package:face_guidance/face_guidance.dartthat imports:package:face_guidance/src/face_guidance_view.dartthat imports:package:face_guidance/src/utils/converter.dartthat imports:package:camera/camera.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `macOS`.
Because:
package:face_guidance/face_guidance.dartthat imports:package:face_guidance/src/face_guidance_view.dartthat imports:package:face_guidance/src/utils/converter.dartthat imports:package:camera/camera.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `Web`.
Because:
package:face_guidance/face_guidance.dartthat imports:package:face_guidance/src/face_guidance_view.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
INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.
lib/src/painters/circle_ring_painter.dart:16:23
╷
16 │ ..color = color.withOpacity(0.2)
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/painters/circle_ring_painter.dart
INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.
lib/src/painters/face_outline_painter.dart:48:30
╷
48 │ ..color = Colors.white.withOpacity(0.6)
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/painters/face_outline_painter.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
camera |
^0.11.3 |
0.11.4 | 0.12.0+1 | |
google_mlkit_face_detection |
^0.13.1 |
0.13.2 | 0.13.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.1 | 2.13.1 | |
camera_android_camerax |
- | 0.6.30 | 0.7.4 | |
camera_avfoundation |
- | 0.9.23+2 | 0.10.2 | |
camera_platform_interface |
- | 2.13.0 | 2.13.0 | |
camera_web |
- | 0.3.5+4 | 0.3.5+4 | |
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
cross_file |
- | 0.3.5+4 | 0.3.5+4 | |
flutter_plugin_android_lifecycle |
- | 2.0.35 | 2.0.35 | |
google_mlkit_commons |
- | 0.11.1 | 0.11.1 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.18.0 | 1.18.3 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
stream_transform |
- | 2.1.1 | 2.1.1 | |
vector_math |
- | 2.2.0 | 2.4.0 | |
web |
- | 1.1.1 | 1.1.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^0.11.3` on camera does not support the stable version `0.12.0`.
Try running dart pub upgrade --major-versions camera 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.14, Flutter 3.44.4, Dart 3.12.2.
Check the analysis log for details.