Flutter SDK
Didit Flutter SDK for identity verification
One Dart package for iOS and Android, with native screens for document capture, liveness and NFC.
flutter pub add didit_sdk
Pick the Right Didit SDK: Web, iOS, Android, Flutter & React Native · 3 min · YouTube
Install
Install
Add the package from pub.dev.
flutter pub add didit_sdkPick exactly one package
| Package | Automatic capture | NFC | Minimum iOS |
|---|---|---|---|
Default didit_sdk | Yes | Yes | iOS 15.0 |
didit_sdk_core | No | No | iOS 13.0 |
didit_sdk_autodetection | Yes | No | iOS 13.0 |
didit_sdk_nfc | No | Yes | iOS 15.0 |
NFC means reading the chip in a passport or ID card with the phone. Every package has the same Dart API. Import from the one you chose. The Android SDK resolves on its own, with no Maven setup.
Start
Start a verification
Pass the session token from your server and handle three results.
Three results
VerificationCompletedThe user finished. Read session.status.VerificationCancelledThe user closed the flow.VerificationFailedSomething went wrong. Show error.message.startVerification returns a future. The SDK returns the status only. The full decision reaches your server by webhook.
import 'package:didit_sdk/sdk_flutter.dart';// Start verification with a session token from your backendfinal result = await DiditSdk.startVerification('your-session-token');switch (result) { case VerificationCompleted(:final session): if (session.status == VerificationStatus.approved) { print('Identity verified!'); } case VerificationCancelled(): print('User cancelled'); case VerificationFailed(:final error): print('Error: ${error.message}');}
Requirements
What you need
Six things to check before you ship.
diditSdkAndroidNfcEnabled=false to build Android without it.NSCameraUsageDescription, NSMicrophoneUsageDescription and NSPhotoLibraryUsageDescription. Add NFCReaderUsageDescription for NFC.Questions
Questions about the Flutter SDK
Which Flutter versions does the SDK support?
Does the Flutter SDK read NFC chips?
Does my API key go in the app?
Does one package cover iOS and Android?
How do I install the Didit Flutter SDK?
Why does pod install fail for the Flutter SDK on iOS?
How do I build the Flutter app for Android without NFC?
Which permissions does the Flutter SDK need?
What can I pass to startVerificationWithWorkflow?
How do I handle the Flutter SDK result and errors?
Can I test the Flutter SDK without real users or charges?
Compliance built in
Audited, certified and attested.
We hold the certifications and build each country's rules into your flows, so you can launch anywhere without worrying. Security and Compliance center
- Regulation encoded into your flows
Tell us what you do and where. Didit lists the rules that apply to you, with sources, and builds the checks each country needs into one workflow.
- Ready for AMLR
Every requirement of the new EU anti-money laundering rules, from checking customers to human review, is already covered by a Didit check.
- Trusted by EU regulators
After a year of supervised testing, EU financial regulators confirmed that verifying with Didit is safer than checking an ID in person.
- Audited, not self-declared
iBeta Level 1 and Level 2. Liveness tested under ISO/IEC 30107-3.
Your obligations · 3 regions
SOC 2 Type 2
ISO 27001
iBeta Level 1 and Level 2
EU regulator attestation
FSM youth protection
GDPR
EBA remote onboarding
MiCA compatible
FIDO Alliance member
- AMLREU AML Regulation ready
Integration · Didit MCP
Run Didit from your own AI agent
Connect Didit to Claude, Cursor, VS Code or ChatGPT and just ask in plain words. Your agent can do anything you can do in the console, with the same permissions you have.
- Build workflowsDescribe the checks you need. The agent creates and publishes the flow.
- Run investigationsAsk why a session was declined, review cases, search people and companies.
- Change rulesCreate payment rules, test them on past data and switch them on.
- Pull reportsAsk for numbers, exports or the audit log.
Didit Academy
Learn Didit, one short video at a time
Start
Add the package
Create an account, get your sandbox key and add the package.
Free sandbox. Credit applies to work-email sign-ups.