liveness_edge_flutter library
Offline face-liveness verification for Flutter.
Use LivenessEdgeScreen to run an active challenge and passive anti-spoof check entirely on the device. A successful capture is returned as a LivenessResult.
Classes
- FaceIdentitySensitivity
- Sensitivity for detecting a face replacement during one session.
- LivenessConfiguration
- Settings that control an on-device liveness session.
- LivenessEdgeScreen
- A full-screen, ready-to-use on-device liveness capture flow.
- LivenessEdgeTheme
- Visual configuration for LivenessEdgeScreen.
- LivenessEdgeViewState
- Read-only presentation state exposed to custom liveness widgets.
- LivenessMessages
- User-facing text shown during a liveness session.
- LivenessResult
- The latest state or final output of a liveness session.
- PassiveAntiSpoofSensitivity
- Sensitivity for the passive anti-spoof check.
Enums
- LivenessAction
- An active gesture that can be requested during a liveness session.
- LivenessCameraShape
- Shapes supported by the built-in camera guide.
- LivenessStatus
- Current stage of the active liveness challenge.
- LivenessValidation
- Liveness checks that can be enabled for a verification session.
Extensions
- LivenessStatusX on LivenessStatus
- Convenience properties for LivenessStatus.
Typedefs
- LivenessHeaderBuilder = Widget Function(BuildContext context, LivenessEdgeViewState state)
- Builds optional content above the camera guide.
- LivenessRetryButtonBuilder = Widget Function(BuildContext context, String label, VoidCallback onPressed)
- Builds the retry action shown after a failed attempt or screen error.
Exceptions / Errors
- LivenessEdgeException
- An error reported while initializing or running the native detector.