Flutter Customization

Customize Language

It is possible to configure the experience of the informational messages in the capture frames by changing their language. Use the enumerated type LocaleTypes, which contains the following values:

  • LocaleTypes.PT_BR: for Portuguese(Brazil);

  • LocaleTypes.ES_MX: for Spanish(Mexico);

  • LocaleTypes.ES_ES: for Spanish(Spain);

  • LocaleTypes.EN_US: for English(USA).

See how to implement it in the example below:

unicoCheck.setLocale(LocaleTypes.EN_US);
  • A remote activation may be required to use it. If you wish to use it, please notify your project manager or Unico support.

  • If it is not configured, by default, the SDK uses Portuguese as the primary language.

Customize Capture Experience

This is an optional step, but highly recommended to ensure that the capture process aligns with your company's visual identity.

It is possible to customize some objects of the frame according to the camera mode used, through the setTheme() method.

All the methods are available below:

Method

getColorBackground()

getColorBoxMessage()

getColorTextMessage()

getColorIconTakePictureButton()

getColorBackgroundBottomDocument()

getColorTextBottomDocument()

<resources>
    <color name="unico_color_button_cancel">YOUR COLOR</color>
</resources>

Last updated

Was this helpful?