Drop-in face age verification for Flutter. Any model. Any platform. Compliant by default.
| Package | Description | pub.dev |
|---|---|---|
| face_gate | Core interfaces, widgets, and API | - |
| face_gate_tflite | TensorFlow Lite provider (Android, Linux) | - |
| face_gate_coreml | CoreML provider (iOS, macOS) | - |
| face_gate_onnx | ONNX Runtime provider (all platforms) | - |
| face_gate_mlkit | Google ML Kit provider (Android, iOS) | - |
| face_gate_cloud | FaceGate Cloud provider (all platforms) | - |
| face_gate_id_cloud | FaceGate Cloud ID verification | - |
import 'package:face_gate/face_gate.dart';
// Face-only age verification
AgeGateWidget(
minimumAge: 18,
onVerified: (result) => print('Age verified: ${result.estimatedAge}'),
onDenied: (result) => print('Denied'),
)
// ID + Face verification (premium)
AgeGateWidget(
minimumAge: 21,
mode: VerificationMode.idAndFace,
idProvider: FaceGateCloudIDProvider(config: FaceGateApiConfig(apiKey: 'your_key')),
onVerified: (result) => print('Verified!'),
onDenied: (result) => print('Denied'),
)Provider-agnostic: swap models with one line.
AgeGateWidget / FaceGateAPI
|
AgeEstimationProvider (abstract) IDVerificationProvider (abstract)
| |
TFLite | CoreML | ONNX | Cloud Cloud | ML Kit
MIT