localization/strings.g library
Generated file. Do not edit.
Locales: 2 Strings: 4 (2 per locale)
Built on 2022-12-07 at 13:17 UTC
Classes
- AppLocaleUtils
- Provides utility functions without any side effects.
-
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.
-
BaseAppLocaleUtils<
E extends BaseAppLocale< E, T> , T extends BaseTranslations<E, T> > - Provides utility functions without any side effects.
-
BaseFlutterLocaleSettings<
E extends BaseAppLocale< E, T> , T extends BaseTranslations<E, T> > - Similar to BaseLocaleSettings but actually implements the updateProviderState method.
-
BaseLocaleSettings<
E extends BaseAppLocale< E, T> , T extends BaseTranslations<E, T> > -
BaseTranslationProvider<
E extends BaseAppLocale< E, T> , T extends BaseTranslations<E, T> > -
BaseTranslations<
E extends BaseAppLocale< E, T> , T extends BaseTranslations<E, T> > - Root translation class of ONE locale Entry point for every translation
- FakeAppLocale
- FakeTranslations
-
InheritedLocaleData<
E extends BaseAppLocale< E, T> , T extends BaseTranslations<E, T> > - LocaleSettings
- Manages all translation instances and the current locale
- PluralResolvers
- Default plural resolvers
- RichPluralResolvers
- Rich plural resolvers
- StringsEn
- StringsRu
-
TranslationMetadata<
E extends BaseAppLocale< E, T> , T extends BaseTranslations<E, T> > - Metadata instance hold by the root translation class.
- TranslationOverridesFlutter
- TranslationProvider
- The provider for method B
- Translations
- Method B: Advanced
Enums
- AppLocale
- Supported locales, see extension methods below.
Extensions
-
AppLocaleUtilsExt
on BaseAppLocaleUtils<
E, T> - BuildContextTranslationsExtension on BuildContext
- Method B shorthand via BuildContext extension method. Configurable via 'translate_var'.
-
ExtAppLocale
on BaseAppLocale<
BaseAppLocale, BaseTranslations> -
ExtAppLocaleUtils
on BaseAppLocaleUtils<
E, T> -
ExtBaseLocaleSettings
on BaseFlutterLocaleSettings<
E, T> -
LocaleSettingsExt
on BaseLocaleSettings<
E, T>
Typedefs
- InlineSpanBuilder = InlineSpan Function(String)
- PluralResolver = String Function(num n, {String? few, String? many, String? one, String? other, String? two, String? zero})
-
Selects the correct string depending on
n -
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.