Installating the SDK
Ensure you have Flutter installed and set up in your environment. For installation instructions, visit the Flutter Installation Guide.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_caf_face_liveness
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flutter_caf_face_liveness: ^1.0.0
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:flutter_caf_face_liveness/face_liveness.dart';
import 'package:flutter_caf_face_liveness/face_liveness_enums.dart';
import 'package:flutter_caf_face_liveness/face_liveness_events.dart';
import 'package:flutter_caf_face_liveness/reverse_proxy_settings.dart';
Last updated