> ## Documentation Index
> Fetch the complete documentation index at: https://jdev-e8db0569.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Introduction

> Flutter plugin for the SEON Orchestration SDK, providing identity verification flows for iOS and Android.

# seon\_orchestration\_flutter

Flutter plugin for the [SEON Orchestration SDK](https://seon.io), providing identity verification flows for iOS and Android. Built using Flutter's MethodChannel for seamless communication between Dart and native code.

## Features

* **Cross-platform** — Works on both iOS and Android with a single Dart API
* **MethodChannel** — Uses Flutter's standard platform channel mechanism
* **Typed API** — Full Dart class and enum definitions included

## Platform Requirements

| Platform | Minimum Version       |
| -------- | --------------------- |
| iOS      | 13.0+                 |
| Android  | SDK 26+ (Android 8.0) |
| Flutter  | 3.x                   |

## API Overview

| Method                                  | Description                                                               |
| --------------------------------------- | ------------------------------------------------------------------------- |
| `SeonOrchestration.initialize(config)`  | Initialize the SEON SDK with base URL, token, and optional language/theme |
| `SeonOrchestration.startVerification()` | Present the verification UI and return the result                         |
| `SeonOrchestration.dispose()`           | Release SDK resources and reset state                                     |

| Type                     | Description                                |
| ------------------------ | ------------------------------------------ |
| `SeonConfig`             | Configuration class for `initialize()`     |
| `SeonVerificationResult` | Result object from `startVerification()`   |
| `SeonVerificationStatus` | Enum of all possible verification outcomes |
| `SeonErrorCode`          | Enum of error codes thrown by the SDK      |
| `SeonException`          | Exception class thrown on SDK errors       |

## Quick Example

```dart theme={null}
import 'package:seon_orchestration_flutter/seon_orchestration_flutter.dart';

// 1. Initialize the SDK
await SeonOrchestration.initialize(const SeonConfig(
  baseUrl: 'https://your-api-endpoint.com',
  token: 'your-auth-token',
  language: 'en',
));

// 2. Start the verification flow
final result = await SeonOrchestration.startVerification();

switch (result.status) {
  case SeonVerificationStatus.completedSuccess:
    print('Verification passed!');
    break;
  case SeonVerificationStatus.completedFailed:
    print('Verification failed.');
    break;
  case SeonVerificationStatus.interruptedByUser:
    print('User cancelled.');
    break;
  case SeonVerificationStatus.error:
    print('Error: ${result.errorMessage}');
    break;
  default:
    break;
}
```

<CardGroup cols={2}>
  <Card title="Installation" icon="download" href="/getting-started/installation">
    Install the plugin in your Flutter project
  </Card>

  <Card title="Quick Start" icon="rocket" href="/getting-started/quick-start">
    Build your first verification flow
  </Card>

  <Card title="API Reference" icon="code" href="/api-reference/initialize">
    Explore the full API documentation
  </Card>

  <Card title="Troubleshooting" icon="wrench" href="/troubleshooting">
    Solutions for common issues
  </Card>
</CardGroup>
