utils/locale_utils library
Functions
-
isEnglishLocale(
dynamic context) → bool - Checks if the current locale is English.
-
isGermanLocale(
dynamic context) → bool - Utility functions for handling locale-related operations.
-
localizedValue<
T> (dynamic context, {required T de, required T en}) → T - Returns the appropriate localized value based on current locale.