Skip to main content
The Flutter package idto_flutter pushes a full-screen route that runs the idto verification flow, reports each step to your callbacks, and returns a typed result when the user is done.
Bank account entry screen

The bank account step.

Requirements

You also need a client_id and client_secret (kept on your server), a workflowTemplateId, and a backend route that mints a client token. See Authentication.

Install

Or run flutter pub add idto_flutter.

Permissions

The app declares and requests camera and microphone access. Without the runtime grant on Android, the camera step shows a black screen and no prompt. iOS, in ios/Runner/Info.plist:
Android, in android/app/src/main/AndroidManifest.xml inside <manifest>:
Then request both before you open the flow, for example with permission_handler (the SDK does not bundle it):

Quick start

1

Mint a client token on your server

Your server calls POST /auth/sdk/token with client_id and client_secret and returns only access_token to the app. Recipes: Node, Python, Go.
2

Open the flow

IDto.open resolves when the user closes the flow, abandons it, or it fails to start. After the last step, onWorkflowComplete fires and the completion screen stays up until the user closes it; the result then has status IDtoStatus.completed. A second IDto.open while one is running throws StateError.
3

Confirm the result on your server

Callbacks drive your UI only. Confirm the session from your server with the session result recipe or a signed webhook before you grant access.
Bank account verified screen

The bank account result.

IDto.open parameters

The returned IDtoResult has status (completed, closed, abandoned or error), sessionToken, accumulatedData and, on failure, error.

Configuration

IDtoConfig(clientToken:, workflowTemplateId:) is required. Every other field is optional.

Callback payloads

See it run

Was this page helpful? Email us at tech@idto.ai with the page link.
Last modified on October 4, 2026