# Auth translations

Canonical page: https://docs.ovok.com/flutter-sdk/reference/ovok_flutter/auth-translations

{/* Generated by scripts/generate_reference.dart; do not edit. */}

## AuthTranslations [#authtranslations]

```dart
class AuthTranslations
```

Default English labels for the authentication widgets.

Pass a new [`AuthTranslations`](#authtranslations) to a widget to replace labels for another
language or product tone.

### Constructors [#constructors]

#### AuthTranslations.new [#authtranslationsnew]

```dart
AuthTranslations([Map<String, String> values = defaultAuthTranslationValues])
```

Creates translations, using the default English values when omitted.

| Parameter | Type | Kind | Default |
| ------ | ------ | ------ | ------ |
| `values` | `Map<String, String>` | optional positional | `defaultAuthTranslationValues` |

### Properties [#properties]

#### AuthTranslations.values [#authtranslationsvalues]

```dart
final Map<String, String> values
```

The labels keyed by their module and purpose.

### Methods [#methods]

#### AuthTranslations.text [#authtranslationstext]

```dart
String text(String key)
```

Returns a translation or the key when no value is available.

| Parameter | Type | Kind | Default |
| ------ | ------ | ------ | ------ |
| `key` | `String` | positional |  |

Returns `String`.


## defaultAuthTranslationValues [#defaultauthtranslationvalues]

```dart
Map<String, String> get defaultAuthTranslationValues
```


## defaultAuthTranslations [#defaultauthtranslations]

```dart
AuthTranslations get defaultAuthTranslations
```
