flutter_biometric_auth 0.0.1
flutter_biometric_auth: ^0.0.1 copied to clipboard
Flutter plugin for Face ID and Touch ID authentication. This plugin uses the LocalAuthentication package to authenticate users with Face ID or Touch ID on iOS
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_biometric_auth
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flutter_biometric_auth: ^0.0.1
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_biometric_auth/faceid.dart';
import 'package:flutter_biometric_auth/faceid_method_channel.dart';
import 'package:flutter_biometric_auth/faceid_platform_interface.dart';