Biometric Auth Widget
Component Detail
User Interface
medium complexity
mobile
1
Dependencies
0
Dependents
0
Entities
0
Integrations
Description
Full-screen biometric prompt overlay that triggers Face ID or fingerprint authentication via Flutter's local_auth package. Displays contextual messaging, handles platform-specific biometric UI, and provides fallback options.
biometric-auth-widget
Responsibilities
- Trigger local_auth biometric prompt on screen presentation
- Display fallback option (PIN or password) when biometrics fail or are unavailable
- Show first-login enrollment prompt with defer option
- Emit auth success or failure events to BLoC
Interfaces
show(context: BuildContext) → void
onSuccess(callback: VoidCallback) → void
onFallback(callback: VoidCallback) → void
onError(callback: Function(String)) → void