---
title: Customization
canonical: https://developer.unico.io/dual-api/developers/sdks-and-tools/flutter/customization
locale: en
generated_by: markdown-export
---

:::warning[Capture flow availability]
These customizations are only available when the capture flow is **`document-capture`** or **`liveness`**.
:::

The Flutter SDK supports two dimensions of customization (inherited from the underlying native SDKs): language and colors.

## Language

Configure the language of informational messages in the capture frames via the `setLocale` method. Use the `LocaleTypes` enum:

- `LocaleTypes.PT_BR` — Portuguese (Brazil)
- `LocaleTypes.ES_MX` — Spanish (Mexico)
- `LocaleTypes.ES_ES` — Spanish (Spain)
- `LocaleTypes.EN_US` — English (USA)

```dart
unicoCheck.setLocale(LocaleTypes.EN_US);
```

:::info
- A remote activation may be required to use this feature. If you wish to use it, notify your project manager or Unico support.
- If not configured, the SDK uses Portuguese as the default language.
:::

Refer to [API Reference > Enums](/developers/sdks-and-tools/flutter/api-reference/enums) for the full list of supported `LocaleTypes` values.

## Colors

Apply a custom theme by configuring the supported methods. Color values can be passed as a **hexadecimal String** (e.g. `"#FF0000"`) or a Flutter `Color` instance (e.g. `Color(0xFFFF0000)`).

| Method | What it customizes |
|---|---|
| `getColorBackground()` | Background color of the silhouette |
| `getColorBoxMessage()` | Background color of the message box |
| `getColorTextMessage()` | Text color inside the message box |
| `getColorIconTakePictureButton()` | Icon color of the manual photo capture button |
| `getColorBackgroundBottomDocument()` | Background color of the document capture box |
| `getColorTextBottomDocument()` | Text color of the document capture box |

:::warning[Cancel button color (Android)]
In the Android implementation, the customization of `colorCancelButtonIcon` should be done by adding the desired color in the Android `colors.xml` resource file:

```xml
<resources>
  <color name="unico_color_button_cancel">YOUR COLOR</color>
</resources>
```
:::

:::warning[Customization scope]
No other customization dimensions are available — the underlying native SDKs do not expose them, so the Flutter plugin cannot either. If you need a proprietary UI, refer to the [Capture Standard](/developers/sdks-and-tools/capture-standard) option (headless API integration).
:::