flutter_face_liveness 3.5.0 copy "flutter_face_liveness: ^3.5.0" to clipboard
flutter_face_liveness: ^3.5.0 copied to clipboard

Production-ready Flutter SDK for face detection, liveness verification, and anti-spoof protection using ML Kit, TensorFlow Lite, and an optional YOLOv8n-face backend.

150/ 160
pub points
558
downloads

We analyzed this package 20 hours ago, and awarded it 150 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

152 out of 321 API elements (47.4 %) have documentation comments.

Some symbols that are missing documentation: flutter_face_liveness.AntiSpoofEngine.AntiSpoofEngine.new, flutter_face_liveness.AntiSpoofEngine.reset, flutter_face_liveness.AntiSpoofEngine.validate, flutter_face_liveness.AntiSpoofResult.AntiSpoofResult.new, flutter_face_liveness.AntiSpoofResult.isReal.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 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:flutter_face_liveness/flutter_face_liveness.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:flutter_face_liveness/flutter_face_liveness.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:flutter_face_liveness/flutter_face_liveness.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:flutter_face_liveness/flutter_face_liveness.dart that declares support for platforms: Android, iOS.

Swift PM-ready: This iOS or macOS plugin supports the Swift Package Manager. See https://docs.flutter.dev/to/spm for details.

Built-in Kotlin support:

Legacy Kotlin configuration detected in `android/build.gradle`.

This plugin applies the Kotlin Gradle Plugin (KGP) or uses the android.kotlinOptions{} block.

Note: This Android plugin does not support built-in Kotlin. In the future, this might affect scoring. See https://docs.flutter.dev/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors for details.

Passed report section
Pass static analysis
50 / 50trigger folding of the section

Passed check 50/50 points: code has no errors, warnings, lints, or formatting issues

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

Failed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
camera ^0.12.0+1 0.12.1 0.12.1
google_mlkit_face_detection ^0.14.0 0.14.0 0.15.1
google_mlkit_face_mesh_detection ^0.5.0 0.5.0 0.6.1
http ^1.6.0 1.6.0 1.6.0
image ^4.1.7 4.9.2 4.9.2
path_provider ^2.1.5 2.1.6 2.1.6
permission_handler ^12.0.1 12.0.3 13.0.1
provider ^6.1.5+1 6.1.5+1 6.1.5+1
shared_preferences ^2.5.5 2.5.5 2.5.5
tflite_flutter ^0.12.1 0.12.1 0.12.1
Transitive dependencies
Package Constraint Compatible Latest Notes
archive - 4.2.0 4.2.0
args - 2.7.0 2.7.0
async - 2.13.1 2.13.1
boolean_selector - 2.1.2 2.1.2
camera_android_camerax - 0.7.4+7 0.7.4+7
camera_avfoundation - 0.10.3 0.10.3
camera_platform_interface - 2.13.1 2.13.1
camera_web - 0.3.5+5 0.3.5+5
characters - 1.4.1 1.4.1
code_assets - 2.0.0 2.0.0
collection - 1.19.1 1.19.1
cross_file - 0.3.5+5 0.3.5+5
crypto - 3.0.7 3.0.7
ffi - 2.2.0 2.2.0
file - 7.0.1 7.0.1
flutter_plugin_android_lifecycle - 2.0.35 2.0.35
google_mlkit_commons - 0.12.0 0.13.0
hooks - 2.2.0 2.2.0
http_parser - 4.1.2 4.1.2
jni - 1.0.3 1.0.3
jni_flutter - 1.0.3 1.0.3
jni_util - 1.0.0 1.0.0
logging - 1.3.0 1.3.0
matcher - 0.12.20 0.12.20
material_color_utilities - 0.13.0 0.13.1
meta - 1.19.0 1.19.0
nested - 1.0.0 1.0.0
objective_c - 9.6.0 9.6.0
package_config - 3.0.0 3.0.0
path - 1.9.1 1.9.1
path_provider_android - 2.3.1 2.3.1
path_provider_foundation - 2.6.0 2.6.0
path_provider_linux - 2.2.2 2.2.2
path_provider_platform_interface - 2.1.3 2.1.3
path_provider_windows - 2.3.0 2.3.0
permission_handler_android - 13.0.1 14.0.0
permission_handler_apple - 9.6.1 9.6.1
permission_handler_html - 0.1.4+1 0.1.4+1
permission_handler_platform_interface - 4.4.0 4.4.0
permission_handler_windows - 0.2.2 0.2.2
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
posix - 6.5.2 6.5.2
pub_semver - 2.2.1 2.2.1
quiver - 3.2.2 3.2.2
record_use - 1.1.1 1.1.1
shared_preferences_android - 2.4.28 2.4.28
shared_preferences_foundation - 2.5.7 2.5.7
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.2 2.4.2
shared_preferences_web - 2.4.3 2.4.3
shared_preferences_windows - 2.4.1 2.4.1
source_span - 1.10.2 1.10.2
stack_trace - 1.12.2 1.12.2
stream_channel - 2.1.4 2.1.4
stream_transform - 2.1.2 2.1.2
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.14 0.7.14
typed_data - 1.4.0 1.4.0
vector_math - 2.4.2 2.4.2
web - 1.1.1 1.1.1
xdg_directories - 1.1.0 1.1.0
yaml - 3.1.4 3.1.4

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Found 3 issues. Showing the first 2:

The constraint `^0.14.0` on google_mlkit_face_detection does not support the stable version `0.15.0`, that was published 17 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.

The constraint `^0.5.0` on google_mlkit_face_mesh_detection does not support the stable version `0.6.0`, that was published 17 days ago.

When google_mlkit_face_mesh_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_mesh_detection to update the constraint.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 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.47.0, Dart 3.13.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
68
likes
150
points
558
downloads

Documentation

API reference

Publisher

verified publishersanjaysharma.info

Weekly Downloads

Production-ready Flutter SDK for face detection, liveness verification, and anti-spoof protection using ML Kit, TensorFlow Lite, and an optional YOLOv8n-face backend.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

camera, flutter, google_mlkit_face_detection, google_mlkit_face_mesh_detection, http, image, path_provider, permission_handler, provider, shared_preferences, tflite_flutter

More

Packages that depend on flutter_face_liveness

Packages that implement flutter_face_liveness