face_collect_native 2.0.0
face_collect_native: ^2.0.0 copied to clipboard
A plugin for liveness face recognition and capture
We analyzed this package 4 days 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
10 out of 25 API elements (40.0 %) have documentation comments.
Some symbols that are missing documentation: face_collect_screen, face_collect_screen.FaceCollectScreen, face_collect_screen.FaceCollectScreen.FaceCollectScreen.new, face_collect_screen.FaceCollectScreen.blinkHint, face_collect_screen.FaceCollectScreen.show.
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_collect_native/face_collect_screen.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_collect_native/face_collect_screen.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_collect_native/face_collect_screen.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_collect_native/face_collect_screen.dartthat imports:package:google_mlkit_face_detection/google_mlkit_face_detection.dartthat declares support for platforms:Android,iOS.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
WARNING: This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: FaceCollectScreen.ovalSize, FaceCollectScreen.initHint, FaceCollectScreen.promptStyle, FaceCollectScreen.smileHint, FaceCollectScreen.blinkHint
lib/face_collect_screen.dart:11:7
╷
11 │ class FaceCollectScreen extends StatefulWidget {
│ ^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/face_collect_screen.dart
INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.
lib/face_collect_screen.dart:240:49
╷
240 │ color: Colors.black.withOpacity(0.5),
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/face_collect_screen.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
camera |
^0.11.0+2 |
0.11.3 | 0.11.3 | |
google_mlkit_face_detection |
^0.12.0 |
0.12.0 | 0.13.1 | |
image |
^4.0.17 |
4.3.0 | 4.7.2 | |
lottie |
^1.0.1 |
1.4.3 | 3.3.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
archive |
- | 3.6.1 | 4.0.7 | |
async |
- | 2.13.0 | 2.13.0 | |
camera_android_camerax |
- | 0.6.27 | 0.6.27 | |
camera_avfoundation |
- | 0.9.22+9 | 0.9.22+9 | |
camera_platform_interface |
- | 2.12.0 | 2.12.0 | |
camera_web |
- | 0.3.5+3 | 0.3.5+3 | |
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 | |
flutter_plugin_android_lifecycle |
- | 2.0.33 | 2.0.33 | |
google_mlkit_commons |
- | 0.9.0 | 0.11.0 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.0 | |
path |
- | 1.9.1 | 1.9.1 | |
petitparser |
- | 7.0.1 | 7.0.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
stream_transform |
- | 2.1.1 | 2.1.1 | |
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.12.0` on google_mlkit_face_detection does not support the stable version `0.13.0`.
Try running dart pub upgrade --major-versions google_mlkit_face_detection to update the constraint.
The constraint `^1.0.1` on lottie does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions lottie 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.8, Flutter 3.38.6, Dart 3.10.7.
Check the analysis log for details.