> For the complete documentation index, see [llms.txt](https://legacy-docs.usesmileid.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://legacy-docs.usesmileid.com/integration-options/mobile/flutter.md).

# Flutter (deprecated)

{% hint style="danger" %}
This SDK is deprecated and will receive limited support. Please adopt the v10 SDK: [https://github.com/smileidentity/docs/blob/main/mobile/flutter/broken-reference/README.md](https://github.com/smileidentity/docs/blob/main/mobile/flutter/broken-reference/README.md "mention")
{% endhint %}

{% hint style="info" %}
For flutter 3 please check <https://pub.dev/packages/smile_flutter_3>

The major difference is in importing as

```
import 'package:smile_flutter_3/smile_flutter_3.dart';
```

This documentation is valid for flutter 3 as well
{% endhint %}

### Prerequisites

1. Before attempting integration head over to the [Smile ID Portal](https://portal.usesmileid.com/) and sign up for an account
2. On the Smile ID Portal download a config file from [here](https://portal.usesmileid.com/sdk) **(DO NOT SHARE THIS FILE WITH ANYONE OUTSIDE YOUR ORGANISATION)** You can download your [Smile ID config file](https://portal.usesmileid.com/sdk) again at any time and do not edit the contents of this file.

## Main Mobile SDK Components

Regardless of which integration method you choose the SDK has the below mentioned main components, everything else stems from these main components

### SmartSelfie

This is our signature selfie capture component that is optimised for our backend processing of images, it's the best option for capturing images which produce the best results. This has a range of image checks like light checks, blur detection etc which are all effective in capturing the best images for the final processing on the backend.

### Document Capture

This is a view which is best at capturing images for documents and will perform a range of checks like face detection, light checks and blur detection to make sure we have the best images for the final backend processing

### Job Submission

This is a network layer related functionality which is responsible for all captured on device information to the Smile ID Backend for processing. This also will deliver results to your integration method as returned by the Smile ID Backend.

1\*\*. INSTALLATION\*\*

[**https://pub.dev/packages/smile\_flutter**](https://pub.dev/packages/smile_flutter)

To use this plugin, add **smile\_flutter** as a [dependency in your pubspec.yaml file](https://flutter.io/platform-plugins/). You must also configure Smile ID SDK for each platform project:


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://legacy-docs.usesmileid.com/integration-options/mobile/flutter.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
