new_face_authenticator 2.0.2 new_face_authenticator: ^2.0.2 copied to clipboard
Flutter plugin cross-platform (iOS, Android) for Combate à Fraude's FaceAuthenticator (https://github.com/combateafraude).
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add new_face_authenticator
With Flutter:
$ flutter pub add new_face_authenticator
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
new_face_authenticator: ^2.0.2
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:new_face_authenticator/caf_stage.dart';
import 'package:new_face_authenticator/camera_filter.dart';
import 'package:new_face_authenticator/face_authenticator.dart';
import 'package:new_face_authenticator/result/face_authenticator_closed.dart';
import 'package:new_face_authenticator/result/face_authenticator_failure.dart';
import 'package:new_face_authenticator/result/face_authenticator_result.dart';
import 'package:new_face_authenticator/result/face_authenticator_success.dart';