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

## Theme methods

| Method | Description |
|---|---|
| `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[Color value types]
Supported color types are **hexadecimal String** (e.g. `"#FF0000"`) or a native `Color` instance from the underlying Android/iOS SDK.
:::

:::warning[Cancel button color (Android-only)]
The customization of `colorCancelButtonIcon` is not exposed via the Dart theme API — it must be added in the Android `colors.xml` resource file:

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

## Locale

| Method | Type | Description |
|---|---|---|
| `setLocale(LocaleTypes locale)` | `LocaleTypes` | Sets the capture screen language |

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