BiometricGate constructor
const
BiometricGate({
- Key? key,
- required BiometricShieldInterface shield,
- required Widget child,
- required String reason,
- Widget? loadingWidget,
- Widget fallbackWidget(
- BiometricResult result
- void onAuthenticated(
- BiometricResult result
- bool reauthOnResume = false,
- 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,
});