setFallbackLocale method
Sets the fallback locale for translations.
This locale is used when a translation is not found in the current locale. Set to null to disable fallback.
Usage:
localizations.setFallbackLocale(const Locale('en'));
Implementation
void setFallbackLocale(Locale? locale) {
_fallbackLocale = locale;
}