flutter_smartface_hosted_flow library Overview Biometric Flows
Native hosted flows for identification and enrollment.
This library exposes a higher-level API that presents SmartFace-managed
native screens instead of requiring the application to compose the capture
experience around PlatformView.
Use SmartfaceHostedFlow.identify or SmartfaceHostedFlow.enroll when the integration should prioritize native UX and typed callbacks over full Flutter layout control.
Classes
- EnrollmentFlow
- Enrollment flow functionality
- EnrollmentFlowOptions
- Configuration options for the enrollment flow
- EnrollmentProgress
- Progress update from enrollment
- EnrollmentResult
- Result from an enrollment attempt
- IdentificationFlow
- Identification flow functionality
- IdentificationFlowOptions
- Configuration options for the identification flow
- IdentificationResult
- Result from an identification attempt
- SmartfaceHostedFlow
- Hosted flow bridge for presenting native Smartface identification flows
Typedefs
- EnrollmentCallback = void Function({required String customId, String? descriptor, String? imagePath, required bool success})
- Callback type for enrollment results
- EnrollmentProgressCallback = void Function({int? countdown, int? percentage, String? phase})
- Callback type for enrollment progress updates
- IdentificationCallback = void Function({required double confidence, required String customId, required double distance, required bool identified, String? imagePath})
- Callback type for identification results
- IdentificationErrorCallback = void Function(String error)
- Callback type for identification errors