api/locale library

Classes

BaseAppLocale<E extends BaseAppLocale<E, T>, T extends BaseTranslations<E, T>>
Similar to flutter locale but available without any flutter dependencies. Subclasses will be enums.
BaseTranslations<E extends BaseAppLocale<E, T>, T extends BaseTranslations<E, T>>
Root translation class of ONE locale Entry point for every translation
FakeAppLocale
FakeTranslations
TranslationMetadata<E extends BaseAppLocale<E, T>, T extends BaseTranslations<E, T>>
Metadata instance hold by the root translation class.

Typedefs

TranslationBuilder<E extends BaseAppLocale<E, T>, T extends BaseTranslations<E, T>> = T Function({PluralResolver? cardinalResolver, PluralResolver? ordinalResolver, Map<String, Node>? overrides})
Returns a new translation instance.