locale_helpers library

Functions

isGermanLocale(BuildContext context) → bool
Whether the current locale is German, whatever its country (de, de_AT, de_CH).
localizedValue<T>(BuildContext context, {required T de, required T en}) → T
de under a German locale, else en.