Skip to main content
Didit Raises $7.5M to Build the Infrastructure for Identity and Fraud
Didit
Back to blog
Blog · March 6, 2026

The Developer's Guide to Identity Verification with Didit Flutter SDK

Integrating robust identity verification into Flutter applications is crucial for security and compliance. This guide explores how the Didit Flutter SDK streamlines ID verification, liveness detection, and NFC reading, offering.

By DiditUpdated
the-developers-guide-to-identity-verification-with-didit-flutter-sdk.png

Seamless Flutter IntegrationThe Didit Flutter SDK provides a Dart API with native iOS and Android SDKs, enabling developers to quickly integrate advanced identity verification directly into their Flutter applications.

Comprehensive Verification CapabilitiesFrom ID Verification and Passive & Active Liveness to NFC Verification (ePassport/eID) and Face Matching, the SDK supports a wide range of essential identity checks for robust security.

Streamlined Session ManagementDevelopers can easily create and manage verification sessions, either initiated from their backend with a session token or by leveraging Didit's hosted verification links for a no-code frontend approach.

Didit's Developer-First AdvantageDidit offers a modular, AI-native platform with Free Core KYC, no setup fees, and clean APIs, making it the premier choice for building scalable and secure identity solutions in Flutter.

Why Identity Verification is Critical for Flutter Apps

In today's digital economy, mobile applications are at the forefront of user interaction, from banking and e-commerce to social media and gaming. For Flutter developers, ensuring the authenticity of users is not just a best practice; it's a necessity for security, fraud prevention, and regulatory compliance. Without robust identity verification, apps are vulnerable to account takeovers, synthetic identity fraud, and underage access, leading to significant financial losses and reputational damage.

Traditional identity verification methods can be cumbersome to integrate, often requiring extensive backend development and maintenance. This is where a specialized SDK like Didit's Flutter SDK becomes invaluable, abstracting away much of the complexity and providing a streamlined path to secure and compliant applications. Whether you're building a fintech app requiring stringent KYC (Know Your Customer) checks or an age-restricted platform, integrating a reliable identity verification solution is paramount.

Getting Started with the Didit Flutter SDK

Integrating Didit's powerful identity verification into your Flutter application is designed to be straightforward and developer-friendly. The Didit Flutter SDK provides a Dart API that wraps native iOS and Android SDKs, ensuring optimal performance and access to device-specific features like NFC reading. Here’s a high-level overview of the process:

Installation and Setup

The first step is to add the Didit SDK to your Flutter project. This involves adding the dependency via flutter pub add didit_sdk and then configuring platform-specific requirements for iOS and Android. For iOS, this includes adding a Podspec reference to your Podfile, especially for advanced features like NFC Verification which requires iOS 15+. Android setup involves minor adjustments to your build.gradle.kts for resource packaging.

Once installed, you'll need to obtain your API Key and Workflow ID from the Didit Business Console. These credentials are essential for authenticating requests and defining the specific verification steps your users will undergo, such as ID Verification, Passive & Active Liveness checks, or AML Screening.

Creating Verification Sessions

The core of the Didit integration revolves around creating verification sessions. This typically happens on your backend to protect your API key. Your server makes a POST request to Didit's session API endpoint, including your workflow_id and optional vendor_data (like a user ID) for tracking. Didit responds with a session_id and a session_token. This session_token is then securely passed to your Flutter app.

import 'package:didit_sdk/sdk_flutter.dart';

// Assuming you receive a sessionToken from your backend
String sessionToken = 'your_backend_provided_session_token';

DiditSDK.startVerification(sessionToken: sessionToken, onCompletion: (result) {
  // Handle verification result
  print('Verification completed: ${result.status}');
  print('Session ID: ${result.sessionId}');
  // Navigate user or update UI based on result
}, onError: (error) {
  // Handle errors
  print('Verification error: ${error.message}');
});

This approach gives you full control over the user experience within your app, launching Didit's native UI components for document capture, liveness checks, and other steps. For scenarios where a full in-app flow isn't desired or feasible, Didit also supports Verification Links. These are secure URLs that direct users to a Didit-hosted verification flow, requiring minimal to no frontend development on your part. You can generate these links via the Didit Console or API and share them with users via email, SMS, or within your app.

Advanced Features and Best Practices

The Didit Flutter SDK isn't just about basic ID checks; it offers a suite of advanced features to enhance security and user experience. For instance, NFC Verification allows your app to read cryptographic data directly from ePassports and eIDs, providing the highest level of assurance for identity documents. This is a critical feature for high-security applications, ensuring the document's authenticity and preventing sophisticated forgery attempts.

Another powerful feature is Passive & Active Liveness detection, which combats deepfakes and presentation attacks by verifying that the user is a real, living person. Combined with 1:1 Face Match, which compares a user's selfie to their ID document photo, you can significantly reduce the risk of impersonation and fraud.

When designing your verification workflow in the Didit Console, consider using features like Age Estimation for age-restricted content or AML Screening for financial services to meet regulatory obligations. Didit's modular architecture allows you to compose these checks into tailored workflows that fit your specific needs, adapting to different risk profiles and compliance requirements.

How Didit Helps

Didit provides an AI-native, developer-first identity platform that simplifies the integration of complex identity verification processes into Flutter applications. Our Flutter SDK is a testament to this commitment, offering a robust, easy-to-implement solution for developers. Didit stands out with its:

  • Free Core KYC: Get started with essential identity verification features without upfront costs.
  • Modular Architecture: Our platform is built with composable identity primitives, allowing you to pick and choose the exact verification checks you need, from ID Verification and Liveness Detection to NFC Verification and AML Screening.
  • AI-Native Technology: Leverage cutting-edge AI for superior accuracy in document analysis, fraud detection, and biometric matching, ensuring reliable results and a smooth user experience.
  • No Setup Fees: We believe in transparent and fair pricing, allowing you to scale your verification efforts without hidden costs.

By using Didit, Flutter developers can focus on building amazing user experiences, confident that the underlying identity verification is handled by a world-class, secure, and compliant platform.

Ready to Get Started?

Ready to see Didit in action? Get a free demo today.

Start verifying identities for free with Didit's free tier.

Infrastructure for identity and fraud.

One API for KYC, KYB, Transaction Monitoring, and Wallet Screening. Integrate in 5 minutes.

Ask an AI to summarise this page
Flutter Identity Verification with Didit SDK Guide.