1import 'package:local_auth/local_auth.dart';
17 return await
_localAuth.getAvailableBiometrics();
24 Future<bool>
authenticate(BiometricType type, String reason) async {
27 localizedReason: reason,
28 options:
const AuthenticationOptions(stickyAuth:
true),
39 return biometrics.contains(BiometricType.fingerprint) ||
40 biometrics.contains(BiometricType.strong);
abstract class BiometricService LocalBiometricService()
Future< List< BiometricType > > getAvailableBiometrics()
Future< bool > hasFingerprintSupport()
Future< bool > authenticate(BiometricType type, String reason)
class EnergySavingsMeasure extends StatefulWidget options