BiometricGate constructor

const BiometricGate({
  1. Key? key,
  2. required BiometricShieldInterface shield,
  3. required Widget child,
  4. required String reason,
  5. Widget? loadingWidget,
  6. Widget fallbackWidget(
    1. BiometricResult result
    )?,
  7. void onAuthenticated(
    1. BiometricResult result
    )?,
  8. bool reauthOnResume = false,
  9. String? userId,
})

Implementation

const BiometricGate({
  super.key,
  required this.shield,
  required this.child,
  required this.reason,
  this.loadingWidget,
  this.fallbackWidget,
  this.onAuthenticated,
  this.reauthOnResume = false,
  this.userId,
});