liveness_flutter 0.6.0
liveness_flutter: ^0.6.0 copied to clipboard
Beta: Plug-and-play liveness detection for Flutter. Configure action sequences like blink and smile, capture images or video, and send verification results to your backend.
We analyzed this package 3 days ago, and awarded it 150 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
274 out of 424 API elements (64.6 %) have documentation comments.
Some symbols that are missing documentation: liveness_flutter.ActionCompletedEvent, liveness_flutter.ActionCompletedEvent.ActionCompletedEvent.new, liveness_flutter.ActionCompletedEvent.action, liveness_flutter.ActionCompletedEvent.index, liveness_flutter.ActionDetector.ActionDetector.new.
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:liveness_flutter/liveness_flutter.dartthat imports:package:liveness_flutter/src/ui/liveness_detector.dartthat imports:package:liveness_flutter/src/detection/flash_challenge.dartthat imports:package:camera/camera.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `Linux`.
Because:
package:liveness_flutter/liveness_flutter.dartthat imports:package:liveness_flutter/src/ui/liveness_detector.dartthat imports:package:liveness_flutter/src/detection/flash_challenge.dartthat imports:package:camera/camera.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `macOS`.
Because:
package:liveness_flutter/liveness_flutter.dartthat imports:package:liveness_flutter/src/ui/liveness_detector.dartthat imports:package:liveness_flutter/src/detection/flash_challenge.dartthat imports:package:camera/camera.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `Web`.
Because:
package:liveness_flutter/liveness_flutter.dartthat imports:package:liveness_flutter/src/ui/liveness_detector.dartthat imports:package:liveness_flutter/src/camera/frame_source.dartthat imports:package:liveness_flutter/src/camera/frame_converter.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 4 issues. Showing the first 2:
INFO: 'package:flutter/material.dart' is deprecated and shouldn't be used. Use package:material_ui/material_ui.dart instead. This feature was deprecated after v3.47.0-0.0.pre.
lib/src/camera/frame_source.dart:7:1
╷
7 │ import 'package:flutter/material.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/camera/frame_source.dart
INFO: 'package:flutter/material.dart' is deprecated and shouldn't be used. Use package:material_ui/material_ui.dart instead. This feature was deprecated after v3.47.0-0.0.pre.
lib/src/theme/liveness_theme.dart:1:1
╷
1 │ import 'package:flutter/material.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/theme/liveness_theme.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
camera |
^0.12.0+2 |
0.12.2 | 0.12.2 | |
crypto |
^3.0.3 |
3.0.8 | 3.0.8 | |
google_mlkit_face_detection |
>=0.14.0 <0.16.0 |
0.15.1 | 1.0.3 | |
http |
^1.2.0 |
1.6.0 | 1.6.0 | |
image |
^4.3.0 |
4.13.1 | 4.13.1 | |
screen_brightness |
^2.1.0 |
2.1.11 | 2.1.11 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
archive |
- | 4.7.1 | 4.7.1 | |
async |
- | 2.13.1 | 2.13.1 | |
camera_android_camerax |
- | 0.7.6+2 | 0.7.6+2 | |
camera_avfoundation |
- | 0.11.1 | 0.11.1 | |
camera_platform_interface |
- | 2.15.1 | 2.15.1 | |
camera_web |
- | 0.3.6 | 0.3.6 | |
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
cross_file |
- | 0.3.5+5 | 0.4.0 | |
ffi |
- | 2.2.0 | 2.2.0 | |
flutter_plugin_android_lifecycle |
- | 2.0.35 | 2.0.35 | |
google_mlkit_commons |
- | 0.13.0 | 1.0.3 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
listen |
- | 1.0.1 | 1.0.1 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
meta |
- | 1.19.0 | 1.19.0 | |
path |
- | 1.9.1 | 1.9.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
posix |
- | 6.5.4 | 6.5.4 | |
screen_brightness_android |
- | 2.1.6 | 2.1.6 | |
screen_brightness_ios |
- | 2.1.4 | 2.1.4 | |
screen_brightness_macos |
- | 2.1.4 | 2.1.4 | |
screen_brightness_ohos |
- | 2.1.4 | 2.1.4 | |
screen_brightness_platform_interface |
- | 2.1.2 | 2.1.2 | |
screen_brightness_windows |
- | 2.1.2 | 2.1.2 | |
source_span |
- | 1.10.2 | 1.10.2 | |
stream_transform |
- | 2.1.2 | 2.1.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.4.4 | 2.4.4 | |
web |
- | 1.1.2 | 1.1.2 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `>=0.14.0 <0.16.0` on google_mlkit_face_detection does not support the stable version `1.0.0`, that was published 15 days ago.
When google_mlkit_face_detection is 30 days old, this package will no longer be awarded points in this category.
Try running dart pub upgrade --major-versions google_mlkit_face_detection 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.50.0, Dart 3.14.0.
Check the analysis log for details.